core-lightning/connectd/connect_gossip_wire.csv
Rusty Russell eab83ca79b connectd: new daemon to handle connections.
This is just copying most of gossipd/gossip.c into connectd/connect.c.
It shares the same wire format as gossipd during transition, and changes
are deliberately minimal.

It also has an additional message 'connect_reconnected' which it sends
to the master daemon to tell it to kill a peer; gossipd relied on
closing the gossipfd to do this, but connectd doesn't maintain an fd
with remote peers.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-07-25 02:13:52 +00:00

359 B

1# Communication between gossipd and connectd.
2gossip_new_peer,4000
3gossip_new_peer,,id,struct pubkey
4# Did we negotiate LOCAL_GOSSIP_QUERIES?
5gossip_new_peer,,gossip_queries_feature,bool
6# Did they offer LOCAL_INITIAL_ROUTING_SYNC?
7gossip_new_peer,,initial_routing_sync,bool
8# if success: + fd.
9gossip_new_peer_reply,4100
10gossip_new_peer_reply,,success,bool