Module lightning::ln::wire

source ·
Expand description

Wire encoding/decoding for Lightning messages according to BOLT #1, and for custom message through the CustomMessageReader trait.

Traits§

  • Trait to be implemented by custom message (unrelated to the channel/gossip LN layers) decoders.
  • Defines a type identifier for sending messages over the wire.