]> git.bitcoin.ninja Git - rust-lightning/commit
Add HMAC, and nonce to OffersContext::InboundPayment
authorshaavan <shaavan.github@gmail.com>
Fri, 6 Sep 2024 12:01:13 +0000 (17:31 +0530)
committershaavan <shaavan.github@gmail.com>
Wed, 11 Sep 2024 13:24:49 +0000 (18:54 +0530)
commit8b479ac5873b1d2e11514ac7d7141892d6099946
treef01e19922feb8d2a7a67599c5eaa8be739f1c41a
parent6500277ba810471dc527f5078672a49020d9d6e9
Add HMAC, and nonce to OffersContext::InboundPayment

Introduce HMAC and nonce calculation when sending Invoice with
reply path, so that if we receive InvoiceError back for the
corresponding Invoice we can verify the payment hash before logging it.
lightning/src/blinded_path/message.rs
lightning/src/ln/channelmanager.rs