]> git.bitcoin.ninja Git - rust-lightning/commit
Persist whether an HTLC is blinded in HTLCPreviousHopData.
authorValentine Wallace <vwallace@protonmail.com>
Thu, 26 Oct 2023 21:35:22 +0000 (17:35 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Wed, 29 Nov 2023 22:18:39 +0000 (17:18 -0500)
commitae15ba84620f40ed5c80870d254d5eda341f1aba
tree6c2a3a26fe13cb58ef5aa5b715d071d8faa4de33
parentb64523780b2f08f8cea7f29b660841310dba7a70
Persist whether an HTLC is blinded in HTLCPreviousHopData.

Useful so we know to fail blinded intro node HTLCs back with an
invalid_onion_blinding error per BOLT 4.

Another variant will be added to the new Blinded enum when we support
receiving/forwarding as a non-intro node.
lightning/src/ln/channelmanager.rs