mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-05 23:24:21 +01:00
coin moves: persist the coin movement index counter to disk
Should make it easier to track when coin moves in the plugin are disjoint from what c-lightning says it's broadcast already.
This commit is contained in:
committed by
Rusty Russell
parent
44f747b29a
commit
ffd9467f14
@@ -268,6 +268,10 @@ struct lightningd {
|
||||
alt_subdaemon_map alt_subdaemons;
|
||||
|
||||
enum lightningd_state state;
|
||||
|
||||
/* Total number of coin moves we've seen, since
|
||||
* coin move tracking was cool */
|
||||
s64 coin_moves_count;
|
||||
};
|
||||
|
||||
/* Turning this on allows a tal allocation to return NULL, rather than aborting.
|
||||
|
||||
Reference in New Issue
Block a user