rgb-cln/tests
Rusty Russell 8f33f46960 closingd: use a more accurate fee for closing fee negotiation.
We were actually using the last commit tx's size, since we were
setting it in lightningd.  Instead, hand the min and desired feerates
to closingd, and (as it knows the weight of the closing tx), and have
it start negotiation from there.

This can be significantly less when anchor outputs are enabled: for
example in test_closing.py, the commit tx weight is 1124 Sipa, the
close is 672 Sipa!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Changed: Protocol: Use a more accurate fee for mutual close negotiation.
2021-06-30 14:12:24 +09:30
..
data inflights: save the whole psbt to the database 2021-05-24 12:17:48 +09:30
fuzz common/bech32: update to bech32m reference. 2021-06-11 13:54:20 +09:30
plugins pytest: Add test for keysend extra-tlvs 2021-06-26 10:55:13 +09:30
vectors pytest: Add tests for the sphinx onion generation and processing 2020-03-12 10:25:01 +10:30
benchmark.py py-tests: rename 'announce' to 'wait_for_announce' 2018-12-08 15:15:55 -08:00
conftest.py tests: add marker for v1/v2 channel opens 2021-05-12 11:25:41 +09:30
db.py pytest: Have the DB provider search for the postgres binary 2019-09-22 02:03:43 +00:00
fixtures.py pytest: add schema support for JSON responses. 2021-05-27 20:28:49 +09:30
test_closing.py closingd: use a more accurate fee for closing fee negotiation. 2021-06-30 14:12:24 +09:30
test_connection.py openingd: tell lightningd if we get a reestablish. 2021-06-25 13:23:28 +09:30
test_db.py inflights: save the whole psbt to the database 2021-05-24 12:17:48 +09:30
test_gossip.py common: Check chain hash in gossip_timestamp_filter 2021-05-26 10:43:50 +09:30
test_invoices.py invoice: allow creation of giant invoices. 2021-06-20 14:25:40 +09:30
test_misc.py pytest: fix flake in test_misc.py::test_funding_reorg_* xxremote_lags 2021-06-15 06:36:36 +09:30
test_onion.py pytest: Actually make sure that the direcory exists 2020-03-24 09:52:33 +10:30
test_opening.py pytest: speed up test_opening.py::test_funder_contribution_limits when !DEVELOPER 2021-06-05 09:47:50 +09:30
test_pay.py pytest: Add test for keysend extra-tlvs 2021-06-26 10:55:13 +09:30
test_plugin.py closingd: use a more accurate fee for closing fee negotiation. 2021-06-30 14:12:24 +09:30
test_wallet.py listtransactions: don't create a msat field called "satoshis". 2021-06-25 09:49:33 +09:30
utils.py closingd: use a more accurate fee for closing fee negotiation. 2021-06-30 14:12:24 +09:30