core-lightning/connectd
Rusty Russell 8939a5001b connectd: rely on the master to tell us to reconnect.
connectd tells master about every disconnection, and master knows
whether it's important to reconnect.  Just get the master to invoke a new
connect command if it considers the peer important!

The only twist is timeouts: we don't want to immediately reconnect if
we've failed to connect.  To solve this, connectd passes a 'delaytime'
to the master when a connection fails, and the master passes it back
when it asks for a connection.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-08-09 19:44:27 +02:00
..
test gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
connect.c connectd: rely on the master to tell us to reconnect. 2018-08-09 19:44:27 +02:00
connect.h connectd: new daemon to handle connections. 2018-07-25 02:13:52 +00:00
connect_gossip_wire.csv gossipd: provide connectd with address resolution. 2018-07-25 02:13:52 +00:00
connect_wire.csv connectd: rely on the master to tell us to reconnect. 2018-08-09 19:44:27 +02:00
handshake.c gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
handshake.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
Makefile sync_crypto_write/sync_crypto_read: just fail, don't return NULL. 2018-08-05 02:03:58 +00:00
netaddress.c gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
netaddress.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
tor.c gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
tor.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
tor_autoservice.c Remove tal_len, use tal_count() or tal_bytelen(). 2018-07-30 11:31:17 +02:00
tor_autoservice.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00