mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge 263f53e2d0 into merged_master (Bitcoin PR #18098)
This commit is contained in:
commit
e81fccc9a5
8 changed files with 345 additions and 345 deletions
|
|
@ -270,7 +270,7 @@ static UniValue waitfornewblock(const JSONRPCRequest& request)
|
|||
RPCResult{
|
||||
"{ (json object)\n"
|
||||
" \"hash\" : { (string) The blockhash\n"
|
||||
" \"height\" : { (int) Block height\n"
|
||||
" \"height\" : { (numeric) Block height\n"
|
||||
"}\n"
|
||||
},
|
||||
RPCExamples{
|
||||
|
|
@ -310,7 +310,7 @@ static UniValue waitforblock(const JSONRPCRequest& request)
|
|||
RPCResult{
|
||||
"{ (json object)\n"
|
||||
" \"hash\" : { (string) The blockhash\n"
|
||||
" \"height\" : { (int) Block height\n"
|
||||
" \"height\" : { (numeric) Block height\n"
|
||||
"}\n"
|
||||
},
|
||||
RPCExamples{
|
||||
|
|
@ -354,7 +354,7 @@ static UniValue waitforblockheight(const JSONRPCRequest& request)
|
|||
RPCResult{
|
||||
"{ (json object)\n"
|
||||
" \"hash\" : { (string) The blockhash\n"
|
||||
" \"height\" : { (int) Block height\n"
|
||||
" \"height\" : { (numeric) Block height\n"
|
||||
"}\n"
|
||||
},
|
||||
RPCExamples{
|
||||
|
|
@ -441,10 +441,10 @@ static std::string EntryDescriptionString()
|
|||
" \"ancestor\" : n, (numeric) modified fees (see above) of in-mempool ancestors (including this one) in " + CURRENCY_UNIT + "\n"
|
||||
" \"descendant\" : n, (numeric) modified fees (see above) of in-mempool descendants (including this one) in " + CURRENCY_UNIT + "\n"
|
||||
" }\n"
|
||||
" \"depends\" : [ (array) unconfirmed transactions used as inputs for this transaction\n"
|
||||
" \"depends\" : [ (json array) unconfirmed transactions used as inputs for this transaction\n"
|
||||
" \"transactionid\", (string) parent transaction id\n"
|
||||
" ... ]\n"
|
||||
" \"spentby\" : [ (array) unconfirmed transactions spending outputs from this transaction\n"
|
||||
" \"spentby\" : [ (json array) unconfirmed transactions spending outputs from this transaction\n"
|
||||
" \"transactionid\", (string) child transaction id\n"
|
||||
" ... ]\n"
|
||||
" \"bip125-replaceable\" : true|false, (boolean) Whether this transaction could be replaced due to BIP125 (replace-by-fee)\n";
|
||||
|
|
@ -1065,14 +1065,14 @@ static UniValue gettxoutsetinfo(const JSONRPCRequest& request)
|
|||
{},
|
||||
RPCResult{
|
||||
"{\n"
|
||||
" \"height\":n, (numeric) The current block height (index)\n"
|
||||
" \"bestblock\": \"hex\", (string) The hash of the block at the tip of the chain\n"
|
||||
" \"transactions\": n, (numeric) The number of transactions with unspent outputs\n"
|
||||
" \"txouts\": n, (numeric) The number of unspent transaction outputs\n"
|
||||
" \"bogosize\": n, (numeric) A meaningless metric for UTXO set size\n"
|
||||
" \"height\" : n, (numeric) The current block height (index)\n"
|
||||
" \"bestblock\" : \"hex\", (string) The hash of the block at the tip of the chain\n"
|
||||
" \"transactions\" : n, (numeric) The number of transactions with unspent outputs\n"
|
||||
" \"txouts\" : n, (numeric) The number of unspent transaction outputs\n"
|
||||
" \"bogosize\" : n, (numeric) A meaningless metric for UTXO set size\n"
|
||||
" \"hash_serialized_2\": \"hash\", (string) The serialized hash\n"
|
||||
" \"disk_size\": n, (numeric) The estimated size of the chainstate on disk\n"
|
||||
" \"total_amount\": x.xxx (numeric) The total amount\n"
|
||||
" \"disk_size\" : n, (numeric) The estimated size of the chainstate on disk\n"
|
||||
" \"total_amount\" : x.xxx (numeric) The total amount\n"
|
||||
"}\n"
|
||||
},
|
||||
RPCExamples{
|
||||
|
|
@ -1113,7 +1113,7 @@ UniValue gettxout(const JSONRPCRequest& request)
|
|||
},
|
||||
RPCResult{
|
||||
"{\n"
|
||||
" \"bestblock\": \"hash\", (string) The hash of the block at the tip of the chain\n"
|
||||
" \"bestblock\" : \"hash\", (string) The hash of the block at the tip of the chain\n"
|
||||
" \"confirmations\" : n, (numeric) The number of confirmations\n"
|
||||
" \"value\" : x.xxx, (numeric) The transaction value in " + CURRENCY_UNIT + "\n"
|
||||
" \"scriptPubKey\" : { (json object)\n"
|
||||
|
|
@ -1298,49 +1298,49 @@ UniValue getblockchaininfo(const JSONRPCRequest& request)
|
|||
{},
|
||||
RPCResult{
|
||||
"{\n"
|
||||
" \"chain\": \"xxxx\", (string) current network name (main, test, regtest)\n"
|
||||
" \"blocks\": xxxxxx, (numeric) the height of the most-work fully-validated chain. The genesis block has height 0\n"
|
||||
" \"headers\": xxxxxx, (numeric) the current number of headers we have validated\n"
|
||||
" \"bestblockhash\": \"...\", (string) the hash of the currently best block\n"
|
||||
" \"difficulty\": xxxxxx, (numeric) the current difficulty\n"
|
||||
" \"mediantime\": xxxxxx, (numeric) median time for the current best block\n"
|
||||
" \"verificationprogress\": xxxx, (numeric) estimate of verification progress [0..1]\n"
|
||||
" \"initialblockdownload\": xxxx, (bool) (debug information) estimate of whether this node is in Initial Block Download mode.\n"
|
||||
" \"chainwork\": \"xxxx\" (string) total amount of work in active chain, in hexadecimal\n"
|
||||
" \"size_on_disk\": xxxxxx, (numeric) the estimated size of the block and undo files on disk\n"
|
||||
" \"pruned\": xx, (boolean) if the blocks are subject to pruning\n"
|
||||
" \"current_params_root\": \"xxxx\", (string) the root of the currently active dynafed params in hex\n"
|
||||
" \"signblock_asm\" : \"xxxx\", (string) ASM of sign block challenge data from genesis block.\n"
|
||||
" \"signblock_hex\" : \"xxxx\", (string) Hex of sign block challenge data from genesis block.\n"
|
||||
" \"current_signblock_asm\" : \"xxxx\", (string) ASM of sign block challenge data enforced on the next block.\n"
|
||||
" \"current_signblock_hex\" : \"xxxx\", (string) Hex of sign block challenge data enforced on the next block.\n"
|
||||
" \"max_block_witness\" : xx, (numeric) maximum sized block witness serialized size for the next block.\n"
|
||||
" \"epoch_length\" : xx, (numeric) Length of dynamic federations epoch, or signaling period\n"
|
||||
" \"total_valid_epochs\" : xx, (numeric) Number of epochs a given fedpscript is valid for, defined per chain.\n"
|
||||
" \"epoch_age\" : xx, (numeric) number of blocks into a dynamic federation epoch chain tip is. This number is between 0 to epoch_length-1\n"
|
||||
" \"extension_space\" : [\"xxxx\", ...], (array) Array of extension fields in dynamic blockheader\n"
|
||||
" \"pruneheight\": xxxxxx, (numeric) lowest-height complete block stored (only present if pruning is enabled)\n"
|
||||
" \"automatic_pruning\": xx, (boolean) whether automatic pruning is enabled (only present if pruning is enabled)\n"
|
||||
" \"prune_target_size\": xxxxxx, (numeric) the target size used by pruning (only present if automatic pruning is enabled)\n"
|
||||
" \"softforks\": { (object) status of softforks\n"
|
||||
" \"chain\" : \"xxxx\", (string) current network name (main, test, regtest)\n"
|
||||
" \"blocks\" : xxxxxx, (numeric) the height of the most-work fully-validated chain. The genesis block has height 0\n"
|
||||
" \"headers\" : xxxxxx, (numeric) the current number of headers we have validated\n"
|
||||
" \"bestblockhash\" : \"...\", (string) the hash of the currently best block\n"
|
||||
" \"difficulty\" : xxxxxx, (numeric) the current difficulty\n"
|
||||
" \"mediantime\" : xxxxxx, (numeric) median time for the current best block\n"
|
||||
" \"verificationprogress\" : xxxx, (numeric) estimate of verification progress [0..1]\n"
|
||||
" \"initialblockdownload\" : xxxx, (boolean) (debug information) estimate of whether this node is in Initial Block Download mode.\n"
|
||||
" \"chainwork\" : \"xxxx\" (string) total amount of work in active chain, in hexadecimal\n"
|
||||
" \"size_on_disk\" : xxxxxx, (numeric) the estimated size of the block and undo files on disk\n"
|
||||
" \"pruned\" : xx, (boolean) if the blocks are subject to pruning\n"
|
||||
" \"current_params_root\" : \"xxxx\", (string) the root of the currently active dynafed params in hex\n"
|
||||
" \"signblock_asm\" : \"xxxx\", (string) ASM of sign block challenge data from genesis block.\n"
|
||||
" \"signblock_hex\" : \"xxxx\", (string) Hex of sign block challenge data from genesis block.\n"
|
||||
" \"current_signblock_asm\" : \"xxxx\", (string) ASM of sign block challenge data enforced on the next block.\n"
|
||||
" \"current_signblock_hex\" : \"xxxx\", (string) Hex of sign block challenge data enforced on the next block.\n"
|
||||
" \"max_block_witness\" : xx, (numeric) maximum sized block witness serialized size for the next block.\n"
|
||||
" \"epoch_length\" : xx, (numeric) Length of dynamic federations epoch, or signaling period\n"
|
||||
" \"total_valid_epochs\" : xx, (numeric) Number of epochs a given fedpscript is valid for, defined per chain.\n"
|
||||
" \"epoch_age\" : xx, (numeric) number of blocks into a dynamic federation epoch chain tip is. This number is between 0 to epoch_length-1\n"
|
||||
" \"extension_space\" : [\"xxxx\", ...], (array) Array of extension fields in dynamic blockheader\n"
|
||||
" \"pruneheight\" : xxxxxx, (numeric) lowest-height complete block stored (only present if pruning is enabled)\n"
|
||||
" \"automatic_pruning\" : xx, (boolean) whether automatic pruning is enabled (only present if pruning is enabled)\n"
|
||||
" \"prune_target_size\" : xxxxxx, (numeric) the target size used by pruning (only present if automatic pruning is enabled)\n"
|
||||
" \"softforks\" : { (json object) status of softforks\n"
|
||||
" \"xxxx\" : { (string) name of the softfork\n"
|
||||
" \"type\": \"xxxx\", (string) one of \"buried\", \"bip9\"\n"
|
||||
" \"bip9\": { (object) status of bip9 softforks (only for \"bip9\" type)\n"
|
||||
" \"status\": \"xxxx\", (string) one of \"defined\", \"started\", \"locked_in\", \"active\", \"failed\"\n"
|
||||
" \"bit\": xx, (numeric) the bit (0-28) in the block version field used to signal this softfork (only for \"started\" status)\n"
|
||||
" \"start_time\": xx, (numeric) the minimum median time past of a block at which the bit gains its meaning\n"
|
||||
" \"timeout\": xx, (numeric) the median time past of a block at which the deployment is considered failed if not yet locked in\n"
|
||||
" \"since\": xx, (numeric) height of the first block to which the status applies\n"
|
||||
" \"statistics\": { (object) numeric statistics about BIP9 signalling for a softfork\n"
|
||||
" \"period\": xx, (numeric) the length in blocks of the BIP9 signalling period \n"
|
||||
" \"threshold\": xx, (numeric) the number of blocks with the version bit set required to activate the feature \n"
|
||||
" \"elapsed\": xx, (numeric) the number of blocks elapsed since the beginning of the current period \n"
|
||||
" \"count\": xx, (numeric) the number of blocks with the version bit set in the current period \n"
|
||||
" \"possible\": xx (boolean) returns false if there are not enough blocks left in this period to pass activation threshold \n"
|
||||
" \"type\" : \"xxxx\", (string) one of \"buried\", \"bip9\"\n"
|
||||
" \"bip9\": { (json object) status of bip9 softforks (only for \"bip9\" type)\n"
|
||||
" \"status\" : \"xxxx\", (string) one of \"defined\", \"started\", \"locked_in\", \"active\", \"failed\"\n"
|
||||
" \"bit\" : xx, (numeric) the bit (0-28) in the block version field used to signal this softfork (only for \"started\" status)\n"
|
||||
" \"start_time\" : xx, (numeric) the minimum median time past of a block at which the bit gains its meaning\n"
|
||||
" \"timeout\" : xx, (numeric) the median time past of a block at which the deployment is considered failed if not yet locked in\n"
|
||||
" \"since\" : xx, (numeric) height of the first block to which the status applies\n"
|
||||
" \"statistics\" : { (json object) numeric statistics about BIP9 signalling for a softfork\n"
|
||||
" \"period\" : xx, (numeric) the length in blocks of the BIP9 signalling period \n"
|
||||
" \"threshold\" : xx, (numeric) the number of blocks with the version bit set required to activate the feature \n"
|
||||
" \"elapsed\" : xx, (numeric) the number of blocks elapsed since the beginning of the current period \n"
|
||||
" \"count\" : xx, (numeric) the number of blocks with the version bit set in the current period \n"
|
||||
" \"possible\" : xx (boolean) returns false if there are not enough blocks left in this period to pass activation threshold \n"
|
||||
" }\n"
|
||||
" },\n"
|
||||
" \"height\": \"xxxxxx\", (numeric) height of the first block which the rules are or will be enforced (only for \"buried\" type, or \"bip9\" type with \"active\" status)\n"
|
||||
" \"active\": xx, (boolean) true if the rules are enforced for the mempool and the next block\n"
|
||||
" \"height\" : \"xxxxxx\", (numeric) height of the first block which the rules are or will be enforced (only for \"buried\" type, or \"bip9\" type with \"active\" status)\n"
|
||||
" \"active\" : xx, (boolean) true if the rules are enforced for the mempool and the next block\n"
|
||||
" }\n"
|
||||
" }\n"
|
||||
" \"warnings\" : \"...\", (string) any network and blockchain warnings.\n"
|
||||
|
|
@ -1459,16 +1459,16 @@ static UniValue getchaintips(const JSONRPCRequest& request)
|
|||
RPCResult{
|
||||
"[\n"
|
||||
" {\n"
|
||||
" \"height\": xxxx, (numeric) height of the chain tip\n"
|
||||
" \"hash\": \"xxxx\", (string) block hash of the tip\n"
|
||||
" \"branchlen\": 0 (numeric) zero for main chain\n"
|
||||
" \"status\": \"active\" (string) \"active\" for the main chain\n"
|
||||
" \"height\" : xxxx, (numeric) height of the chain tip\n"
|
||||
" \"hash\" : \"xxxx\", (string) block hash of the tip\n"
|
||||
" \"branchlen\" : 0 (numeric) zero for main chain\n"
|
||||
" \"status\" : \"active\" (string) \"active\" for the main chain\n"
|
||||
" },\n"
|
||||
" {\n"
|
||||
" \"height\": xxxx,\n"
|
||||
" \"hash\": \"xxxx\",\n"
|
||||
" \"branchlen\": 1 (numeric) length of branch connecting the tip to the main chain\n"
|
||||
" \"status\": \"xxxx\" (string) status of the chain (active, valid-fork, valid-headers, headers-only, invalid)\n"
|
||||
" \"height\" : xxxx,\n"
|
||||
" \"hash\" : \"xxxx\",\n"
|
||||
" \"branchlen\" : 1 (numeric) length of branch connecting the tip to the main chain\n"
|
||||
" \"status\" : \"xxxx\" (string) status of the chain (active, valid-fork, valid-headers, headers-only, invalid)\n"
|
||||
" }\n"
|
||||
"]\n"
|
||||
"Possible values for status:\n"
|
||||
|
|
@ -1578,13 +1578,13 @@ static UniValue getmempoolinfo(const JSONRPCRequest& request)
|
|||
{},
|
||||
RPCResult{
|
||||
"{\n"
|
||||
" \"loaded\": true|false (boolean) True if the mempool is fully loaded\n"
|
||||
" \"size\": xxxxx, (numeric) Current tx count\n"
|
||||
" \"bytes\": xxxxx, (numeric) Sum of all virtual transaction sizes as defined in BIP 141. Differs from actual serialized size because witness data is discounted\n"
|
||||
" \"usage\": xxxxx, (numeric) Total memory usage for the mempool\n"
|
||||
" \"maxmempool\": xxxxx, (numeric) Maximum memory usage for the mempool\n"
|
||||
" \"mempoolminfee\": xxxxx (numeric) Minimum fee rate in " + CURRENCY_UNIT + "/kB for tx to be accepted. Is the maximum of minrelaytxfee and minimum mempool fee\n"
|
||||
" \"minrelaytxfee\": xxxxx (numeric) Current minimum relay fee for transactions\n"
|
||||
" \"loaded\" : true|false (boolean) True if the mempool is fully loaded\n"
|
||||
" \"size\" : xxxxx, (numeric) Current tx count\n"
|
||||
" \"bytes\" : xxxxx, (numeric) Sum of all virtual transaction sizes as defined in BIP 141. Differs from actual serialized size because witness data is discounted\n"
|
||||
" \"usage\" : xxxxx, (numeric) Total memory usage for the mempool\n"
|
||||
" \"maxmempool\" : xxxxx, (numeric) Maximum memory usage for the mempool\n"
|
||||
" \"mempoolminfee\" : xxxxx (numeric) Minimum fee rate in " + CURRENCY_UNIT + "/kB for tx to be accepted. Is the maximum of minrelaytxfee and minimum mempool fee\n"
|
||||
" \"minrelaytxfee\" : xxxxx (numeric) Current minimum relay fee for transactions\n"
|
||||
"}\n"
|
||||
},
|
||||
RPCExamples{
|
||||
|
|
@ -1718,14 +1718,14 @@ static UniValue getchaintxstats(const JSONRPCRequest& request)
|
|||
},
|
||||
RPCResult{
|
||||
"{\n"
|
||||
" \"time\": xxxxx, (numeric) The timestamp for the final block in the window, expressed in " + UNIX_EPOCH_TIME + ".\n"
|
||||
" \"txcount\": xxxxx, (numeric) The total number of transactions in the chain up to that point.\n"
|
||||
" \"window_final_block_hash\": \"...\", (string) The hash of the final block in the window.\n"
|
||||
" \"window_final_block_height\": xxxxx, (numeric) The height of the final block in the window.\n"
|
||||
" \"window_block_count\": xxxxx, (numeric) Size of the window in number of blocks.\n"
|
||||
" \"window_tx_count\": xxxxx, (numeric) The number of transactions in the window. Only returned if \"window_block_count\" is > 0.\n"
|
||||
" \"window_interval\": xxxxx, (numeric) The elapsed time in the window in seconds. Only returned if \"window_block_count\" is > 0.\n"
|
||||
" \"txrate\": x.xx, (numeric) The average rate of transactions per second in the window. Only returned if \"window_interval\" is > 0.\n"
|
||||
" \"time\" : xxxxx, (numeric) The timestamp for the final block in the window, expressed in " + UNIX_EPOCH_TIME + ".\n"
|
||||
" \"txcount\" : xxxxx, (numeric) The total number of transactions in the chain up to that point.\n"
|
||||
" \"window_final_block_hash\" : \"...\", (string) The hash of the final block in the window.\n"
|
||||
" \"window_final_block_height\" : xxxxx, (numeric) The height of the final block in the window.\n"
|
||||
" \"window_block_count\" : xxxxx, (numeric) Size of the window in number of blocks.\n"
|
||||
" \"window_tx_count\" : xxxxx, (numeric) The number of transactions in the window. Only returned if \"window_block_count\" is > 0.\n"
|
||||
" \"window_interval\" : xxxxx, (numeric) The elapsed time in the window in seconds. Only returned if \"window_block_count\" is > 0.\n"
|
||||
" \"txrate\" : x.xx, (numeric) The average rate of transactions per second in the window. Only returned if \"window_interval\" is > 0.\n"
|
||||
"}\n"
|
||||
},
|
||||
RPCExamples{
|
||||
|
|
@ -1857,41 +1857,41 @@ static UniValue getblockstats(const JSONRPCRequest& request)
|
|||
},
|
||||
RPCResult{
|
||||
"{ (json object)\n"
|
||||
" \"avgfee\": xxxxx, (numeric) Average fee in the block\n"
|
||||
" \"avgfeerate\": xxxxx, (numeric) Average feerate (in satoshis per virtual byte)\n"
|
||||
" \"avgtxsize\": xxxxx, (numeric) Average transaction size\n"
|
||||
" \"blockhash\": xxxxx, (string) The block hash (to check for potential reorgs)\n"
|
||||
" \"feerate_percentiles\": [ (array of numeric) Feerates at the 10th, 25th, 50th, 75th, and 90th percentile weight unit (in satoshis per virtual byte)\n"
|
||||
" \"avgfee\" : xxxxx, (numeric) Average fee in the block\n"
|
||||
" \"avgfeerate\" : xxxxx, (numeric) Average feerate (in satoshis per virtual byte)\n"
|
||||
" \"avgtxsize\" : xxxxx, (numeric) Average transaction size\n"
|
||||
" \"blockhash\" : xxxxx, (string) The block hash (to check for potential reorgs)\n"
|
||||
" \"feerate_percentiles\" : [ (array of numeric) Feerates at the 10th, 25th, 50th, 75th, and 90th percentile weight unit (in satoshis per virtual byte)\n"
|
||||
" \"10th_percentile_feerate\", (numeric) The 10th percentile feerate\n"
|
||||
" \"25th_percentile_feerate\", (numeric) The 25th percentile feerate\n"
|
||||
" \"50th_percentile_feerate\", (numeric) The 50th percentile feerate\n"
|
||||
" \"75th_percentile_feerate\", (numeric) The 75th percentile feerate\n"
|
||||
" \"90th_percentile_feerate\", (numeric) The 90th percentile feerate\n"
|
||||
" ],\n"
|
||||
" \"height\": xxxxx, (numeric) The height of the block\n"
|
||||
" \"ins\": xxxxx, (numeric) The number of inputs (excluding coinbase)\n"
|
||||
" \"maxfee\": xxxxx, (numeric) Maximum fee in the block\n"
|
||||
" \"maxfeerate\": xxxxx, (numeric) Maximum feerate (in satoshis per virtual byte)\n"
|
||||
" \"maxtxsize\": xxxxx, (numeric) Maximum transaction size\n"
|
||||
" \"medianfee\": xxxxx, (numeric) Truncated median fee in the block\n"
|
||||
" \"mediantime\": xxxxx, (numeric) The block median time past\n"
|
||||
" \"mediantxsize\": xxxxx, (numeric) Truncated median transaction size\n"
|
||||
" \"minfee\": xxxxx, (numeric) Minimum fee in the block\n"
|
||||
" \"minfeerate\": xxxxx, (numeric) Minimum feerate (in satoshis per virtual byte)\n"
|
||||
" \"mintxsize\": xxxxx, (numeric) Minimum transaction size\n"
|
||||
" \"outs\": xxxxx, (numeric) The number of outputs\n"
|
||||
" \"subsidy\": xxxxx, (numeric) The block subsidy\n"
|
||||
" \"swtotal_size\": xxxxx, (numeric) Total size of all segwit transactions\n"
|
||||
" \"swtotal_weight\": xxxxx, (numeric) Total weight of all segwit transactions divided by segwit scale factor (4)\n"
|
||||
" \"swtxs\": xxxxx, (numeric) The number of segwit transactions\n"
|
||||
" \"time\": xxxxx, (numeric) The block time\n"
|
||||
" \"total_out\": xxxxx, (numeric) Total amount in all outputs (excluding coinbase and thus reward [ie subsidy + totalfee])\n"
|
||||
" \"total_size\": xxxxx, (numeric) Total size of all non-coinbase transactions\n"
|
||||
" \"total_weight\": xxxxx, (numeric) Total weight of all non-coinbase transactions divided by segwit scale factor (4)\n"
|
||||
" \"totalfee\": xxxxx, (numeric) The fee total\n"
|
||||
" \"txs\": xxxxx, (numeric) The number of transactions (excluding coinbase)\n"
|
||||
" \"utxo_increase\": xxxxx, (numeric) The increase/decrease in the number of unspent outputs\n"
|
||||
" \"utxo_size_inc\": xxxxx, (numeric) The increase/decrease in size for the utxo index (not discounting op_return and similar)\n"
|
||||
" \"height\" : xxxxx, (numeric) The height of the block\n"
|
||||
" \"ins\" : xxxxx, (numeric) The number of inputs (excluding coinbase)\n"
|
||||
" \"maxfee\" : xxxxx, (numeric) Maximum fee in the block\n"
|
||||
" \"maxfeerate\" : xxxxx, (numeric) Maximum feerate (in satoshis per virtual byte)\n"
|
||||
" \"maxtxsize\" : xxxxx, (numeric) Maximum transaction size\n"
|
||||
" \"medianfee\" : xxxxx, (numeric) Truncated median fee in the block\n"
|
||||
" \"mediantime\" : xxxxx, (numeric) The block median time past\n"
|
||||
" \"mediantxsize\" : xxxxx, (numeric) Truncated median transaction size\n"
|
||||
" \"minfee\" : xxxxx, (numeric) Minimum fee in the block\n"
|
||||
" \"minfeerate\" : xxxxx, (numeric) Minimum feerate (in satoshis per virtual byte)\n"
|
||||
" \"mintxsize\" : xxxxx, (numeric) Minimum transaction size\n"
|
||||
" \"outs\" : xxxxx, (numeric) The number of outputs\n"
|
||||
" \"subsidy\" : xxxxx, (numeric) The block subsidy\n"
|
||||
" \"swtotal_size\" : xxxxx, (numeric) Total size of all segwit transactions\n"
|
||||
" \"swtotal_weight\" : xxxxx, (numeric) Total weight of all segwit transactions divided by segwit scale factor (4)\n"
|
||||
" \"swtxs\" : xxxxx, (numeric) The number of segwit transactions\n"
|
||||
" \"time\" : xxxxx, (numeric) The block time\n"
|
||||
" \"total_out\" : xxxxx, (numeric) Total amount in all outputs (excluding coinbase and thus reward [ie subsidy + totalfee])\n"
|
||||
" \"total_size\" : xxxxx, (numeric) Total size of all non-coinbase transactions\n"
|
||||
" \"total_weight\" : xxxxx, (numeric) Total weight of all non-coinbase transactions divided by segwit scale factor (4)\n"
|
||||
" \"totalfee\" : xxxxx, (numeric) The fee total\n"
|
||||
" \"txs\" : xxxxx, (numeric) The number of transactions (excluding coinbase)\n"
|
||||
" \"utxo_increase\" : xxxxx, (numeric) The increase/decrease in the number of unspent outputs\n"
|
||||
" \"utxo_size_inc\" : xxxxx, (numeric) The increase/decrease in size for the utxo index (not discounting op_return and similar)\n"
|
||||
"}\n"
|
||||
},
|
||||
RPCExamples{
|
||||
|
|
@ -2235,19 +2235,19 @@ UniValue scantxoutset(const JSONRPCRequest& request)
|
|||
},
|
||||
RPCResult{
|
||||
"{\n"
|
||||
" \"success\": true|false, (boolean) Whether the scan was completed\n"
|
||||
" \"txouts\": n, (numeric) The number of unspent transaction outputs scanned\n"
|
||||
" \"height\": n, (numeric) The current block height (index)\n"
|
||||
" \"bestblock\": \"hex\", (string) The hash of the block at the tip of the chain\n"
|
||||
" \"unspents\": [\n"
|
||||
" \"success\" : true|false, (boolean) Whether the scan was completed\n"
|
||||
" \"txouts\" : n, (numeric) The number of unspent transaction outputs scanned\n"
|
||||
" \"height\" : n, (numeric) The current block height (index)\n"
|
||||
" \"bestblock\" : \"hex\", (string) The hash of the block at the tip of the chain\n"
|
||||
" \"unspents\" : [\n"
|
||||
" {\n"
|
||||
" \"txid\": \"hash\", (string) The transaction id\n"
|
||||
" \"vout\": n, (numeric) The vout value\n"
|
||||
" \"scriptPubKey\": \"script\", (string) The script key\n"
|
||||
" \"desc\": \"descriptor\", (string) A specialized descriptor for the matched scriptPubKey\n"
|
||||
" \"amount\": x.xxx, (numeric) The total amount in " + CURRENCY_UNIT + " of the unspent output\n"
|
||||
" \"asset\" : \"asset\", (hex) The asset ID\n"
|
||||
" \"height\": n, (numeric) Height of the unspent transaction output\n"
|
||||
" \"txid\" : \"hash\", (string) The transaction id\n"
|
||||
" \"vout\" : n, (numeric) The vout value\n"
|
||||
" \"scriptPubKey\" : \"script\", (string) The script key\n"
|
||||
" \"desc\" : \"descriptor\", (string) A specialized descriptor for the matched scriptPubKey\n"
|
||||
" \"amount\" : x.xxx, (numeric) The total amount in " + CURRENCY_UNIT + " of the unspent output\n"
|
||||
" \"asset\" : \"asset\", (hex) The asset ID\n"
|
||||
" \"height\" : n, (numeric) Height of the unspent transaction output\n"
|
||||
" }\n"
|
||||
" ,...], \n"
|
||||
" \"total_unblinded_bitcoin_amount\" : x.xxx, (numeric) The total amount of all found unspent unblinded outputs in " + CURRENCY_UNIT + "\n"
|
||||
|
|
@ -2552,10 +2552,10 @@ UniValue dumptxoutset(const JSONRPCRequest& request)
|
|||
},
|
||||
RPCResult{
|
||||
"{\n"
|
||||
" \"coins_written\": n, (numeric) the number of coins written in the snapshot\n"
|
||||
" \"base_hash\": \"...\", (string) the hash of the base of the snapshot\n"
|
||||
" \"base_height\": n, (string) the height of the base of the snapshot\n"
|
||||
" \"path\": \"...\" (string) the absolute path that the snapshot was written to\n"
|
||||
" \"coins_written\" : n, (numeric) the number of coins written in the snapshot\n"
|
||||
" \"base_hash\" : \"...\", (string) the hash of the base of the snapshot\n"
|
||||
" \"base_height\" : n, (string) the height of the base of the snapshot\n"
|
||||
" \"path\" : \"...\" (string) the absolute path that the snapshot was written to\n"
|
||||
"]\n"
|
||||
},
|
||||
RPCExamples{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue