Skip to content

Commit af7fba3

Browse files
committed
Merge bitcoin/bitcoin#23980: doc: Fix typo in getmempoolinfo (z->s)
fab1641 doc: Fix typo in getmempoolinfo (MarcoFalke) Pull request description: Also, remove whitespace. Can be reviewed with `--ignore-all-space --word-diff-regex=.`. ACKs for top commit: laanwj: Good catch. ACK fab1641 shaavan: ACK fab1641 Tree-SHA512: 9d51ef4a4eccfcf437c99a9f84f48e4f090d75715332ad2b4cf10ad77c3691de03255b4817e9fd203fad9baf338066982304dc62fab93dd605e735943f8ca346
2 parents 8f1c28a + fab1641 commit af7fba3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/rpc/blockchain.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) 2010 Satoshi Nakamoto
2-
// Copyright (c) 2009-2021 The Bitcoin Core developers
2+
// Copyright (c) 2009-2022 The Bitcoin Core developers
33
// Distributed under the MIT software license, see the accompanying
44
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
55

@@ -19,10 +19,10 @@
1919
#include <hash.h>
2020
#include <index/blockfilterindex.h>
2121
#include <index/coinstatsindex.h>
22+
#include <logging/timer.h>
2223
#include <net.h>
2324
#include <net_processing.h>
2425
#include <node/blockstorage.h>
25-
#include <logging/timer.h>
2626
#include <node/coinstats.h>
2727
#include <node/context.h>
2828
#include <node/utxo_snapshot.h>
@@ -1743,7 +1743,7 @@ static RPCHelpMan getmempoolinfo()
17431743
{RPCResult::Type::NUM, "size", "Current tx count"},
17441744
{RPCResult::Type::NUM, "bytes", "Sum of all virtual transaction sizes as defined in BIP 141. Differs from actual serialized size because witness data is discounted"},
17451745
{RPCResult::Type::NUM, "usage", "Total memory usage for the mempool"},
1746-
{RPCResult::Type::STR_AMOUNT, "total_fee", "Total fees for the mempool in " + CURRENCY_UNIT + ", ignoring modified fees through prioritizetransaction"},
1746+
{RPCResult::Type::STR_AMOUNT, "total_fee", "Total fees for the mempool in " + CURRENCY_UNIT + ", ignoring modified fees through prioritisetransaction"},
17471747
{RPCResult::Type::NUM, "maxmempool", "Maximum memory usage for the mempool"},
17481748
{RPCResult::Type::STR_AMOUNT, "mempoolminfee", "Minimum fee rate in " + CURRENCY_UNIT + "/kvB for tx to be accepted. Is the maximum of minrelaytxfee and minimum mempool fee"},
17491749
{RPCResult::Type::STR_AMOUNT, "minrelaytxfee", "Current minimum relay fee for transactions"},

0 commit comments

Comments
 (0)