Drop need to store pending inbound payments
authorValentine Wallace <vwallace@protonmail.com>
Tue, 30 Nov 2021 00:59:18 +0000 (19:59 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 16 Dec 2021 23:32:21 +0000 (15:32 -0800)
commit846487555556d8465c5b7b811f976e78f265c48f
tree62e48bbe723e2a8f5cb0fec3a420eb3d154f6b41
parent1d516a6fc505783ce752f0289322ce73ae10bcf4
Drop need to store pending inbound payments

and replace payment_secret with encrypted metadata

See docs on `inbound_payment::verify` for details

Also add min_value checks to all create_inbound_payment* methods
lightning-invoice/src/utils.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_tests.rs
lightning/src/util/events.rs