rgb-cln/connectd
Rusty Russell a1bdaa8f99 connectd/peer_exchange_initmsg: handle peer comms ourselves.
connectd is the only user of the cryptomsg async APIs; better to
open-code it here.  We need to expose a little from cryptomsg(),
but we remove the 'struct peer' entirely from connectd.

One trick is that we still need to defer telling lightningd when a
peer reconnects (until it tells us the old one is disconnected).  So
now we generate the message for lightningd and send it once we're woken.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-09-28 04:14:28 +00:00
..
test secret_eq: remove in favor of constant time variant. 2018-08-23 14:46:22 +02:00
Makefile connectd/peer_exchange_initmsg: handle peer comms ourselves. 2018-09-28 04:14:28 +00:00
connect_gossip_wire.csv gossipd: provide connectd with address resolution. 2018-07-25 02:13:52 +00:00
connect_wire.csv connectd: remove separate address hint message. 2018-08-09 19:44:27 +02:00
connectd.c connectd/peer_exchange_initmsg: handle peer comms ourselves. 2018-09-28 04:14:28 +00:00
connectd.h connectd/peer_exchange_initmsg: handle peer comms ourselves. 2018-09-28 04:14:28 +00:00
handshake.c hsmd: remove hsmd/client.c 2018-09-20 09:49:39 +02:00
handshake.h hsmd: remove hsmd/client.c 2018-09-20 09:49:39 +02: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
peer_exchange_initmsg.c connectd/peer_exchange_initmsg: handle peer comms ourselves. 2018-09-28 04:14:28 +00:00
peer_exchange_initmsg.h connectd/peer_exchange_initmsg: handle peer comms ourselves. 2018-09-28 04:14:28 +00:00
tor.c Put the 'd' back in the daemons. 2018-09-03 05:01:40 +00:00
tor.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
tor_autoservice.c set the tor port also in struct wireaddr 2018-09-19 13:48:05 +02:00
tor_autoservice.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00