paranoid_checks
authorThomasV <thomasv@gitorious>
Sun, 5 May 2013 16:00:50 +0000 (20:00 +0400)
committerThomasV <thomasv@gitorious>
Sun, 5 May 2013 16:00:50 +0000 (20:00 +0400)
backends/bitcoind/blockchain_processor.py

index 174d186..4f8a69a 100644 (file)
@@ -42,7 +42,7 @@ class BlockchainProcessor(Processor):
 
         self.dblock = threading.Lock()
         try:
-            self.db = leveldb.LevelDB(self.dbpath)
+            self.db = leveldb.LevelDB(self.dbpath, paranoid_checks=True)
         except:
             traceback.print_exc(file=sys.stdout)
             self.shared.stop()