core-lightning/lightningd/onchain_control.h
niftynei 8098a4cd21 onchaind: remove 'is_replay' logic
we used this originally to suppress duplicate issuance of coin-move
events; we're assuming that any plugin expects duplicate events though
(and knows how to de-dupe them), so we no longer need this logic.
2021-12-28 04:42:42 +10:30

17 lines
433 B
C

#ifndef LIGHTNING_LIGHTNINGD_ONCHAIN_CONTROL_H
#define LIGHTNING_LIGHTNINGD_ONCHAIN_CONTROL_H
#include "config.h"
#include <lightningd/lightningd.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 */