]> git.bitcoin.ninja Git - rust-lightning/commit
Add BlindedPath::introduction_node_id method
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 20 Mar 2024 21:42:30 +0000 (16:42 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 11 Apr 2024 00:11:20 +0000 (19:11 -0500)
commit63ebaccca3c284c28f24537c2c0c034f9cc9c3c4
tree354b24c88963d2a1b639253dc4515387a6bfdc28
parentb783736356d17704852ea121a325b2978884ad9a
Add BlindedPath::introduction_node_id method

Blinded paths use a pubkey to identify the introduction node, but it
will soon allow using a directed short channel id instead. Add an
introduction_node_id method to BlindedPath to facilitate lookup in the
latter case.
lightning/src/blinded_path/mod.rs
lightning/src/routing/router.rs