Add a test for timeout'ing HTLCs which claim to be a part of an MPP
authorMatt Corallo <git@bluematt.me>
Thu, 19 Mar 2020 04:34:15 +0000 (00:34 -0400)
committerMatt Corallo <git@bluematt.me>
Fri, 24 Apr 2020 18:28:53 +0000 (14:28 -0400)
commitecadae9f0f424113b144dde32c43b4c30abe76b0
tree2619b4483ef536a4dd8cd5048d4a86c5cd5b9577
parentc0199224ab24cb37934bc14b5a52ab6415429308
Add a test for timeout'ing HTLCs which claim to be a part of an MPP

This is a key test for our automatic HTLC time-out logic, as it
ensures we don't allow an HTLC which indicates we should wait for
additional HTLCs before responding to cause us to force-close a
channel due to HTLC near-timeout.
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs