aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2017-04-03 16:31:51 -0400
committerSuhas Daftuar <sdaftuar@chaincode.com>2017-05-06 05:27:21 -0400
commitacc2e4bc96ed705aed3b331141028f7b838eccbe (patch)
tree9354d44ab5933e5167003b072b0e429b004ccb5a /src/txmempool.h
parent35da2aeed7d4000dde93957c3b6e048ab83c4f2b (diff)
Bugfix: PrioritiseTransaction updates the mempool tx counter
The mempool's nTransactionsUpdated is used by getblocktemplate to trigger new invocations of CreateNewBlock().
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 92c4d9f9d4..9fb8c40e1f 100644
--- a/src/txmempool.h
+++ b/src/txmempool.h
@@ -411,7 +411,7 @@ class CTxMemPool
{
private:
uint32_t nCheckFrequency; //!< Value n means that n times in 2^32 we check.
- unsigned int nTransactionsUpdated;
+ unsigned int nTransactionsUpdated; //!< Used by getblocktemplate to trigger CreateNewBlock() invocation
CBlockPolicyEstimator* minerPolicyEstimator;
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.