mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-27 09:04:40 +01:00
8098a4cd21
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.
17 lines
433 B
C
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 */
|