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.
 
 
 
 
 
 

7.4 KiB

1#include <common/cryptomsg.h>
2#include <common/wireaddr.h>
3#include <wire/gen_onion_wire.h>
4# Initialize the gossip daemon.
5# Master -> gossipd: Optional hint for where to find peer.
6# Master -> gossipd: connect to a peer. We may get a peer_connected or
7# peer_already_connected
8# Gossipd -> master: we got a peer. Two fds: peer and gossip
9# Gossipd -> master: peer sent non-gossip packet. Two fds: peer and gossip
10# Master -> gossipd: release a peer (so we can open a channel)
11# Gossipd -> master: reply to gossip_release_peer. Two fds: peer and gossip.
12# Gossipd -> master: reply to gossip_release_peer if we couldn't find the peer.
13# Pass JSON-RPC getnodes call through
14# Can be 0 or 1 currently
15#include <lightningd/gossip_msg.h>
16# Pass JSON-RPC getroute call through
17# Ping/pong test. Waits for a reply if it expects one.
18# False if id in gossip_ping was unknown.
19# 0 == no pong expected
20# The main daemon asks for peers
21# 0 or 1
22# errors. Must be distinct from WIRE_CHANNEL_ANNOUNCEMENT etc. gossip msgs!
23# Gossipd can tell channeld etc about gossip to fwd.
24# yet reached the announcement depth. So we add the channel locally so
25# we can use it already.
26# Gossipd->master get this tx output please.
27# client->gossipd: Disable the channel matching the short_channel_id
28# master->gossipd a routing failure occurred
29# master->gossipd temporarily mark a channel unroutable
30# (used in case of unparseable onion reply)