rust-lightning
rust-lightning copied to clipboard
Compact blinded path creation
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
.