lightningd: rename anchor_confirms to funding_confirms.

Calling the funding tx an anchor is pre-spec terminology, which is now
confusing; let's rename the variable.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2025-05-15 12:48:12 +09:30
parent f816393095
commit 53a67b6a86
5 changed files with 10 additions and 10 deletions

View File

@@ -21,8 +21,8 @@ struct config {
/* How long do we let them lock up our funds? (blocks: 2016 by spec) */
u32 max_htlc_cltv;
/* How many confirms until we consider an anchor "settled". */
u32 anchor_confirms;
/* How many confirms until we consider a funding tx "settled". */
u32 funding_confirms;
/* Minimum CLTV to subtract from incoming HTLCs to outgoing */
u32 cltv_expiry_delta;