mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-25 19:50:30 +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
|
prevHash = header.parentHash
|
||||||
count.inc
|
count.inc
|
||||||
|
|
||||||
notice "Finalized blocks persisted",
|
if count > 1:
|
||||||
numberOfBlocks = count,
|
notice "Finalized blocks persisted",
|
||||||
last = target.short,
|
numberOfBlocks = count,
|
||||||
baseNumber = c.baseHeader.number,
|
last = target.short,
|
||||||
baseHash = c.baseHash.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) =
|
func updateBase(c: ForkedChainRef, pvarc: PivotArc) =
|
||||||
## Remove obsolete chains, example:
|
## Remove obsolete chains, example:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user