]> git.bitcoin.ninja Git - rust-lightning/commit
Allow create_blinded_paths Function to Take Recipient TLVs as a Field
authorshaavan <shaavan.github@gmail.com>
Sat, 15 Jun 2024 13:52:56 +0000 (19:22 +0530)
committershaavan <shaavan.github@gmail.com>
Tue, 25 Jun 2024 07:47:59 +0000 (13:17 +0530)
commit30ab552096ebe557ff395b8d5efa143dc37f1c3a
tree0e5a88c7e2b39dbcce6576b3211ee21f964a9139
parent8acd90c852fba5c49436d3fae0e4091b6dbd3323
Allow create_blinded_paths Function to Take Recipient TLVs as a Field

- Enabled `create_blinded_paths` to accept `RecipientData` TLVs as
  an input field.
- `RecipientData` is intended to be sent along with the `reply_path`
   to the counterparty.
- Added `RecipientData` in the `create_blinded_paths` flow, optionally
  appending it within the `reply_path`.
- Updated tests to verify the new feature.
13 files changed:
fuzz/src/chanmon_consistency.rs
fuzz/src/full_stack.rs
fuzz/src/invoice_request_deser.rs
fuzz/src/onion_message.rs
fuzz/src/refund_deser.rs
lightning/src/blinded_path/message.rs
lightning/src/blinded_path/mod.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/offers_tests.rs
lightning/src/onion_message/functional_tests.rs
lightning/src/onion_message/messenger.rs
lightning/src/routing/router.rs
lightning/src/util/test_utils.rs