]> git.bitcoin.ninja Git - rust-lightning/commit
Add new payment type and metadata bytes
authorDuncan Dean <duncangleeddean@gmail.com>
Thu, 24 Nov 2022 20:31:16 +0000 (22:31 +0200)
committerDuncan Dean <duncangleeddean@gmail.com>
Tue, 24 Jan 2023 19:01:27 +0000 (21:01 +0200)
commit5b53670172d7415c953ca7e7fbffcd2d63f058f8
tree93defb2606a1669917fc2e3923cb1d06a7b7dfec
parent1d72e87e7829d86214f92936c8b4fdcd9fac8d50
Add new payment type and metadata bytes

Adds two new payment `Method`s for identifying payments with custom
`min_final_cltv_expiry_delta` as payments with LDK or user payment
hashes.

The `min_final_cltv_expiry_delta` value is packed into the first 2
bytes of the expiry timestamp in the payment secret metadata.
fuzz/src/chanmon_consistency.rs
fuzz/src/full_stack.rs
lightning-invoice/src/utils.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/inbound_payment.rs
lightning/src/ln/payment_tests.rs
pending_changelog/1878.txt [new file with mode: 0644]