core-lightning/connectd/connectd_gossipd_wire.csv
Rusty Russell 39c93ee6e5 connectd: get addresses from lightningd, not gossipd.
It's weird to have connectd ask gossipd, when lightningd can just do it
and hand all the addresses together.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-01-20 15:24:06 +10:30

407 B

1#include <common/node_id.h>
2#include <common/per_peer_state.h>
3#include <common/wireaddr.h>
4# Communication between gossipd and connectd.
5msgtype,gossipd_new_peer,4000
6msgdata,gossipd_new_peer,id,node_id,
7# Did we negotiate OPT_GOSSIP_QUERIES?
8msgdata,gossipd_new_peer,gossip_queries_feature,bool,
9# if success: + gossip fd
10msgtype,gossipd_new_peer_reply,4100
11msgdata,gossipd_new_peer_reply,success,bool,