Skip to content

Commit 5d99174

Browse files
committed
docs: Correct getblockstats documentation for (sw)total_weight
1 parent 42b66a6 commit 5d99174

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)