rust-lightning icon indicating copy to clipboard operation
rust-lightning copied to clipboard

Compact blinded path creation

Open jkczyz opened this issue 10 months ago • 4 comments

Add support for creating a compact BlindedPath, which consists of:

  • using an SCID instead of a node id in BlindedHop::encrypted_payload
  • using IntroductionNode::DirectedShortChannelId

The first is accomplished by specifying SCIDs when calling BlindedPath::new_for_message using a new message::ForwardNode struct. The second is through calling BlindedPath::use_compact_introduction_node. Both are called by DefaultMessageRouter.

jkczyz avatar Apr 22 '24 19:04 jkczyz