X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=backends%2Fbitcoind%2Fstorage.py;h=098d12e61484e5ba90e9516d5c4916df2ab020c3;hb=d0439647dfc60efce32e0a13b0ec02428ba412cf;hp=6dcf0277265dac70880004a407ac0b2753d194c3;hpb=2a8c19f5f3bdae38e9ef89bf7515dc10a7bb1893;p=electrum-server.git diff --git a/backends/bitcoind/storage.py b/backends/bitcoind/storage.py index 6dcf027..098d12e 100644 --- a/backends/bitcoind/storage.py +++ b/backends/bitcoind/storage.py @@ -33,7 +33,7 @@ class Storage(object): traceback.print_exc(file=sys.stdout) self.shared.stop() - self.db_version = 2 # increase this when database needs to be updated + self.db_version = 3 # increase this when database needs to be updated try: self.last_hash, self.height, db_version = ast.literal_eval(self.db_undo.get('height')) print_log("Database version", self.db_version) @@ -42,7 +42,7 @@ class Storage(object): #traceback.print_exc(file=sys.stdout) print_log('initializing database') self.height = 0 - self.last_hash = '000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f' + self.last_hash = '00000a060336cbb72fe969666d337b87198b1add2abaa59cca226820b32933a4' db_version = self.db_version # write root self.put_node('', {})