aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
authorjonnynewbs <jonnynewbs@gmail.com>2016-09-15 10:46:01 -0400
committerJohn Newbery <john@johnnewbery.com>2016-12-08 17:03:57 +0000
commitd29505db22892548a5eca5567bf8acf4e950efea (patch)
tree7d9a3c11b423497c74e52af6ebc3d88667aab77b /src/txmempool.h
parent7490ae8b699d2955b665cf849d86ff5bb5245c28 (diff)
downloadbitcoin-d29505db22892548a5eca5567bf8acf4e950efea.tar.xz
Fix transaction size comments. Size now refers to virtual size as defined in BIP141.
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 29b59363a2..ced74aa470 100644
--- a/src/txmempool.h
+++ b/src/txmempool.h
@@ -421,7 +421,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;