DotNetLightning


PacketAndSecrets Type

Record fields

Record Field Description

Packet

Full Usage: Packet

Field type: OnionPacket
Field type: OnionPacket

SharedSecrets

Full Usage: SharedSecrets

Field type: (Key * PubKey) list

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

Field type: (Key * PubKey) list

Static members

Static member Description

PacketAndSecrets.Create(sessionKey, pubKeys, payloads, ad)

Full Usage: PacketAndSecrets.Create(sessionKey, pubKeys, payloads, ad)

Parameters:
    sessionKey : Key
    pubKeys : PubKey list
    payloads : byte array list
    ad : byte array

Returns: PacketAndSecrets
sessionKey : Key
pubKeys : PubKey list
payloads : byte array list
ad : byte array
Returns: PacketAndSecrets