aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
authorjonnynewbs <[email protected]>2016-09-15 10:46:01 -0400
committerJohn Newbery <[email protected]>2016-12-08 17:03:57 +0000
commitd29505db22892548a5eca5567bf8acf4e950efea (patch)
tree7d9a3c11b423497c74e52af6ebc3d88667aab77b /src/txmempool.h
parentMerge #9125: Make CBlock a vector of shared_ptr of CTransactions (diff)
downloaddiscoin-d29505db22892548a5eca5567bf8acf4e950efea.tar.xz
discoin-d29505db22892548a5eca5567bf8acf4e950efea.zip
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 29b59363a..ced74aa47 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;