From 2461aba1ac4e0673ed0568713b48e4bb37c8b041 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Sat, 3 Aug 2013 13:08:34 +0200 Subject: Mempool consistency check --- src/main.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.h') 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 mapTx; std::map mapNextTx; @@ -1088,6 +1089,7 @@ public: void clear(); void queryHashes(std::vector& vtxid); void pruneSpent(const uint256& hash, CCoins &coins); + void check(CCoinsViewCache *pcoins) const; unsigned long size() { -- cgit v1.2.3