]> git.bitcoin.ninja Git - rust-lightning/commit
Add CandidateRouteHop::Blinded and ::OneHopBlinded variant
authorValentine Wallace <vwallace@protonmail.com>
Tue, 13 Jun 2023 23:37:53 +0000 (19:37 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Mon, 19 Jun 2023 13:54:25 +0000 (09:54 -0400)
commit83442221735a0accb1149cd05350fb167341d998
tree1ced9fb7e5696c77b0376dec0e781c3ba51dda56
parentb3a27acd0e759cc9bf73ea2bf3c1345d2f15acc3
Add CandidateRouteHop::Blinded and ::OneHopBlinded variant

It's unclear what values 1-hop blinded paths should set their BlindedPayInfos
to, because those values are meant to refer to the fees/cltv delta on the path
*between* the intro node and the destination. We zero out these values in the
new variant's methods so they don't mess with path finding/construction.
lightning/src/routing/router.rs