mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-01 21:34:35 +01:00
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>
407 B
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. |
| 5 | msgtype,gossipd_new_peer,4000 |
| 6 | msgdata,gossipd_new_peer,id,node_id, |
| 7 | # Did we negotiate OPT_GOSSIP_QUERIES? |
| 8 | msgdata,gossipd_new_peer,gossip_queries_feature,bool, |
| 9 | # if success: + gossip fd |
| 10 | msgtype,gossipd_new_peer_reply,4100 |
| 11 | msgdata,gossipd_new_peer_reply,success,bool, |