DotNetLightning


OnionPacket Type

onion_packet described in bolt04 todo: add methods to parse OnionPayload from HopData field.

Record fields

Record Field Description

HMAC

Full Usage: HMAC

Field type: uint256
Modifiers: mutable
Field type: uint256

HopData

Full Usage: HopData

Field type: byte array
Modifiers: mutable
Field type: byte array

PublicKey

Full Usage: PublicKey

Field type: byte array
Modifiers: mutable

This might be 33 bytes of 0uy in case of last packet So we are not using PubKey to represent pubkey

Field type: byte array

Version

Full Usage: Version

Field type: uint8
Modifiers: mutable
Field type: uint8

Instance members

Instance member Description

this.IsLastPacket

Full Usage: this.IsLastPacket

Returns: bool
Returns: bool

Static members

Static member Description

OnionPacket.LastPacket

Full Usage: OnionPacket.LastPacket

Returns: OnionPacket
Returns: OnionPacket