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.1 KiB

1#include <common/cryptomsg.h>
2# Initialize the gossip daemon.
3# Master -> gossipd: Optional hint for where to find peer.
4# Master -> gossipd: connect to a peer. We may get a peer_connected.
5# Gossipd -> master: we got a peer. Two fds: peer and gossip
6# Gossipd -> master: peer sent non-gossip packet. Two fds: peer and gossip
7# Master -> gossipd: release a peer (so we can open a channel)
8# Gossipd -> master: reply to gossip_release_peer. Two fds: peer and gossip.
9# Gossipd -> master: reply to gossip_release_peer if we couldn't find the peer.
10# Pass JSON-RPC getnodes call through
11#include <lightningd/gossip_msg.h>
12# Pass JSON-RPC getroute call through
13# Ping/pong test. Waits for a reply if it expects one.
14# False if id in gossip_ping was unknown.
15# 0 == no pong expected
16# arbitrary gossip messages.