connector
This commit is contained in:
parent
25dd92274f
commit
845f8987dd
@ -177,7 +177,7 @@ class BlockLoader:
|
||||
self.last_batch_size = len(msg)
|
||||
for i in blocks:
|
||||
self.parent.block_preload.set(i, blocks[i])
|
||||
if blocks:
|
||||
if blocks and index == len(self.worker_busy) - 1:
|
||||
self.parent.utxo.checkpoints.append(i)
|
||||
|
||||
|
||||
|
||||
@ -49,7 +49,7 @@ class UTXO():
|
||||
self.save_process = True
|
||||
try:
|
||||
# self.log.critical("cached " + str(len(self.cached)) )
|
||||
self.checkpoints = sorted(self.checkpoints)
|
||||
# self.checkpoints = sorted(self.checkpoints)
|
||||
checkpoint = self.checkpoints.pop(0)
|
||||
lb = 0
|
||||
block_changed = False
|
||||
|
||||
Loading…
Reference in New Issue
Block a user