core-lightning/connectd/connect_gossip_wire.csv
Rusty Russell 13717c6ebb gossipd: hand a gossip_store_fd to all subdaemons.
This will let them read from the gossip store directly.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-05-13 05:16:18 +00:00

649 B

1#include <common/wireaddr.h>
2# Communication between gossipd and connectd.
3gossip_new_peer,4000
4gossip_new_peer,,id,struct node_id
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: + gossip fd and gossip_store 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 node_id
15gossip_get_addrs_reply,4101
16gossip_get_addrs_reply,,num,u16
17gossip_get_addrs_reply,,addrs,num*struct wireaddr