]> git.bitcoin.ninja Git - rust-lightning/commit
Document exactly our CLTV sanitization policy for final incoming HTLCs
authorAntoine Riard <ariard@student.42.fr>
Fri, 10 Apr 2020 01:51:29 +0000 (21:51 -0400)
committerAntoine Riard <ariard@student.42.fr>
Fri, 24 Apr 2020 22:30:57 +0000 (18:30 -0400)
commitad5f72894c9fa501e3d71fee7f12f8cfdc9dd55e
tree40c2fbaa5e566c6ce306d285d2105a3ed221ef8b
parent795aff8da5b79dee1bea8234479cdf0ff5c98118
Document exactly our CLTV sanitization policy for final incoming HTLCs

We want to avoid a third-party channel closure, where a random node
by sending us a payment expiring at current height, would trigger our
onchain logic to close the channel due to a near-expiration.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/util/events.rs