From dcba1cefeebc4e53995177e0461cc8ccf39d7d35 Mon Sep 17 00:00:00 2001 From: 4tochka Date: Wed, 8 May 2019 00:48:38 +0400 Subject: [PATCH] connector --- pybtc/connector/connector.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pybtc/connector/connector.py b/pybtc/connector/connector.py index 9292082..7369167 100644 --- a/pybtc/connector/connector.py +++ b/pybtc/connector/connector.py @@ -369,10 +369,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 not self.deep_synchronization: + # self.utxo.destroy_utxo(block["height"]) + # elif block["height"] % 1000 == 0: + # self.utxo.destroy_utxo(block["height"]) + pass self.blocks_processed_count += 1