mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
log blocks stat after downloading, before indexing (#8947)
This commit is contained in:
parent
34d93fbe18
commit
7fb8f9db59
@ -131,6 +131,7 @@ func DownloadAndIndexSnapshotsIfNeed(s *StageState, ctx context.Context, tx kv.R
|
||||
return err
|
||||
}
|
||||
|
||||
cfg.blockReader.Snapshots().LogStat()
|
||||
cfg.agg.LogStats(tx, func(endTxNumMinimax uint64) uint64 {
|
||||
_, histBlockNumProgress, _ := rawdbv3.TxNums.FindBlockNum(tx, endTxNumMinimax)
|
||||
return histBlockNumProgress
|
||||
|
@ -90,6 +90,7 @@ type FullBlockReader interface {
|
||||
}
|
||||
|
||||
type BlockSnapshots interface {
|
||||
LogStat()
|
||||
ReopenFolder() error
|
||||
SegmentsMax() uint64
|
||||
ScanDir() (map[string]struct{}, []*Range, error)
|
||||
|
Loading…
Reference in New Issue
Block a user