core-lightning/openingd
Rusty Russell b9d6e8bbaa common: add fee_states state machine for update_fee.
This uses the same state machine as HTLCs, but they're only
ever added, not removed.  Since we can only have one in each
state, we use a simple array; mostly NULL.

We could make this more space-efficient by folding everything into the
first 5 states, but that would be more complex than just using the
identical state machine.

One subtlety: we don't send uncommitted fee_states over the wire.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-12-12 22:15:48 +01:00
..
Makefile common: add fee_states state machine for update_fee. 2019-12-12 22:15:48 +01:00
opening_wire.csv openchannel hook: add new close_to field 2019-11-22 00:41:15 +00:00
openingd.c openingd: clean up and fix minor leak. 2019-11-28 11:50:13 +01:00