mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
a1bdaa8f99
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> |
||
---|---|---|
.. | ||
test | ||
connect_gossip_wire.csv | ||
connect_wire.csv | ||
connectd.c | ||
connectd.h | ||
handshake.c | ||
handshake.h | ||
Makefile | ||
netaddress.c | ||
netaddress.h | ||
peer_exchange_initmsg.c | ||
peer_exchange_initmsg.h | ||
tor_autoservice.c | ||
tor_autoservice.h | ||
tor.c | ||
tor.h |