Add a `claim_deadline` field to `PaymentClaimable` with guarantees 2023-04-claim-from-closed
authorMatt Corallo <git@bluematt.me>
Tue, 4 Apr 2023 04:21:45 +0000 (04:21 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 6 Apr 2023 18:12:36 +0000 (18:12 +0000)
commit4a8d01dd195cf1b0c4a53ab609700e24f3a9f2a3
tree906eee377ab6773d58ef5f73229e9fcc39eba031
parentab255895eed9c4d9ed2dc400d7e0c720ea763ba8
Add a `claim_deadline` field to `PaymentClaimable` with guarantees

Now that we guarantee `claim_payment` will always succeed we have
to let the user know what the deadline is. We still fail payments
if they haven't been claimed in time, which we now expose in
`PaymentClaimable`.
lightning/src/events/mod.rs
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/payment_tests.rs