core-lightning/connectd/connect_gossip_wire.csv
2019-07-24 06:31:46 +00:00

798 B

1#include <common/per_peer_state.h>
2#include <common/wireaddr.h>
3# Communication between gossipd and connectd.
4msgtype,gossip_new_peer,4000
5msgdata,gossip_new_peer,id,node_id,
6# Did we negotiate LOCAL_GOSSIP_QUERIES?
7msgdata,gossip_new_peer,gossip_queries_feature,bool,
8# Did they offer LOCAL_INITIAL_ROUTING_SYNC?
9msgdata,gossip_new_peer,initial_routing_sync,bool,
10# if success: + gossip fd and gossip_store fd
11msgtype,gossip_new_peer_reply,4100
12msgdata,gossip_new_peer_reply,success,bool,
13msgdata,gossip_new_peer_reply,gs,?gossip_state,
14# Connectd asks gossipd for any known addresses for that node.
15msgtype,gossip_get_addrs,4001
16msgdata,gossip_get_addrs,id,node_id,
17msgtype,gossip_get_addrs_reply,4101
18msgdata,gossip_get_addrs_reply,num,u16,
19msgdata,gossip_get_addrs_reply,addrs,wireaddr,num