You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 KiB

1#include <common/cryptomsg.h>
2#include <common/wireaddr.h>
3#include <wire/gen_onion_wire.h>
4# Initialize the gossip daemon.
5# This is 0 or 1.
6# Do we listen?
7# Master -> gossipd: Optional hint for where to find peer.
8# Master -> gossipd: connect to a peer.
9# you will get one reply for every request).
10# True it connected.
11# Master -> gossipd: try to always maintain connection to this peer (or not)
12# Gossipd -> master: we got a peer. Two fds: peer and gossip
13# Gossipd -> master: peer sent non-gossip packet. Two fds: peer and gossip
14# Master -> gossipd: release a peer (so we can open a channel)
15# Gossipd -> master: reply to gossip_release_peer. Two fds: peer and gossip.
16# Gossipd -> master: reply to gossip_release_peer if we couldn't find the peer.
17# master -> gossipd: peer has disconnected.
18# Pass JSON-RPC getnodes call through
19# Can be 0 or 1 currently
20#include <lightningd/gossip_msg.h>
21# Pass JSON-RPC getroute call through
22# Ping/pong test. Waits for a reply if it expects one.
23# False if id in gossip_ping was unknown.
24# 0 == no pong expected
25# Test of query_short_channel_ids. Master->gossipd
26# Gossipd -> master
27# Test gossip timestamp filtering.
28# Test of query_channel_range. Master->gossipd
29# Gossipd -> master
30# Set artificial maximum reply_channel_range size. Master->gossipd
31# The main daemon asks for peers
32# 0 or 1
33# errors. Must be distinct from WIRE_CHANNEL_ANNOUNCEMENT etc. gossip msgs!
34# Gossipd can tell channeld etc about gossip to fwd.
35# yet reached the announcement depth. So we add the channel locally so
36# we (and peer) can update it already.
37# Gossipd->master get this tx output please.
38# master->gossipd a routing failure occurred
39# master->gossipd temporarily mark a channel unroutable
40# (used in case of unparseable onion reply)
41# master->gossipd: Request to disconnect from a peer.
42# Gossipd -> master: reply to gossip_peer_disconnect with peer id.
43# Gossipd -> master: reply to gossip_peer_disconnect if we couldn't find the peer.