connector
This commit is contained in:
parent
37239fefdc
commit
f84face482
@ -80,7 +80,7 @@ class UTXO():
|
|||||||
self.cached.append({i[0]: (pointer, amount, address)})
|
self.cached.append({i[0]: (pointer, amount, address)})
|
||||||
self.log.critical("checkpoint not found")
|
self.log.critical("checkpoint not found")
|
||||||
return
|
return
|
||||||
self.log.critical("found checkpoint " + str(lb))
|
self.log.critical("found checkpoint " + str(lb) + " len" + str(len(utxo)))
|
||||||
|
|
||||||
# self.log.critical(">" + str(len(self.cached)))
|
# self.log.critical(">" + str(len(self.cached)))
|
||||||
#
|
#
|
||||||
@ -110,6 +110,7 @@ class UTXO():
|
|||||||
# i[2]))))
|
# i[2]))))
|
||||||
|
|
||||||
# insert to db
|
# insert to db
|
||||||
|
self.log.critical("start " + str(len(utxo)))
|
||||||
d = set()
|
d = set()
|
||||||
async with self._db_pool.acquire() as conn:
|
async with self._db_pool.acquire() as conn:
|
||||||
async with conn.transaction():
|
async with conn.transaction():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user