mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-08 14:50:26 +01:00
0f9ba53581
With enable-autotor-v2 defined in cmdline the default behavior to create v3 onions with the tor service call, is set to v2 onions. Signed-off-by: Saibato <saibato.naga@pm.me>
2.6 KiB
2.6 KiB
1 | #include <common/cryptomsg.h> |
---|---|
2 | #include <common/per_peer_state.h> |
3 | #include <common/wireaddr.h> |
4 | #include <lightningd/gossip_msg.h> |
5 | msgtype,connectctl_init,2000 |
6 | msgdata,connectctl_init,id,node_id, |
7 | msgdata,connectctl_init,num_wireaddrs,u16, |
8 | msgdata,connectctl_init,wireaddrs,wireaddr_internal,num_wireaddrs |
9 | msgdata,connectctl_init,listen_announce,enum addr_listen_announce,num_wireaddrs |
10 | msgdata,connectctl_init,tor_proxyaddr,?wireaddr, |
11 | msgdata,connectctl_init,use_tor_proxy_always,bool, |
12 | msgdata,connectctl_init,dev_allow_localhost,bool, |
13 | msgdata,connectctl_init,use_dns,bool, |
14 | msgdata,connectctl_init,tor_password,wirestring, |
15 | msgdata,connectctl_init,use_v3_autotor,bool, |
16 | # Connectd->master, here are the addresses I bound, can announce. |
17 | msgtype,connectctl_init_reply,2100 |
18 | msgdata,connectctl_init_reply,num_bindings,u16, |
19 | msgdata,connectctl_init_reply,bindings,wireaddr_internal,num_bindings |
20 | msgdata,connectctl_init_reply,num_announcable,u16, |
21 | msgdata,connectctl_init_reply,announcable,wireaddr,num_announcable |
22 | # Activate the connect daemon, so others can connect. |
23 | msgtype,connectctl_activate,2025 |
24 | # Do we listen? |
25 | msgdata,connectctl_activate,listen,bool, |
26 | # Connectd->master, I am ready. |
27 | msgtype,connectctl_activate_reply,2125 |
28 | # connectd->master: disconnect this peer please (due to reconnect). |
29 | msgtype,connect_reconnected,2112 |
30 | msgdata,connect_reconnected,id,node_id, |
31 | # Master -> connectd: connect to a peer. |
32 | msgtype,connectctl_connect_to_peer,2001 |
33 | msgdata,connectctl_connect_to_peer,id,node_id, |
34 | msgdata,connectctl_connect_to_peer,seconds_waited,u32, |
35 | msgdata,connectctl_connect_to_peer,addrhint,?wireaddr_internal, |
36 | # Connectd->master: connect failed. |
37 | msgtype,connectctl_connect_failed,2020 |
38 | msgdata,connectctl_connect_failed,id,node_id, |
39 | msgdata,connectctl_connect_failed,failreason,wirestring, |
40 | msgdata,connectctl_connect_failed,seconds_to_delay,u32, |
41 | msgdata,connectctl_connect_failed,addrhint,?wireaddr_internal, |
42 | # Connectd -> master: we got a peer. Three fds: peer, gossip and gossip_store |
43 | msgtype,connect_peer_connected,2002 |
44 | msgdata,connect_peer_connected,id,node_id, |
45 | msgdata,connect_peer_connected,addr,wireaddr_internal, |
46 | msgdata,connect_peer_connected,pps,per_peer_state, |
47 | msgdata,connect_peer_connected,gflen,u16, |
48 | msgdata,connect_peer_connected,globalfeatures,u8,gflen |
49 | msgdata,connect_peer_connected,lflen,u16, |
50 | msgdata,connect_peer_connected,localfeatures,u8,lflen |
51 | # master -> connectd: peer has disconnected. |
52 | msgtype,connectctl_peer_disconnected,2015 |
53 | msgdata,connectctl_peer_disconnected,id,node_id, |
54 | # master -> connectd: do you have a memleak? |
55 | msgtype,connect_dev_memleak,2033 |
56 | msgtype,connect_dev_memleak_reply,2133 |
57 | msgdata,connect_dev_memleak_reply,leak,bool, |