docs: Correct description for getblockstats's txs field

It does count the coinbase transaction.

Refs #19766

Github-Pull: #19777
Rebased-From: 4148f55dd0
This commit is contained in:
Nadav Ivgi 2020-08-21 17:41:02 +03:00 committed by fanquake
parent a8411b3d9c
commit 8bd2ab1f35
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -1717,7 +1717,7 @@ static UniValue getblockstats(const JSONRPCRequest& request)
" \"90th_percentile_feerate\", (numeric) The 90th percentile feerate\n" " \"90th_percentile_feerate\", (numeric) The 90th percentile feerate\n"
" ],\n" " ],\n"
" \"height\": xxxxx, (numeric) The height of the block\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" " \"maxfee\": xxxxx, (numeric) Maximum fee in the block\n"
" \"maxfeerate\": xxxxx, (numeric) Maximum feerate (in satoshis per virtual byte)\n" " \"maxfeerate\": xxxxx, (numeric) Maximum feerate (in satoshis per virtual byte)\n"
" \"maxtxsize\": xxxxx, (numeric) Maximum transaction size\n" " \"maxtxsize\": xxxxx, (numeric) Maximum transaction size\n"