1
0

abstract database away from wallet and address_synchronizer

This commit is contained in:
ThomasV
2019-02-20 14:45:15 +01:00
parent 7f2083f667
commit 791e680a96
6 changed files with 258 additions and 189 deletions

View File

@@ -135,8 +135,8 @@ class SPV(NetworkJobOnDefaultServer):
txpos=pos,
header_hash=header_hash)
self.wallet.add_verified_tx(tx_hash, tx_info)
if self.is_up_to_date() and self.wallet.is_up_to_date():
self.wallet.save_verified_tx(write=True)
#if self.is_up_to_date() and self.wallet.is_up_to_date():
# self.wallet.save_verified_tx(write=True)
@classmethod
def hash_merkle_root(cls, merkle_branch: Sequence[str], tx_hash: str, leaf_pos_in_tree: int):