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.
 
 
 
 
 
 

4.4 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.
6# Gossipd -> master: we got a peer. Two fds: peer and gossip
7# Gossipd -> master: peer sent non-gossip packet. Two fds: peer and gossip
8# Master -> gossipd: release a peer (so we can open a channel)
9# Gossipd -> master: reply to gossip_release_peer. Two fds: peer and gossip.
10# Gossipd -> master: reply to gossip_release_peer if we couldn't find the peer.
11# Pass JSON-RPC getnodes call through
12#include <lightningd/gossip_msg.h>
13# Pass JSON-RPC getroute call through
14# Ping/pong test. Waits for a reply if it expects one.
15# False if id in gossip_ping was unknown.
16# 0 == no pong expected
17# arbitrary gossip messages.
18# The main daemon asks for peers