diff options
author | Alex Morcos <morcos@chaincode.com> | 2016-11-11 13:40:27 -0500 |
---|---|---|
committer | Alex Morcos <morcos@chaincode.com> | 2017-01-04 12:10:18 -0500 |
commit | 5fe0f47aa7d4cd4ed58ad37e6e4035f5c0625a23 (patch) | |
tree | c94eb4881fdd09b1d728863dddd6cae35f3cbf8d /src/policy/fees.h | |
parent | dc008c462f6df84dd444c9646f7ca64ee1c8c841 (diff) |
Add extra logging to processBlock in fee estimation.
Diffstat (limited to 'src/policy/fees.h')
-rw-r--r-- | src/policy/fees.h | 5 |
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 |