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.

24 lines
798 B

#include <common/per_peer_state.h>
#include <common/wireaddr.h>
# Communication between gossipd and connectd.
msgtype,gossip_new_peer,4000
msgdata,gossip_new_peer,id,node_id,
# Did we negotiate LOCAL_GOSSIP_QUERIES?
msgdata,gossip_new_peer,gossip_queries_feature,bool,
# Did they offer LOCAL_INITIAL_ROUTING_SYNC?
msgdata,gossip_new_peer,initial_routing_sync,bool,
# if success: + gossip fd and gossip_store fd
msgtype,gossip_new_peer_reply,4100
msgdata,gossip_new_peer_reply,success,bool,
msgdata,gossip_new_peer_reply,gs,?gossip_state,
# Connectd asks gossipd for any known addresses for that node.
msgtype,gossip_get_addrs,4001
msgdata,gossip_get_addrs,id,node_id,
msgtype,gossip_get_addrs_reply,4101
msgdata,gossip_get_addrs_reply,num,u16,
msgdata,gossip_get_addrs_reply,addrs,wireaddr,num