DecryptedPacket

fun DecryptedPacket(payload: ByteVector, nextPacket: OnionRoutingPacket, sharedSecret: ByteVector32)

Parameters

payload

decrypted payload for this node.

nextPacket

packet for the next node.

sharedSecret

shared secret for the sending node, which we will need to return failure messages.