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.
 
 
 
 
 
 

6.6 KiB

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