]> git.bitcoin.ninja Git - rust-lightning/commit
Add new inbound payment key for spontaneous payments
authorValentine Wallace <vwallace@protonmail.com>
Wed, 6 Nov 2024 19:58:04 +0000 (14:58 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Fri, 8 Nov 2024 15:28:53 +0000 (10:28 -0500)
commit45f88ee7f9b75850dc44a77115a95e195b2d2030
tree2c17b0dbf05ddbcba391d03a064e08bf7b43c04e
parent02316d28f178668361fa2e89cc839bf8315babc6
Add new inbound payment key for spontaneous payments

This key will be used in upcoming commits for encrypting metadata bytes for
spontaneous payments' payment secrets, to be included in the blinded paths of
static invoices for async payments. We need a new type of payment secret for
these payments because they don't have an a prior known payment hash, see the
next commit.
lightning/src/crypto/utils.rs
lightning/src/ln/inbound_payment.rs