You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"\nReturns statistics about the unspent transaction output set.\n"
1072
-
"Note this call may take some time.\n",
1101
+
"Note this call may take some time if you are not using coinstatsindex.\n",
1073
1102
{
1074
1103
{"hash_type", RPCArg::Type::STR, RPCArg::Default{"hash_serialized_2"}, "Which UTXO set hash should be calculated. Options: 'hash_serialized_2' (the legacy algorithm), 'muhash', 'none'."},
1104
+
{"hash_or_height", RPCArg::Type::NUM, RPCArg::Optional::OMITTED, "The block hash or height of the target height (only available with coinstatsindex)", "", {"", "string or numeric"}},
1075
1105
},
1076
1106
RPCResult{
1077
1107
RPCResult::Type::OBJ, "", "",
1078
1108
{
1079
1109
{RPCResult::Type::NUM, "height", "The block height (index) of the returned statistics"},
1080
1110
{RPCResult::Type::STR_HEX, "bestblock", "The hash of the block at which these statistics are calculated"},
1081
-
{RPCResult::Type::NUM, "transactions", "The number of transactions with unspent outputs"},
1082
1111
{RPCResult::Type::NUM, "txouts", "The number of unspent transaction outputs"},
1083
-
{RPCResult::Type::NUM, "bogosize", "A meaningless metric for UTXO set size"},
1112
+
{RPCResult::Type::NUM, "bogosize", "Database-independent, meaningless metric indicating the UTXO set size"},
1084
1113
{RPCResult::Type::STR_HEX, "hash_serialized_2", /* optional */true, "The serialized hash (only present if 'hash_serialized_2' hash_type is chosen)"},
1085
1114
{RPCResult::Type::STR_HEX, "muhash", /* optional */true, "The serialized hash (only present if 'muhash' hash_type is chosen)"},
1115
+
{RPCResult::Type::NUM, "transactions", "The number of transactions with unspent outputs (not available when coinstatsindex is used)"},
1086
1116
{RPCResult::Type::NUM, "disk_size", "The estimated size of the chainstate on disk"},
1087
1117
{RPCResult::Type::STR_AMOUNT, "total_amount", "The total amount of coins in the UTXO set"},
0 commit comments