Skip to content

Commit f0975dc

Browse files
committed
merge bitcoin#24640: Correct description of getblockchaininfo's pruneheight result
1 parent b6b94b2 commit f0975dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rpc/blockchain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1457,7 +1457,7 @@ RPCHelpMan getblockchaininfo()
14571457
{RPCResult::Type::STR_HEX, "chainwork", "total amount of work in active chain, in hexadecimal"},
14581458
{RPCResult::Type::NUM, "size_on_disk", "the estimated size of the block and undo files on disk"},
14591459
{RPCResult::Type::BOOL, "pruned", "if the blocks are subject to pruning"},
1460-
{RPCResult::Type::NUM, "pruneheight", /* optional */ true, "lowest-height complete block stored (only present if pruning is enabled)"},
1460+
{RPCResult::Type::NUM, "pruneheight", /* optional */ true, "height of the last block pruned, plus one (only present if pruning is enabled)"},
14611461
{RPCResult::Type::BOOL, "automatic_pruning", /* optional */ true, "whether automatic pruning is enabled (only present if pruning is enabled)"},
14621462
{RPCResult::Type::NUM, "prune_target_size", /* optional */ true, "the target size used by pruning (only present if automatic pruning is enabled)"},
14631463
{RPCResult::Type::OBJ, "softforks", "status of softforks in progress",

0 commit comments

Comments
 (0)