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.0 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#include <lightningd/gossip_msg.h>
14# Pass JSON-RPC getroute call through
15# Ping/pong test. Waits for a reply if it expects one.
16# False if id in gossip_ping was unknown.
17# 0 == no pong expected
18# The main daemon asks for peers
19# errors. Must be distinct from WIRE_CHANNEL_ANNOUNCEMENT etc. gossip msgs!
20# Gossipd can tell channeld etc about gossip to fwd.
21# yet reached the announcement depth. So we add the channel locally so
22# we can use it already.
23# Gossipd->master get this tx output please.