mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 00:24:19 +01:00
chaintopology: restore anchor timeout.
Instead of using wall-clock time, we use blocks. This is simpler and better for database restores. And both sides will time out. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -20,6 +20,9 @@ struct config {
|
||||
/* How long do we let them lock up our funds? (blocks) */
|
||||
u32 locktime_max;
|
||||
|
||||
/* How many blocks before we expect to see anchor?. */
|
||||
u32 anchor_onchain_wait;
|
||||
|
||||
/* How many confirms until we consider an anchor "settled". */
|
||||
u32 anchor_confirms;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user