Better logging
This commit is contained in:
parent
46b9519ee0
commit
cbe1ef60ca
@ -400,8 +400,9 @@ class DB(object):
|
||||
self.logger.info('flushing UTXOs: {:,d} txs and {:,d} blocks'
|
||||
.format(self.tx_count - self.db_tx_count,
|
||||
self.height - self.db_height))
|
||||
|
||||
self.flush_to_fs()
|
||||
else:
|
||||
self.logger.info('commencing history flush')
|
||||
|
||||
with self.db.write_batch(transaction=True) as batch:
|
||||
if flush_utxos:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user