|
|
|
@ -539,8 +539,8 @@ public:
|
|
|
|
|
// Note that addUnchecked is ONLY called from ATMP outside of tests
|
|
|
|
|
// and any other callers may break wallet's in-mempool tracking (due to
|
|
|
|
|
// lack of CValidationInterface::TransactionAddedToMempool callbacks).
|
|
|
|
|
void addUnchecked(const uint256& hash, const CTxMemPoolEntry &entry, bool validFeeEstimate = true);
|
|
|
|
|
void addUnchecked(const uint256& hash, const CTxMemPoolEntry &entry, setEntries &setAncestors, bool validFeeEstimate = true);
|
|
|
|
|
void addUnchecked(const uint256& hash, const CTxMemPoolEntry& entry, bool validFeeEstimate = true) EXCLUSIVE_LOCKS_REQUIRED(cs);
|
|
|
|
|
void addUnchecked(const uint256& hash, const CTxMemPoolEntry& entry, setEntries& setAncestors, bool validFeeEstimate = true) EXCLUSIVE_LOCKS_REQUIRED(cs);
|
|
|
|
|
|
|
|
|
|
void removeRecursive(const CTransaction &tx, MemPoolRemovalReason reason = MemPoolRemovalReason::UNKNOWN);
|
|
|
|
|
void removeForReorg(const CCoinsViewCache *pcoins, unsigned int nMemPoolHeight, int flags);
|
|
|
|
@ -596,7 +596,7 @@ public:
|
|
|
|
|
* fSearchForParents = whether to search a tx's vin for in-mempool parents, or
|
|
|
|
|
* look up parents from mapLinks. Must be true for entries not in the mempool
|
|
|
|
|
*/
|
|
|
|
|
bool CalculateMemPoolAncestors(const CTxMemPoolEntry &entry, setEntries &setAncestors, uint64_t limitAncestorCount, uint64_t limitAncestorSize, uint64_t limitDescendantCount, uint64_t limitDescendantSize, std::string &errString, bool fSearchForParents = true) const;
|
|
|
|
|
bool CalculateMemPoolAncestors(const CTxMemPoolEntry& entry, setEntries& setAncestors, uint64_t limitAncestorCount, uint64_t limitAncestorSize, uint64_t limitDescendantCount, uint64_t limitDescendantSize, std::string& errString, bool fSearchForParents = true) const EXCLUSIVE_LOCKS_REQUIRED(cs);
|
|
|
|
|
|
|
|
|
|
/** Populate setDescendants with all in-mempool descendants of hash.
|
|
|
|
|
* Assumes that setDescendants includes all in-mempool descendants of anything
|
|
|
|
|