mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-30 03:04:21 +01:00
This allows us to track precise transaction depth ourselves, particularly in the case of branching. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
13 lines
341 B
C
13 lines
341 B
C
#ifndef LIGHTNING_DAEMON_CHAINTOPOLOGY_H
|
|
#define LIGHTNING_DAEMON_CHAINTOPOLOGY_H
|
|
#include "config.h"
|
|
#include <stddef.h>
|
|
|
|
struct lightningd_state;
|
|
struct txwatch;
|
|
|
|
size_t get_tx_depth(struct lightningd_state *dstate, const struct txwatch *w);
|
|
void setup_topology(struct lightningd_state *dstate);
|
|
|
|
#endif /* LIGHTNING_DAEMON_CRYPTOPKT_H */
|