You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

4.8 KiB

1#include <common/cryptomsg.h>
2#include <common/wireaddr.h>
3#include <lightningd/gossip_msg.h>
4# Do we listen?
5# connectd->master: disconnect this peer please (due to reconnect).
6# Master -> connectd: Optional hint for where to find peer.
7# Master -> connectd: connect to a peer.
8# you will get one reply for every request).
9# True it connected.
10# Master -> connectd: try to always maintain connection to this peer (or not)
11# Connectd -> master: we got a peer. Two fds: peer and gossip
12# Connectd -> master: peer sent non-gossip packet. Two fds: peer and gossip
13# Master -> connectd: release a peer (so we can open a channel)
14# Connectd -> master: reply to connect_release_peer. Two fds: peer and gossip.
15# Connectd -> master: reply to connect_release_peer if we couldn't find the peer.
16# master -> connectd: peer has disconnected.
17# The main daemon asks for peers
18# master->connectd: Request to disconnect from a peer.
19# Connectd -> master: reply to connect_peer_disconnect with peer id.
20# Connectd -> master: reply to connect_peer_disconnect if we couldn't find the peer.