connector

This commit is contained in:
4tochka 2019-05-08 03:42:41 +04:00
parent dd3afcdb53
commit d71ba62364

View File

@ -377,11 +377,11 @@ class Connector:
self.block_headers_cache.set(block["hash"], block["height"])
self.last_block_height = block["height"]
# if self.utxo_data:
# if not self.deep_synchronization:
# self.utxo.destroy_utxo(block["height"])
# elif block["height"] % 100 == 0:
# self.utxo.destroy_utxo(block["height"])
if self.utxo_data:
if not self.deep_synchronization:
self.utxo.destroy_utxo(block["height"])
elif block["height"] % 200 == 0:
self.utxo.destroy_utxo(block["height"])
self.blocks_processed_count += 1