Files
lightning/common
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
..
2018-11-02 05:58:01 +00:00
2019-11-24 23:33:17 +00:00
2019-11-23 22:42:34 +00:00
2018-02-08 22:49:34 +01:00
2019-04-09 12:37:16 -07:00
2019-04-09 12:37:16 -07:00
2019-04-16 21:22:13 +00:00
2019-04-16 21:22:13 +00:00
2018-06-18 12:31:09 +02:00