connector

This commit is contained in:
4tochka 2019-05-09 17:10:41 +04:00
parent 4a86fd16c0
commit fa62d51a98
2 changed files with 3 additions and 2 deletions

View File

@ -255,7 +255,7 @@ class Worker:
except: pass
blocks[x] = pickle.dumps(blocks[x])
# self.log.critical(str(len(blocks)))
self.log.critical(str(t))
# self.log.critical(str(t))
self.pipe_sent_msg(b'result', pickle.dumps(blocks))
except:
self.log.critical(str(traceback.format_exc()))

View File

@ -597,7 +597,8 @@ class Connector:
try:
stxo.add(outpoint, tx["vIn"][i]["_c_"])
self.yy += 1
except:
except Exception as err:
self.log.critical(">>> " + str(err))
r = self.utxo.get(outpoint, block_height)
stxo.add(r) if r else missed.add((outpoint, (block_height << 42) + (block_index << 21) + i))