diff --git a/pybtc/connector.py b/pybtc/connector.py index 21a06ce..75ea04d 100644 --- a/pybtc/connector.py +++ b/pybtc/connector.py @@ -387,6 +387,7 @@ class Connector: self.log.info("Blocks decode time %s;" % self.blocks_decode_time) self.log.info("Blocks non cached %s;" % self.non_cached_blocks) self.log.warning("Blocks cache %s;" % self.block_preload.len()) + self.log.warning("Blocks cache last %s;" % self.block_preload.get_last_key()) # after block added handler if self.after_block_handler and not self.cache_loading: @@ -665,6 +666,7 @@ class Connector: if self.block_preload.len() < 50000: continue + self.log.critical(str((processed_height, self.last_block_height))) for i in range(processed_height, self.last_block_height): self.block_preload.remove(i) processed_height = self.last_block_height