rust-lightning/lightning
Jeffrey Czyz 9f1ffab24c
Look up node id from scid in OnionMessenger
When forwarding onion messages, the next node may be represented by a
short channel id instead of a node id. Parameterize OnionMessenger with
a NodeIdLookUp trait to find which node is the next hop. Implement the
trait for ChannelManager for forwarding to channel counterparties.

Also use this trait when advancing a blinded path one hop when the
sender is the introduction node.
2024-04-15 10:58:30 -05:00
..
src Look up node id from scid in OnionMessenger 2024-04-15 10:58:30 -05:00
Cargo.toml Drop ahash dependency in favor of core's SipHasher 2024-02-16 20:34:41 +00:00