mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Mempool consistency check
This commit is contained in:
committed by
Pieter Wuille
parent
f0784ac470
commit
2461aba1ac
@@ -1077,6 +1077,7 @@ public:
|
||||
class CTxMemPool
|
||||
{
|
||||
public:
|
||||
static bool fChecks;
|
||||
mutable CCriticalSection cs;
|
||||
std::map<uint256, CTransaction> mapTx;
|
||||
std::map<COutPoint, CInPoint> mapNextTx;
|
||||
@@ -1088,6 +1089,7 @@ public:
|
||||
void clear();
|
||||
void queryHashes(std::vector<uint256>& vtxid);
|
||||
void pruneSpent(const uint256& hash, CCoins &coins);
|
||||
void check(CCoinsViewCache *pcoins) const;
|
||||
|
||||
unsigned long size()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user