From 3df34fc13a0994c8aac5004baba5706a54148264 Mon Sep 17 00:00:00 2001 From: 4tochka Date: Thu, 9 May 2019 13:21:06 +0400 Subject: [PATCH] connector --- build/lib.macosx-10.9-x86_64-3.7/pybtc/connector.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/lib.macosx-10.9-x86_64-3.7/pybtc/connector.py b/build/lib.macosx-10.9-x86_64-3.7/pybtc/connector.py index d0ce532..1ab8941 100644 --- a/build/lib.macosx-10.9-x86_64-3.7/pybtc/connector.py +++ b/build/lib.macosx-10.9-x86_64-3.7/pybtc/connector.py @@ -77,6 +77,7 @@ class Connector: self.tx_processing_time = 0 self.non_cached_blocks = 0 self.total_received_tx_time = 0 + self.tt = 0 self.start_time = time.time() # cache and system @@ -427,6 +428,7 @@ class Connector: self.utxo.outs_total )) self.log.info("total tx fetch time %s;" % self.total_received_tx_time) + self.log.info("tt fetch time %s;" % self.tt) # after block added handler if self.after_block_handler and not self.cache_loading: @@ -619,6 +621,7 @@ class Connector: for i in tx["vOut"]: try: tx["vOut"][i]["_s_"] + self.tt += 1 except: out = tx["vOut"][i] # if self.skip_opreturn and out["nType"] in (3, 8):