Skip to content

Commit 197450f

Browse files
author
MarcoFalke
committed
Merge #19777: docs: Correct description for getblockstats's txs field
4148f55 docs: Correct description for getblockstats's txs field (Nadav Ivgi) Pull request description: It does count the coinbase transaction. Refs #19766 ACKs for top commit: MarcoFalke: ACK 4148f55 theStack: ACK 4148f55 Tree-SHA512: ccd420f19242efbbbecfe822c825363bc89e26618834de0d805f5cdb07461c8bdc6e077c61ea8cd0d40564a96c67d8a71c68175c8543bb849909d7ae375b2a92
2 parents d254e6e + 4148f55 commit 197450f

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
@@ -1741,7 +1741,7 @@ static UniValue getblockstats(const JSONRPCRequest& request)
17411741
{RPCResult::Type::NUM, "total_size", "Total size of all non-coinbase transactions"},
17421742
{RPCResult::Type::NUM, "total_weight", "Total weight of all non-coinbase transactions divided by segwit scale factor (4)"},
17431743
{RPCResult::Type::NUM, "totalfee", "The fee total"},
1744-
{RPCResult::Type::NUM, "txs", "The number of transactions (excluding coinbase)"},
1744+
{RPCResult::Type::NUM, "txs", "The number of transactions (including coinbase)"},
17451745
{RPCResult::Type::NUM, "utxo_increase", "The increase/decrease in the number of unspent outputs"},
17461746
{RPCResult::Type::NUM, "utxo_size_inc", "The increase/decrease in size for the utxo index (not discounting op_return and similar)"},
17471747
}},

0 commit comments

Comments
 (0)