2018-02-20 21:59:09 +01:00
|
|
|
#ifndef LIGHTNING_LIGHTNINGD_ONCHAIN_CONTROL_H
|
|
|
|
#define LIGHTNING_LIGHTNINGD_ONCHAIN_CONTROL_H
|
|
|
|
#include "config.h"
|
2018-04-17 15:31:30 +02:00
|
|
|
#include <lightningd/lightningd.h>
|
2018-02-20 21:59:09 +01:00
|
|
|
|
|
|
|
struct channel;
|
|
|
|
struct bitcoin_tx;
|
|
|
|
struct block;
|
|
|
|
|
2018-04-16 13:20:45 +02:00
|
|
|
enum watch_result onchaind_funding_spent(struct channel *channel,
|
|
|
|
const struct bitcoin_tx *tx,
|
2021-12-01 17:24:31 +01:00
|
|
|
u32 blockheight);
|
2018-02-20 21:59:09 +01:00
|
|
|
|
2018-04-17 15:31:30 +02:00
|
|
|
void onchaind_replay_channels(struct lightningd *ld);
|
|
|
|
|
2018-02-20 21:59:09 +01:00
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_ONCHAIN_CONTROL_H */
|