core-lightning/lightningd/channel
Rusty Russell 9497cbe73b lightningd/channel: tell master about the commit sigs.
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>
2017-06-23 09:29:42 +09:30
..
channel_wire.csv lightningd/channel: tell master about the commit sigs. 2017-06-23 09:29:42 +09:30
channel.c lightningd/channel: tell master about the commit sigs. 2017-06-23 09:29:42 +09:30
Makefile channel: unwrap and send incoming HTLCs to master. 2017-04-01 23:59:46 +10:30