aboutsummaryrefslogtreecommitdiff
path: root/src/policy/fees.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/policy/fees.h')
-rw-r--r--src/policy/fees.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/policy/fees.h b/src/policy/fees.h
index 1f10cfb237..064466afe4 100644
--- a/src/policy/fees.h
+++ b/src/policy/fees.h
@@ -203,16 +203,16 @@ public:
/** Process all the transactions that have been included in a block */
void processBlock(unsigned int nBlockHeight,
- std::vector<CTxMemPoolEntry>& entries, bool fCurrentEstimate);
+ 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 fCurrentEstimate);
+ void processTransaction(const CTxMemPoolEntry& entry, bool validFeeEstimate);
/** Remove a transaction from the mempool tracking stats*/
- void removeTx(uint256 hash);
+ bool removeTx(uint256 hash);
/** Return a feerate estimate */
CFeeRate estimateFee(int confTarget);
@@ -258,6 +258,9 @@ private:
/** Classes to track historical data on transaction confirmations */
TxConfirmStats feeStats;
+
+ unsigned int trackedTxs;
+ unsigned int untrackedTxs;
};
class FeeFilterRounder