Skip to content

Commit 8bd2ab1

Browse files
shesekfanquake
authored andcommitted
docs: Correct description for getblockstats's txs field
It does count the coinbase transaction. Refs #19766 Github-Pull: #19777 Rebased-From: 4148f55
1 parent a8411b3 commit 8bd2ab1

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
@@ -1717,7 +1717,7 @@ static UniValue getblockstats(const JSONRPCRequest& request)
17171717
" \"90th_percentile_feerate\", (numeric) The 90th percentile feerate\n"
17181718
" ],\n"
17191719
" \"height\": xxxxx, (numeric) The height of the block\n"
1720-
" \"ins\": xxxxx, (numeric) The number of inputs (excluding coinbase)\n"
1720+
" \"ins\": xxxxx, (numeric) The number of inputs (including coinbase)\n"
17211721
" \"maxfee\": xxxxx, (numeric) Maximum fee in the block\n"
17221722
" \"maxfeerate\": xxxxx, (numeric) Maximum feerate (in satoshis per virtual byte)\n"
17231723
" \"maxtxsize\": xxxxx, (numeric) Maximum transaction size\n"

0 commit comments

Comments
 (0)