rpc: clarify BIP94 behavior for curtime
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -683,7 +683,7 @@ static RPCHelpMan getblocktemplate()
|
|||||||
{RPCResult::Type::NUM, "sigoplimit", "limit of sigops in blocks"},
|
{RPCResult::Type::NUM, "sigoplimit", "limit of sigops in blocks"},
|
||||||
{RPCResult::Type::NUM, "sizelimit", "limit of block size"},
|
{RPCResult::Type::NUM, "sizelimit", "limit of block size"},
|
||||||
{RPCResult::Type::NUM, "weightlimit", /*optional=*/true, "limit of block weight"},
|
{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::STR, "bits", "compressed target of next block"},
|
||||||
{RPCResult::Type::NUM, "height", "The height of the next block"},
|
{RPCResult::Type::NUM, "height", "The height of the next block"},
|
||||||
{RPCResult::Type::STR_HEX, "signet_challenge", /*optional=*/true, "Only on signet"},
|
{RPCResult::Type::STR_HEX, "signet_challenge", /*optional=*/true, "Only on signet"},
|
||||||
|
|||||||
Reference in new issue
Block a user