core-lightning/connectd/connect_gossip_wire.csv
Rusty Russell dba7f9002f gossipd: provide connectd with address resolution.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-07-25 02:13:52 +00:00

621 B

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