rgb-cln/openingd
Rusty Russell 9b8f08a8a0 lightningd: return min-capacity-sat to its intended purpose.
And document exactly what it does: insist that an HTLC can pass of
this value (module assumptions of feerate).

Note that we remove the "is_opener" test from the capacity calculation
for anchor fees: it doesn't matter which side it is, someone has to pay
for anchor fees to it deducts from capacity.

This change breaks the test, which we rewrite.

Changelog-Changed: config: `min-capacity-sat` is now stricter about checking usable capacity of channels.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-09-01 12:27:39 -05:00
..
Makefile Makefile: normalize all the Makefiles 2020-08-31 21:33:26 -05:00
openingd.c lightningd: return min-capacity-sat to its intended purpose. 2020-09-01 12:27:39 -05:00
openingd_wire.csv openingd: convert wire to new scheme. 2020-08-25 12:53:13 +09:30
openingd_wiregen.c Makefile: commit and preserve all the wiregenerated files. 2020-08-31 21:33:26 -05:00
openingd_wiregen.h Makefile: commit and preserve all the wiregenerated files. 2020-08-31 21:33:26 -05:00