mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
dba7f9002f
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
621 B
621 B
1 | #include <common/wireaddr.h> |
---|---|
2 | # Communication between gossipd and connectd. |
3 | gossip_new_peer,4000 |
4 | gossip_new_peer,,id,struct pubkey |
5 | # Did we negotiate LOCAL_GOSSIP_QUERIES? |
6 | gossip_new_peer,,gossip_queries_feature,bool |
7 | # Did they offer LOCAL_INITIAL_ROUTING_SYNC? |
8 | gossip_new_peer,,initial_routing_sync,bool |
9 | # if success: + fd. |
10 | gossip_new_peer_reply,4100 |
11 | gossip_new_peer_reply,,success,bool |
12 | # Connectd asks gossipd for any known addresses for that node. |
13 | gossip_get_addrs,4001 |
14 | gossip_get_addrs,,id,struct pubkey |
15 | gossip_get_addrs_reply,4101 |
16 | gossip_get_addrs_reply,,num,u16 |
17 | gossip_get_addrs_reply,,addrs,num*struct wireaddr |