core-lightning/lightningd/onchain_control.h
Christian Decker 4b22760cf9 onchaind: Replay stored channeltxs to restore onchaind state
Signed-off-by: Christian Decker <decker.christian@gmail.com>
2018-04-25 14:33:38 +02:00

19 lines
514 B
C

#ifndef LIGHTNING_LIGHTNINGD_ONCHAIN_CONTROL_H
#define LIGHTNING_LIGHTNINGD_ONCHAIN_CONTROL_H
#include "config.h"
#include <ccan/short_types/short_types.h>
#include <lightningd/lightningd.h>
#include <onchaind/gen_onchain_wire.h>
struct channel;
struct bitcoin_tx;
struct block;
enum watch_result onchaind_funding_spent(struct channel *channel,
const struct bitcoin_tx *tx,
u32 blockheight);
void onchaind_replay_channels(struct lightningd *ld);
#endif /* LIGHTNING_LIGHTNINGD_ONCHAIN_CONTROL_H */