mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-11 21:04:11 +00:00
logs summarized
This commit is contained in:
parent
48aa410f8a
commit
830be41f65
@ -223,11 +223,18 @@ proc writeBaggage(c: ForkedChainRef, target: Hash32) =
|
||||
prevHash = header.parentHash
|
||||
count.inc
|
||||
|
||||
notice "Finalized blocks persisted",
|
||||
numberOfBlocks = count,
|
||||
last = target.short,
|
||||
baseNumber = c.baseHeader.number,
|
||||
baseHash = c.baseHash.short
|
||||
if count > 1:
|
||||
notice "Finalized blocks persisted",
|
||||
numberOfBlocks = count,
|
||||
last = target.short,
|
||||
baseNumber = c.baseHeader.number,
|
||||
baseHash = c.baseHash.short
|
||||
else:
|
||||
debug "Finalized blocks persisted",
|
||||
numberOfBlocks = count,
|
||||
last = target.short,
|
||||
baseNumber = c.baseHeader.number,
|
||||
baseHash = c.baseHash.short
|
||||
|
||||
func updateBase(c: ForkedChainRef, pvarc: PivotArc) =
|
||||
## Remove obsolete chains, example:
|
||||
|
Loading…
x
Reference in New Issue
Block a user