aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-01-05 12:06:26 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2017-01-05 12:06:42 +0100
commitce43630d1e97368f454ad6a7b65a24263ab5be71 (patch)
tree7612898ce52d094da87a2e32ad0c05a1cb5d6778 /src/txmempool.h
parent4cfd57d2e38207d78722ce8c9274ba8dd700d1cc (diff)
parentd29505db22892548a5eca5567bf8acf4e950efea (diff)
downloadbitcoin-ce43630d1e97368f454ad6a7b65a24263ab5be71.tar.xz
Merge #8747: [rpc] Fix transaction size comments and RPC help text.
d29505d Fix transaction size comments. Size now refers to virtual size as defined in BIP141. (jonnynewbs)
Diffstat (limited to 'src/txmempool.h')
-rw-r--r--src/txmempool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.h b/src/txmempool.h
index 7c68053f26..3f8ab59504 100644
--- a/src/txmempool.h
+++ b/src/txmempool.h
@@ -422,7 +422,7 @@ private:
unsigned int nTransactionsUpdated;
CBlockPolicyEstimator* minerPolicyEstimator;
- uint64_t totalTxSize; //!< sum of all mempool tx' byte sizes
+ uint64_t totalTxSize; //!< sum of all mempool tx's virtual sizes. Differs from serialized tx size since witness data is discounted. Defined in BIP 141.
uint64_t cachedInnerUsage; //!< sum of dynamic memory usage of all the map elements (NOT the maps themselves)
CFeeRate minReasonableRelayFee;