Skip to content

Commit f30e9be

Browse files
committed
RPC Docs: gettxout*: clarify bestblock and unspent counts
1 parent bf9b03d commit f30e9be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/rpc/blockchain.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -958,9 +958,9 @@ static UniValue gettxoutsetinfo(const JSONRPCRequest& request)
958958
"\nResult:\n"
959959
"{\n"
960960
" \"height\":n, (numeric) The current block height (index)\n"
961-
" \"bestblock\": \"hex\", (string) the best block hash hex\n"
962-
" \"transactions\": n, (numeric) The number of transactions\n"
963-
" \"txouts\": n, (numeric) The number of output transactions\n"
961+
" \"bestblock\": \"hex\", (string) The hash of the block at the tip of the chain\n"
962+
" \"transactions\": n, (numeric) The number of transactions with unspent outputs\n"
963+
" \"txouts\": n, (numeric) The number of unspent transaction outputs\n"
964964
" \"bogosize\": n, (numeric) A meaningless metric for UTXO set size\n"
965965
" \"hash_serialized_2\": \"hash\", (string) The serialized hash\n"
966966
" \"disk_size\": n, (numeric) The estimated size of the chainstate on disk\n"
@@ -1003,7 +1003,7 @@ UniValue gettxout(const JSONRPCRequest& request)
10031003
" Note that an unspent output that is spent in the mempool won't appear.\n"
10041004
"\nResult:\n"
10051005
"{\n"
1006-
" \"bestblock\" : \"hash\", (string) the block hash\n"
1006+
" \"bestblock\": \"hash\", (string) The hash of the block at the tip of the chain\n"
10071007
" \"confirmations\" : n, (numeric) The number of confirmations\n"
10081008
" \"value\" : x.xxx, (numeric) The transaction value in " + CURRENCY_UNIT + "\n"
10091009
" \"scriptPubKey\" : { (json object)\n"

0 commit comments

Comments
 (0)