rgb-cln/closingd
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
..
Makefile common/gossip_store: avoid fd pass for new store, use end marker. 2021-05-22 17:53:04 +09:30
closingd.c closingd: use a more accurate fee for closing fee negotiation. 2021-06-30 14:12:24 +09:30
closingd_wire.csv closingd: use a more accurate fee for closing fee negotiation. 2021-06-30 14:12:24 +09:30
closingd_wiregen.c closingd: use a more accurate fee for closing fee negotiation. 2021-06-30 14:12:24 +09:30
closingd_wiregen.h closingd: use a more accurate fee for closing fee negotiation. 2021-06-30 14:12:24 +09:30