PacketAndSecrets

case class PacketAndSecrets(packet: OnionRoutingPacket, sharedSecrets: Seq[(ByteVector32, PublicKey)])

A encrypted onion packet with all the associated shared secrets.

Value parameters:
packet

encrypted onion packet.

sharedSecrets

shared secrets (one per node in the route). Known (and needed) only if you're creating the packet. Empty if you're just forwarding the packet to the next node.

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

Value members

Inherited methods

Inherited from:
Product