Decrypted Packet
data class DecryptedPacket(payload: ByteVector, nextPacket: OnionRoutingPacket, sharedSecret: ByteVector32)
Content copied to clipboard
Decrypting an onion packet yields a payload for the current node and the encrypted packet for the next node.
Parameters
payload
decrypted payload for this node.
next Packet
packet for the next node.
shared Secret
shared secret for the sending node, which we will need to return failure messages.
Constructors
DecryptedPacket
Link copied to clipboard
fun DecryptedPacket(payload: ByteVector, nextPacket: OnionRoutingPacket, sharedSecret: ByteVector32)
Content copied to clipboard
Properties
isLastPacket
Link copied to clipboard
nextPacket
Link copied to clipboard
sharedSecret
Link copied to clipboard