core-lightning/connectd/connect.h
Rusty Russell eab83ca79b connectd: new daemon to handle connections.
This is just copying most of gossipd/gossip.c into connectd/connect.c.
It shares the same wire format as gossipd during transition, and changes
are deliberately minimal.

It also has an additional message 'connect_reconnected' which it sends
to the master daemon to tell it to kill a peer; gossipd relied on
closing the gossipfd to do this, but connectd doesn't maintain an fd
with remote peers.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-07-25 02:13:52 +00:00

11 lines
250 B
C

#ifndef LIGHTNING_CONNECTD_CONNECT_H
#define LIGHTNING_CONNECTD_CONNECT_H
#include "config.h"
struct io_conn;
struct reaching;
struct io_plan *connection_out(struct io_conn *conn, struct reaching *reach);
#endif /* LIGHTNING_CONNECTD_CONNECT_H */