mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-09 15:18:09 +01:00
9497cbe73b
There are two ways we can do retransmission on reconnect: re-derive what we would have sent, or remember it and simply re-send. The rederivation is difficult: unwinding state depends on whether we sent a revoke_and_ack before or after the commitment_signed, and unwinding a revoke_and_ack would require us to remember HTLCs we would have normally forgotten at this point. So we simply tell the master to remember the old signatures for us, and hand them back in case we need to re-send. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
channel_wire.csv | ||
channel.c | ||
Makefile |