Files
lightning/lightningd
Rusty Russell 8a16963f22 channeld: get told when announce depth already reached.
If channeld dies for some reason (eg, reconnect) and we didn't yet announce
the channel, we can miss doing so.  This is unusual, because if lightningd
restarts it rearms the callback which gives us funding_locked, so it only
happens if just channel dies before sending the announcement message.

This problem applies to both temporary announcement (for gossipd) and
the real one.  For the temporary one, simply re-send on startup, and
remote the error msg gossipd gives if it sees a second one.  For the
real one, we need a flag to tell us the depth is sufficient; the peer
will ignore re-sends anyway.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-04-26 05:47:57 +00:00
..
2017-10-20 18:31:32 +02:00
2018-04-15 17:42:24 +02:00
2018-03-26 01:31:21 +00:00
2018-04-25 14:33:38 +02:00
2017-12-21 09:56:20 +00:00
2018-04-25 14:33:38 +02:00
2018-02-16 13:08:29 +01:00