lightningd/closing_control: routines to control closingd (move from peer_control.c)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-02-21 07:29:09 +10:30
committed by Christian Decker
parent a83ff83328
commit 9176ee628c
6 changed files with 283 additions and 257 deletions

View File

@@ -0,0 +1,15 @@
#ifndef LIGHTNING_LIGHTNINGD_CLOSING_CONTROL_H
#define LIGHTNING_LIGHTNINGD_CLOSING_CONTROL_H
#include "config.h"
#include <ccan/short_types/short_types.h>
struct channel_id;
struct crypto_state;
void peer_start_closingd(struct channel *channel,
struct crypto_state *cs,
u64 gossip_index,
int peer_fd, int gossip_fd,
bool reconnected);
#endif /* LIGHTNING_LIGHTNINGD_CLOSING_CONTROL_H */