itest: add new RBF coop close itest

The itest has both sides try to close multiple times, each time with
increasing fee rates. We also test the reconnection case, bad RBF
updates, and instances where the local party can't actually pay for
fees.
This commit is contained in:
Olaoluwa Osuntokun
2025-02-07 18:26:52 -08:00
parent 3a18bf088c
commit 971ac5a14d
5 changed files with 218 additions and 16 deletions

View File

@@ -1979,6 +1979,7 @@ func testBumpForceCloseFee(ht *lntest.HarnessTest) {
closeTxid, err := chainhash.NewHash(pendingClose.Txid)
require.NoError(ht, err)
closingTx := ht.AssertTxInMempool(*closeTxid)
require.NotNil(ht, closingTx)
// The default commitment fee for anchor channels is capped at 2500
// sat/kw but there might be some inaccuracies because of the witness