Skip to content

Commit 79d45b1

Browse files
committed
rpc: clarify BIP94 behavior for curtime
1 parent 0713548 commit 79d45b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rpc/mining.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ static RPCHelpMan getblocktemplate()
683683
{RPCResult::Type::NUM, "sigoplimit", "limit of sigops in blocks"},
684684
{RPCResult::Type::NUM, "sizelimit", "limit of block size"},
685685
{RPCResult::Type::NUM, "weightlimit", /*optional=*/true, "limit of block weight"},
686-
{RPCResult::Type::NUM_TIME, "curtime", "current timestamp in " + UNIX_EPOCH_TIME},
686+
{RPCResult::Type::NUM_TIME, "curtime", "current timestamp in " + UNIX_EPOCH_TIME + ". Adjusted for the proposed BIP94 timewarp rule."},
687687
{RPCResult::Type::STR, "bits", "compressed target of next block"},
688688
{RPCResult::Type::NUM, "height", "The height of the next block"},
689689
{RPCResult::Type::STR_HEX, "signet_challenge", /*optional=*/true, "Only on signet"},

0 commit comments

Comments
 (0)