]> git.bitcoin.ninja Git - rust-lightning/commit
Expand `create_blinded_path` Functionality for Enhanced Path Diversification
authorshaavan <shaavan.github@gmail.com>
Mon, 10 Jun 2024 13:45:19 +0000 (19:15 +0530)
committershaavan <shaavan.github@gmail.com>
Thu, 11 Jul 2024 13:42:34 +0000 (19:12 +0530)
commitafabf7bc4412ce645c9010652438913d897f85d1
treeb85aff0f4ac823f46964f3db090b100ab4128f38
parent78c0eaae55904ea0374bf2809e4cbe42b42f81b0
Expand `create_blinded_path` Functionality for Enhanced Path Diversification

- Previously, the `create_blinded_path` function was limited to
  returning a single `BlindedPath`, which restricted the usage of
  `blinded_paths`.
- This commit extends the `create_blinded_path` function to return
  the entire blinded path vector generated by the `MessageRouter`'s
  `create_blinded_paths`.
- The updated functionality is integrated across the codebase, enabling
  the sending of Offers Response messages, such as `InvoiceRequest`
  (in `pay_for_offer`) and `Invoice` (in `request_refund_payment`),
  utilizing multiple reply paths.
lightning/src/ln/channelmanager.rs