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
{RPCResult::Type::NUM, "bogosize", "Database-independent, meaningless metric indicating the UTXO set size"},
1116
1116
{RPCResult::Type::STR_HEX, "hash_serialized_2", /* optional */true, "The serialized hash (only present if 'hash_serialized_2' hash_type is chosen)"},
1117
1117
{RPCResult::Type::STR_HEX, "muhash", /* optional */true, "The serialized hash (only present if 'muhash' hash_type is chosen)"},
1118
-
{RPCResult::Type::NUM, "transactions", "The number of transactions with unspent outputs (not available when coinstatsindex is used)"},
1119
-
{RPCResult::Type::NUM, "disk_size", "The estimated size of the chainstate on disk (not available when coinstatsindex is used)"},
1118
+
{RPCResult::Type::NUM, "transactions", /* optional */true, "The number of transactions with unspent outputs (not available when coinstatsindex is used)"},
1119
+
{RPCResult::Type::NUM, "disk_size", /* optional */true, "The estimated size of the chainstate on disk (not available when coinstatsindex is used)"},
1120
1120
{RPCResult::Type::STR_AMOUNT, "total_amount", "The total amount of coins in the UTXO set"},
1121
-
{RPCResult::Type::STR_AMOUNT, "total_unspendable_amount", "The total amount of coins permanently excluded from the UTXO set (only available if coinstatsindex is used)"},
1122
-
{RPCResult::Type::OBJ, "block_info", "Info on amounts in the block at this block height (only available if coinstatsindex is used)",
1121
+
{RPCResult::Type::STR_AMOUNT, "total_unspendable_amount", /* optional */true, "The total amount of coins permanently excluded from the UTXO set (only available if coinstatsindex is used)"},
1122
+
{RPCResult::Type::OBJ, "block_info", /* optional */true, "Info on amounts in the block at this block height (only available if coinstatsindex is used)",
1123
1123
{
1124
1124
{RPCResult::Type::STR_AMOUNT, "prevout_spent", "Total amount of all prevouts spent in this block"},
1125
1125
{RPCResult::Type::STR_AMOUNT, "coinbase", "Coinbase subsidy amount of this block"},
{RPCResult::Type::STR_HEX, "chainwork", "total amount of work in active chain, in hexadecimal"},
1437
1437
{RPCResult::Type::NUM, "size_on_disk", "the estimated size of the block and undo files on disk"},
1438
1438
{RPCResult::Type::BOOL, "pruned", "if the blocks are subject to pruning"},
1439
-
{RPCResult::Type::NUM, "pruneheight", "lowest-height complete block stored (only present if pruning is enabled)"},
1440
-
{RPCResult::Type::BOOL, "automatic_pruning", "whether automatic pruning is enabled (only present if pruning is enabled)"},
1441
-
{RPCResult::Type::NUM, "prune_target_size", "the target size used by pruning (only present if automatic pruning is enabled)"},
1439
+
{RPCResult::Type::NUM, "pruneheight", /* optional */true, "lowest-height complete block stored (only present if pruning is enabled)"},
1440
+
{RPCResult::Type::BOOL, "automatic_pruning", /* optional */true, "whether automatic pruning is enabled (only present if pruning is enabled)"},
1441
+
{RPCResult::Type::NUM, "prune_target_size", /* optional */true, "the target size used by pruning (only present if automatic pruning is enabled)"},
1442
1442
{RPCResult::Type::OBJ_DYN, "softforks", "status of softforks",
1443
1443
{
1444
1444
{RPCResult::Type::OBJ, "xxxx", "name of the softfork",
1445
1445
{
1446
1446
{RPCResult::Type::STR, "type", "one of \"buried\", \"bip9\""},
1447
-
{RPCResult::Type::OBJ, "bip9", "status of bip9 softforks (only for \"bip9\" type)",
1447
+
{RPCResult::Type::OBJ, "bip9", /* optional */true, "status of bip9 softforks (only for \"bip9\" type)",
1448
1448
{
1449
1449
{RPCResult::Type::STR, "status", "one of \"defined\", \"started\", \"locked_in\", \"active\", \"failed\""},
1450
-
{RPCResult::Type::NUM, "bit", "the bit (0-28) in the block version field used to signal this softfork (only for \"started\" and \"locked_in\" status)"},
1450
+
{RPCResult::Type::NUM, "bit", /* optional */true, "the bit (0-28) in the block version field used to signal this softfork (only for \"started\" and \"locked_in\" status)"},
1451
1451
{RPCResult::Type::NUM_TIME, "start_time", "the minimum median time past of a block at which the bit gains its meaning"},
1452
1452
{RPCResult::Type::NUM_TIME, "timeout", "the median time past of a block at which the deployment is considered failed if not yet locked in"},
1453
1453
{RPCResult::Type::NUM, "since", "height of the first block to which the status applies"},
1454
1454
{RPCResult::Type::NUM, "min_activation_height", "minimum height of blocks for which the rules may be enforced"},
1455
-
{RPCResult::Type::OBJ, "statistics", "numeric statistics about signalling for a softfork (only for \"started\" and \"locked_in\" status)",
1455
+
{RPCResult::Type::OBJ, "statistics", /* optional */true, "numeric statistics about signalling for a softfork (only for \"started\" and \"locked_in\" status)",
1456
1456
{
1457
1457
{RPCResult::Type::NUM, "period", "the length in blocks of the signalling period"},
1458
-
{RPCResult::Type::NUM, "threshold", "the number of blocks with the version bit set required to activate the feature (only for \"started\" status)"},
1458
+
{RPCResult::Type::NUM, "threshold", /* optional */true, "the number of blocks with the version bit set required to activate the feature (only for \"started\" status)"},
1459
1459
{RPCResult::Type::NUM, "elapsed", "the number of blocks elapsed since the beginning of the current period"},
1460
1460
{RPCResult::Type::NUM, "count", "the number of blocks with the version bit set in the current period"},
1461
-
{RPCResult::Type::BOOL, "possible", "returns false if there are not enough blocks left in this period to pass activation threshold (only for \"started\" status)"},
1461
+
{RPCResult::Type::BOOL, "possible", /* optional */true, "returns false if there are not enough blocks left in this period to pass activation threshold (only for \"started\" status)"},
1462
1462
}},
1463
1463
}},
1464
-
{RPCResult::Type::NUM, "height", "height of the first block which the rules are or will be enforced (only for \"buried\" type, or \"bip9\" type with \"active\" status)"},
1464
+
{RPCResult::Type::NUM, "height", /* optional */true, "height of the first block which the rules are or will be enforced (only for \"buried\" type, or \"bip9\" type with \"active\" status)"},
1465
1465
{RPCResult::Type::BOOL, "active", "true if the rules are enforced for the mempool and the next block"},
{RPCResult::Type::STR_HEX, "blockhash", "The block hash (to check for potential reorgs)"},
1978
-
{RPCResult::Type::ARR_FIXED, "feerate_percentiles", "Feerates at the 10th, 25th, 50th, 75th, and 90th percentile weight unit (in satoshis per virtual byte)",
1974
+
{RPCResult::Type::NUM, "avgfee", /* optional */true, "Average fee in the block"},
1975
+
{RPCResult::Type::NUM, "avgfeerate", /* optional */true, "Average feerate (in satoshis per virtual byte)"},
{RPCResult::Type::STR_HEX, "blockhash", /* optional */true, "The block hash (to check for potential reorgs)"},
1978
+
{RPCResult::Type::ARR_FIXED, "feerate_percentiles", /* optional */true, "Feerates at the 10th, 25th, 50th, 75th, and 90th percentile weight unit (in satoshis per virtual byte)",
1979
1979
{
1980
1980
{RPCResult::Type::NUM, "10th_percentile_feerate", "The 10th percentile feerate"},
1981
1981
{RPCResult::Type::NUM, "25th_percentile_feerate", "The 25th percentile feerate"},
1982
1982
{RPCResult::Type::NUM, "50th_percentile_feerate", "The 50th percentile feerate"},
1983
1983
{RPCResult::Type::NUM, "75th_percentile_feerate", "The 75th percentile feerate"},
1984
1984
{RPCResult::Type::NUM, "90th_percentile_feerate", "The 90th percentile feerate"},
1985
1985
}},
1986
-
{RPCResult::Type::NUM, "height", "The height of the block"},
1987
-
{RPCResult::Type::NUM, "ins", "The number of inputs (excluding coinbase)"},
1988
-
{RPCResult::Type::NUM, "maxfee", "Maximum fee in the block"},
1989
-
{RPCResult::Type::NUM, "maxfeerate", "Maximum feerate (in satoshis per virtual byte)"},
{RPCResult::Type::NUM, "outs", /* optional */true, "The number of outputs"},
1998
+
{RPCResult::Type::NUM, "subsidy", /* optional */true, "The block subsidy"},
1999
+
{RPCResult::Type::NUM, "swtotal_size", /* optional */true, "Total size of all segwit transactions"},
2000
+
{RPCResult::Type::NUM, "swtotal_weight", /* optional */true, "Total weight of all segwit transactions"},
2001
+
{RPCResult::Type::NUM, "swtxs", /* optional */true, "The number of segwit transactions"},
2002
+
{RPCResult::Type::NUM, "time", /* optional */true, "The block time"},
2003
+
{RPCResult::Type::NUM, "total_out", /* optional */true, "Total amount in all outputs (excluding coinbase and thus reward [ie subsidy + totalfee])"},
2004
+
{RPCResult::Type::NUM, "total_size", /* optional */true, "Total size of all non-coinbase transactions"},
2005
+
{RPCResult::Type::NUM, "total_weight", /* optional */true, "Total weight of all non-coinbase transactions"},
2006
+
{RPCResult::Type::NUM, "totalfee", /* optional */true, "The fee total"},
2007
+
{RPCResult::Type::NUM, "txs", /* optional */true, "The number of transactions (including coinbase)"},
2008
+
{RPCResult::Type::NUM, "utxo_increase", /* optional */true, "The increase/decrease in the number of unspent outputs"},
2009
+
{RPCResult::Type::NUM, "utxo_size_inc", /* optional */true, "The increase/decrease in size for the utxo index (not discounting op_return and similar)"},
0 commit comments