diff options
author | Alex Morcos <morcos@chaincode.com> | 2016-11-11 14:16:42 -0500 |
---|---|---|
committer | Alex Morcos <morcos@chaincode.com> | 2017-01-04 12:09:34 -0500 |
commit | ebafdcabb10a89b491cdb8430bc43b0220d436df (patch) | |
tree | 9202ddfb803496ab2de305dc29a4a866cb49747a /src/policy/fees.h | |
parent | d825838e6472f73c491f93506cb003472f071602 (diff) |
Pass pointers to existing CTxMemPoolEntries to fee estimation
Diffstat (limited to 'src/policy/fees.h')
-rw-r--r-- | src/policy/fees.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/policy/fees.h b/src/policy/fees.h index a61ae18130..e1684ebcb9 100644 --- a/src/policy/fees.h +++ b/src/policy/fees.h @@ -203,10 +203,10 @@ public: /** Process all the transactions that have been included in a block */ void processBlock(unsigned int nBlockHeight, - std::vector<CTxMemPoolEntry>& entries); + std::vector<const CTxMemPoolEntry*>& entries); /** Process a transaction confirmed in a block*/ - void processBlockTx(unsigned int nBlockHeight, const CTxMemPoolEntry& entry); + void processBlockTx(unsigned int nBlockHeight, const CTxMemPoolEntry* entry); /** Process a transaction accepted to the mempool*/ void processTransaction(const CTxMemPoolEntry& entry, bool validFeeEstimate); |