|
|
|
@ -28,6 +28,7 @@
|
|
|
|
|
#include <boost/signals2/signal.hpp>
|
|
|
|
|
|
|
|
|
|
class CBlockIndex;
|
|
|
|
|
extern CCriticalSection cs_main;
|
|
|
|
|
|
|
|
|
|
/** Fake height value used in Coin to signify they are only in the memory pool (since 0.8) */
|
|
|
|
|
static const uint32_t MEMPOOL_HEIGHT = 0x7FFFFFFF;
|
|
|
|
@ -543,7 +544,7 @@ public:
|
|
|
|
|
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);
|
|
|
|
|
void removeForReorg(const CCoinsViewCache *pcoins, unsigned int nMemPoolHeight, int flags) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
|
|
|
|
|
void removeConflicts(const CTransaction &tx) EXCLUSIVE_LOCKS_REQUIRED(cs);
|
|
|
|
|
void removeForBlock(const std::vector<CTransactionRef>& vtx, unsigned int nBlockHeight);
|
|
|
|
|
|
|
|
|
|