connector
This commit is contained in:
parent
2fd2776f6d
commit
ffd9baac83
@ -393,11 +393,12 @@ class Connector:
|
|||||||
"cache size %s M;" % (self.non_cached_blocks,
|
"cache size %s M;" % (self.non_cached_blocks,
|
||||||
self.block_preload.len(),
|
self.block_preload.len(),
|
||||||
round(self.block_preload._store_size / 1024 / 1024, 2)))
|
round(self.block_preload._store_size / 1024 / 1024, 2)))
|
||||||
self.log.info(
|
if self.block_preload._store:
|
||||||
"cache first %s; "
|
self.log.info(
|
||||||
"cache last %s;" % (
|
"cache first %s; "
|
||||||
next(iter(self.block_preload._store)),
|
"cache last %s;" % (
|
||||||
next(reversed(self.block_preload._store))))
|
next(iter(self.block_preload._store)),
|
||||||
|
next(reversed(self.block_preload._store))))
|
||||||
|
|
||||||
self.log.info("saved utxo block %s; "
|
self.log.info("saved utxo block %s; "
|
||||||
"saved utxo %s; "
|
"saved utxo %s; "
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user