aboutsummaryrefslogtreecommitdiff
path: root/src/policy/fees.h
diff options
context:
space:
mode:
authorAlex Morcos <morcos@chaincode.com>2016-11-11 13:40:27 -0500
committerAlex Morcos <morcos@chaincode.com>2017-01-04 12:10:18 -0500
commit5fe0f47aa7d4cd4ed58ad37e6e4035f5c0625a23 (patch)
treec94eb4881fdd09b1d728863dddd6cae35f3cbf8d /src/policy/fees.h
parentdc008c462f6df84dd444c9646f7ca64ee1c8c841 (diff)
Add extra logging to processBlock in fee estimation.
Diffstat (limited to 'src/policy/fees.h')
-rw-r--r--src/policy/fees.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/policy/fees.h b/src/policy/fees.h
index e1684ebcb9..064466afe4 100644
--- a/src/policy/fees.h
+++ b/src/policy/fees.h
@@ -206,7 +206,7 @@ public:
std::vector<const CTxMemPoolEntry*>& entries);
/** Process a transaction confirmed in a block*/
- void processBlockTx(unsigned int nBlockHeight, const CTxMemPoolEntry* entry);
+ bool processBlockTx(unsigned int nBlockHeight, const CTxMemPoolEntry* entry);
/** Process a transaction accepted to the mempool*/
void processTransaction(const CTxMemPoolEntry& entry, bool validFeeEstimate);
@@ -258,6 +258,9 @@ private:
/** Classes to track historical data on transaction confirmations */
TxConfirmStats feeStats;
+
+ unsigned int trackedTxs;
+ unsigned int untrackedTxs;
};
class FeeFilterRounder