DecryptedPacket

case class DecryptedPacket(payload: ByteVector, nextPacket: OnionRoutingPacket, sharedSecret: ByteVector32)

Decrypting an onion packet yields a payload for the current node and the encrypted packet for the next node.

Value parameters:
nextPacket

packet for the next node.

payload

decrypted payload for this node.

sharedSecret

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

Source:
Sphinx.scala
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

Inherited from:
Product

Concrete fields