mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 02:27:51 +01:00
be1f33b265
Currently we intuit it from the fd being closed, but that may happen out of order with when the master thinks it's dead. So now if the gossip fd closes we just ignore it, and we'll get a notification from the master when the peer is disconnected. The notification is slightly ugly in that we have to disable it for a channel when we manually hand the channel back to gossipd. Note: as stands, this is racy with reconnects. See the next patch. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
test | ||
broadcast.c | ||
broadcast.h | ||
gossip_store.c | ||
gossip_store.csv | ||
gossip_store.h | ||
gossip_wire.csv | ||
gossip.c | ||
handshake.c | ||
handshake.h | ||
Makefile | ||
routing.c | ||
routing.h |