|
|
|
@ -577,8 +577,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 CTxMemPoolEntry& entry, bool validFeeEstimate = true) EXCLUSIVE_LOCKS_REQUIRED(cs);
|
|
|
|
|
void addUnchecked(const CTxMemPoolEntry& entry, setEntries& setAncestors, bool validFeeEstimate = true) EXCLUSIVE_LOCKS_REQUIRED(cs);
|
|
|
|
|
void addUnchecked(const CTxMemPoolEntry& entry, bool validFeeEstimate = true) EXCLUSIVE_LOCKS_REQUIRED(cs, cs_main);
|
|
|
|
|
void addUnchecked(const CTxMemPoolEntry& entry, setEntries& setAncestors, bool validFeeEstimate = true) EXCLUSIVE_LOCKS_REQUIRED(cs, cs_main);
|
|
|
|
|
|
|
|
|
|
void removeRecursive(const CTransaction &tx, MemPoolRemovalReason reason = MemPoolRemovalReason::UNKNOWN);
|
|
|
|
|
void removeForReorg(const CCoinsViewCache *pcoins, unsigned int nMemPoolHeight, int flags) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
|
|
|
|
@ -630,7 +630,7 @@ public:
|
|
|
|
|
* for). Note: vHashesToUpdate should be the set of transactions from the
|
|
|
|
|
* disconnected block that have been accepted back into the mempool.
|
|
|
|
|
*/
|
|
|
|
|
void UpdateTransactionsFromBlock(const std::vector<uint256> &vHashesToUpdate);
|
|
|
|
|
void UpdateTransactionsFromBlock(const std::vector<uint256>& vHashesToUpdate) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
|
|
|
|
|
|
|
|
|
|
/** Try to calculate all in-mempool ancestors of entry.
|
|
|
|
|
* (these are all calculated including the tx itself)
|
|
|
|
@ -672,7 +672,7 @@ public:
|
|
|
|
|
*/
|
|
|
|
|
void GetTransactionAncestry(const uint256& txid, size_t& ancestors, size_t& descendants) const;
|
|
|
|
|
|
|
|
|
|
unsigned long size()
|
|
|
|
|
unsigned long size() const
|
|
|
|
|
{
|
|
|
|
|
LOCK(cs);
|
|
|
|
|
return mapTx.size();
|
|
|
|
|