aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadav Ivgi <nadav@shesek.info>2020-08-21 17:41:02 +0300
committerfanquake <fanquake@gmail.com>2020-10-15 07:36:46 +0800
commit8bd2ab1f35f1b3f618fa801debf844eb164a2bd6 (patch)
treefb45636b229f9a5412fda4091fdc3fb921938d60
parenta8411b3d9c37b4c6fcf0ab992d3f622f6bda879b (diff)
downloadbitcoin-8bd2ab1f35f1b3f618fa801debf844eb164a2bd6.tar.xz
docs: Correct description for getblockstats's txs field
It does count the coinbase transaction. Refs #19766 Github-Pull: #19777 Rebased-From: 4148f55dd016f940df50a44cf03d117cdb1dd929
-rw-r--r--src/rpc/blockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp
index ad5be71e21..7c08c0a45f 100644
--- a/src/rpc/blockchain.cpp
+++ b/src/rpc/blockchain.cpp
@@ -1717,7 +1717,7 @@ static UniValue getblockstats(const JSONRPCRequest& request)
" \"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"
+ " \"ins\": xxxxx, (numeric) The number of inputs (including 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"