diff options
| author | Alex Morcos <[email protected]> | 2017-03-09 15:26:05 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2017-05-10 11:45:27 -0400 |
| commit | c7447ec30348b338e77bc6429fbfac9f93549ef6 (patch) | |
| tree | d29e992933923be972226b92b687cd081183e504 /src/txmempool.cpp | |
| parent | Expose estimaterawfee (diff) | |
| download | discoin-c7447ec30348b338e77bc6429fbfac9f93549ef6.tar.xz discoin-c7447ec30348b338e77bc6429fbfac9f93549ef6.zip | |
Track failures in fee estimation.
Start tracking transactions which fail to confirm within the target and are then evicted or otherwise leave mempool.
Fix slight error in unit test.
Diffstat (limited to 'src/txmempool.cpp')
| -rw-r--r-- | src/txmempool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index ac842da6b..a83805267 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -448,7 +448,7 @@ void CTxMemPool::removeUnchecked(txiter it, MemPoolRemovalReason reason) mapLinks.erase(it); mapTx.erase(it); nTransactionsUpdated++; - if (minerPolicyEstimator) {minerPolicyEstimator->removeTx(hash);} + if (minerPolicyEstimator) {minerPolicyEstimator->removeTx(hash, false);} } // Calculates descendants of entry that are not already in setDescendants, and adds to |