Ejemplo n.º 1
0
 def __init__(self, model, config):
     super(VerifiedTxDb, self).__init__(model, config)
     self.bs = self.model.get_blockchain_state()
     self.vbs = VerifiedBlockchainState(
         self.bs, self, config.get('testnet', False),
         os.path.dirname(self.model.store_conn.path))
     self.vbs.start()
     self.lock = threading.Lock()
     self.verified_tx = {}