Skip to content

Commit 867dbeb

Browse files
author
MarcoFalke
committed
Merge #20281: docs: Correct getblockstats documentation for (sw)total_weight
5d99174 docs: Correct getblockstats documentation for (sw)total_weight (Nadav Ivgi) Pull request description: ACKs for top commit: MarcoFalke: ACK 5d99174 Tree-SHA512: eb9e8f05c61d5363cf698f0b9b51ff42557e783be64c6a814cd8f4073499ff0cbfe00528b12cc0f5e4de245458a62cbd30eb817a7d1e020ee3cbfa83a95eb550
2 parents 26d7941 + 5d99174 commit 867dbeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rpc/blockchain.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1816,12 +1816,12 @@ static RPCHelpMan getblockstats()
18161816
{RPCResult::Type::NUM, "outs", "The number of outputs"},
18171817
{RPCResult::Type::NUM, "subsidy", "The block subsidy"},
18181818
{RPCResult::Type::NUM, "swtotal_size", "Total size of all segwit transactions"},
1819-
{RPCResult::Type::NUM, "swtotal_weight", "Total weight of all segwit transactions divided by segwit scale factor (4)"},
1819+
{RPCResult::Type::NUM, "swtotal_weight", "Total weight of all segwit transactions"},
18201820
{RPCResult::Type::NUM, "swtxs", "The number of segwit transactions"},
18211821
{RPCResult::Type::NUM, "time", "The block time"},
18221822
{RPCResult::Type::NUM, "total_out", "Total amount in all outputs (excluding coinbase and thus reward [ie subsidy + totalfee])"},
18231823
{RPCResult::Type::NUM, "total_size", "Total size of all non-coinbase transactions"},
1824-
{RPCResult::Type::NUM, "total_weight", "Total weight of all non-coinbase transactions divided by segwit scale factor (4)"},
1824+
{RPCResult::Type::NUM, "total_weight", "Total weight of all non-coinbase transactions"},
18251825
{RPCResult::Type::NUM, "totalfee", "The fee total"},
18261826
{RPCResult::Type::NUM, "txs", "The number of transactions (including coinbase)"},
18271827
{RPCResult::Type::NUM, "utxo_increase", "The increase/decrease in the number of unspent outputs"},

0 commit comments

Comments
 (0)