core-lightning/connectd/connectd_wire.csv
Rusty Russell d22fd59997 gossipd: remove gossip_msg.[ch]
This was a remnant from when we used to get routing from gossipd.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-12-06 10:05:39 +10:30

3.1 KiB

1#include <bitcoin/block.h>
2#include <common/cryptomsg.h>
3#include <common/features.h>
4#include <common/node_id.h>
5#include <common/per_peer_state.h>
6#include <common/wireaddr.h>
7msgtype,connectd_init,2000
8msgdata,connectd_init,chainparams,chainparams,
9msgdata,connectd_init,our_features,feature_set,
10msgdata,connectd_init,id,node_id,
11msgdata,connectd_init,num_wireaddrs,u16,
12msgdata,connectd_init,wireaddrs,wireaddr_internal,num_wireaddrs
13msgdata,connectd_init,listen_announce,enum addr_listen_announce,num_wireaddrs
14msgdata,connectd_init,tor_proxyaddr,?wireaddr,
15msgdata,connectd_init,use_tor_proxy_always,bool,
16msgdata,connectd_init,dev_allow_localhost,bool,
17msgdata,connectd_init,use_dns,bool,
18msgdata,connectd_init,tor_password,wirestring,
19msgdata,connectd_init,use_v3_autotor,bool,
20msgdata,connectd_init,timeout_secs,u32,
21msgdata,connectd_init,websocket_helper,wirestring,
22msgdata,connectd_init,websocket_port,u16,
23# Connectd->master, here are the addresses I bound, can announce.
24msgtype,connectd_init_reply,2100
25msgdata,connectd_init_reply,num_bindings,u16,
26msgdata,connectd_init_reply,bindings,wireaddr_internal,num_bindings
27msgdata,connectd_init_reply,num_announcable,u16,
28msgdata,connectd_init_reply,announcable,wireaddr,num_announcable
29# Activate the connect daemon, so others can connect.
30msgtype,connectd_activate,2025
31# Do we listen?
32msgdata,connectd_activate,listen,bool,
33# Connectd->master, I am ready.
34msgtype,connectd_activate_reply,2125
35# connectd->master: disconnect this peer please (due to reconnect).
36msgtype,connectd_reconnected,2112
37msgdata,connectd_reconnected,id,node_id,
38# Master -> connectd: connect to a peer.
39msgtype,connectd_connect_to_peer,2001
40msgdata,connectd_connect_to_peer,id,node_id,
41msgdata,connectd_connect_to_peer,seconds_waited,u32,
42msgdata,connectd_connect_to_peer,addrhint,?wireaddr_internal,
43# Connectd->master: connect failed.
44msgtype,connectd_connect_failed,2020
45msgdata,connectd_connect_failed,id,node_id,
46msgdata,connectd_connect_failed,failcode,errcode_t,
47msgdata,connectd_connect_failed,failreason,wirestring,
48msgdata,connectd_connect_failed,seconds_to_delay,u32,
49msgdata,connectd_connect_failed,addrhint,?wireaddr_internal,
50# Connectd -> master: we got a peer. Three fds: peer, gossip and gossip_store
51msgtype,connectd_peer_connected,2002
52msgdata,connectd_peer_connected,id,node_id,
53msgdata,connectd_peer_connected,addr,wireaddr_internal,
54msgdata,connectd_peer_connected,incoming,bool,
55msgdata,connectd_peer_connected,pps,per_peer_state,
56msgdata,connectd_peer_connected,flen,u16,
57msgdata,connectd_peer_connected,features,u8,flen
58# master -> connectd: peer has disconnected.
59msgtype,connectd_peer_disconnected,2015
60msgdata,connectd_peer_disconnected,id,node_id,
61# master -> connectd: give message to peer and disconnect. Three fds: peer, gossip and gossip_store
62msgtype,connectd_peer_final_msg,2003
63msgdata,connectd_peer_final_msg,id,node_id,
64msgdata,connectd_peer_final_msg,pps,per_peer_state,
65msgdata,connectd_peer_final_msg,len,u16,
66msgdata,connectd_peer_final_msg,msg,u8,len
67# master -> connectd: do you have a memleak?
68msgtype,connectd_dev_memleak,2033
69msgtype,connectd_dev_memleak_reply,2133
70msgdata,connectd_dev_memleak_reply,leak,bool,