Absolute expiry or timer tick payment expiration
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 19 Oct 2023 19:38:16 +0000 (14:38 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 20 Oct 2023 14:49:56 +0000 (09:49 -0500)
commit34bdf224891dfc42b50e09e29f40e0633b2aba25
tree6c858401d126b3199eefcdfa42955e8d7378cc74
parentddfeb3f642c7d3f0e4a627dcf552e2a1c2b1e04a
Absolute expiry or timer tick payment expiration

Pending outbound payments use an absolute expiry to determine when they
are considered stale and should be fail. In `no-std`, this may result in
long timeouts as the highest seen block time is used. Instead, allow for
expiration based on timer ticks. This will be use in an upcoming commit
for invoice request expiration.
lightning/src/ln/channelmanager.rs
lightning/src/ln/outbound_payment.rs