rust-lightning/lightning
Alec Chen ff344b4c2c Fail HTLC backwards before upstream claims on-chain
Fail inbound HTLCs if they expire within a certain number of blocks from
the current height. If we haven't seen the preimage for an HTLC by the
time the previous hop's timeout expires, we've lost that HTLC, so we
might as well fail it back instead of having our counterparty
force-close the channel.

Co-authored-by: Matt Corallo <git@bluematt.me>
2025-01-22 15:09:42 +00:00
..
src Fail HTLC backwards before upstream claims on-chain 2025-01-22 15:09:42 +00:00
Cargo.toml Drop log-limiting features 2024-12-03 17:26:49 +01:00