aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2013-08-03 13:08:34 +0200
committerPieter Wuille <pieterw@google.com>2013-08-15 23:55:35 +0200
commit2461aba1ac4e0673ed0568713b48e4bb37c8b041 (patch)
tree354795fad656bcf84a1edb174b1538dba263bb32 /src/main.h
parentf0784ac470a5541343e7985ceb0cb3c28d9a964e (diff)
Mempool consistency check
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index ea86a2bcc0..a690a2bc9c 100644
--- a/src/main.h
+++ b/src/main.h
@@ -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()
{