diff options
| author | MarcoFalke <[email protected]> | 2020-11-02 08:44:55 +0100 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2020-11-02 08:44:59 +0100 |
| commit | 867dbeba5f91be15ca0d4a7303a71957ff9a37ad (patch) | |
| tree | 254f8f8c4019bfb5689f6b066d65383462ce939e /src | |
| parent | Merge #20230: wallet: Fix bug when just created encrypted wallet cannot get a... (diff) | |
| parent | docs: Correct getblockstats documentation for (sw)total_weight (diff) | |
| download | discoin-867dbeba5f91be15ca0d4a7303a71957ff9a37ad.tar.xz discoin-867dbeba5f91be15ca0d4a7303a71957ff9a37ad.zip | |
Merge #20281: docs: Correct getblockstats documentation for (sw)total_weight
5d9917464a7987ebe82e1355015d1c6f4cb91657 docs: Correct getblockstats documentation for (sw)total_weight (Nadav Ivgi)
Pull request description:
ACKs for top commit:
MarcoFalke:
ACK 5d9917464a7987ebe82e1355015d1c6f4cb91657
Tree-SHA512: eb9e8f05c61d5363cf698f0b9b51ff42557e783be64c6a814cd8f4073499ff0cbfe00528b12cc0f5e4de245458a62cbd30eb817a7d1e020ee3cbfa83a95eb550
Diffstat (limited to 'src')
| -rw-r--r-- | src/rpc/blockchain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index a162c1ee7..392073d04 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -1816,12 +1816,12 @@ static RPCHelpMan getblockstats() {RPCResult::Type::NUM, "outs", "The number of outputs"}, {RPCResult::Type::NUM, "subsidy", "The block subsidy"}, {RPCResult::Type::NUM, "swtotal_size", "Total size of all segwit transactions"}, - {RPCResult::Type::NUM, "swtotal_weight", "Total weight of all segwit transactions divided by segwit scale factor (4)"}, + {RPCResult::Type::NUM, "swtotal_weight", "Total weight of all segwit transactions"}, {RPCResult::Type::NUM, "swtxs", "The number of segwit transactions"}, {RPCResult::Type::NUM, "time", "The block time"}, {RPCResult::Type::NUM, "total_out", "Total amount in all outputs (excluding coinbase and thus reward [ie subsidy + totalfee])"}, {RPCResult::Type::NUM, "total_size", "Total size of all non-coinbase transactions"}, - {RPCResult::Type::NUM, "total_weight", "Total weight of all non-coinbase transactions divided by segwit scale factor (4)"}, + {RPCResult::Type::NUM, "total_weight", "Total weight of all non-coinbase transactions"}, {RPCResult::Type::NUM, "totalfee", "The fee total"}, {RPCResult::Type::NUM, "txs", "The number of transactions (including coinbase)"}, {RPCResult::Type::NUM, "utxo_increase", "The increase/decrease in the number of unspent outputs"}, |