From 79d45b10f1b354b53fe7244b0c4d5e603beec700 Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Thu, 23 Jan 2025 15:47:50 +0100 Subject: [PATCH] rpc: clarify BIP94 behavior for curtime --- src/rpc/mining.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 5e3d1120e32..3843e8b18eb 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -683,7 +683,7 @@ static RPCHelpMan getblocktemplate() {RPCResult::Type::NUM, "sigoplimit", "limit of sigops in blocks"}, {RPCResult::Type::NUM, "sizelimit", "limit of block size"}, {RPCResult::Type::NUM, "weightlimit", /*optional=*/true, "limit of block weight"}, - {RPCResult::Type::NUM_TIME, "curtime", "current timestamp in " + UNIX_EPOCH_TIME}, + {RPCResult::Type::NUM_TIME, "curtime", "current timestamp in " + UNIX_EPOCH_TIME + ". Adjusted for the proposed BIP94 timewarp rule."}, {RPCResult::Type::STR, "bits", "compressed target of next block"}, {RPCResult::Type::NUM, "height", "The height of the next block"}, {RPCResult::Type::STR_HEX, "signet_challenge", /*optional=*/true, "Only on signet"},