aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
authorSuhas Daftuar <[email protected]>2015-10-19 12:43:38 -0400
committerSuhas Daftuar <[email protected]>2016-03-14 12:11:09 -0400
commit5de2baa138cda501038a4558bc169b2cfe5b7d6b (patch)
tree09ac5f907ece46db950951e56144caa64db61156 /src/txmempool.h
parentCTxMemPool::removeForBlock now uses RemoveStaged (diff)
downloadarchived-discoin-5de2baa138cda501038a4558bc169b2cfe5b7d6b.tar.xz
archived-discoin-5de2baa138cda501038a4558bc169b2cfe5b7d6b.zip
Rename CTxMemPool::remove -> removeRecursive
remove is no longer called non-recursively, so simplify the logic and eliminate an unnecessary parameter
Diffstat (limited to 'src/txmempool.h')
-rw-r--r--src/txmempool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.h b/src/txmempool.h
index 7a2a1ef43..da5a97649 100644
--- a/src/txmempool.h
+++ b/src/txmempool.h
@@ -428,7 +428,7 @@ public:
bool addUnchecked(const uint256& hash, const CTxMemPoolEntry &entry, bool fCurrentEstimate = true);
bool addUnchecked(const uint256& hash, const CTxMemPoolEntry &entry, setEntries &setAncestors, bool fCurrentEstimate = true);
- void remove(const CTransaction &tx, std::list<CTransaction>& removed, bool fRecursive = false);
+ void removeRecursive(const CTransaction &tx, std::list<CTransaction>& removed);
void removeForReorg(const CCoinsViewCache *pcoins, unsigned int nMemPoolHeight, int flags);
void removeConflicts(const CTransaction &tx, std::list<CTransaction>& removed);
void removeForBlock(const std::vector<CTransaction>& vtx, unsigned int nBlockHeight,