From 721469b40f6c986b45303733120ee63fff3d838a Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Tue, 3 Dec 2024 09:17:48 +0700 Subject: [PATCH] save --- erigon-lib/state/domain.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/erigon-lib/state/domain.go b/erigon-lib/state/domain.go index 86432277aad..b7d3857babc 100644 --- a/erigon-lib/state/domain.go +++ b/erigon-lib/state/domain.go @@ -1326,20 +1326,6 @@ func (d *Domain) missedAccessors() (l []*filesItem) { return l } -//func (d *Domain) missedExistenceFilter() (l []*filesItem) { -// d.files.Walk(func(items []*filesItem) bool { // don't run slow logic while iterating on btree -// for _, item := range items { -// fromStep, toStep := item.startTxNum/d.aggregationStep, item.endTxNum/d.aggregationStep -// bloomPath := d.kvExistenceIdxFilePath(fromStep, toStep) -// if !dir.FileExist(bloomPath) { -// l = append(l, item) -// } -// } -// return true -// }) -// return l -//} - // BuildMissedAccessors - produce .efi/.vi/.kvi from .ef/.v/.kv func (d *Domain) BuildMissedAccessors(ctx context.Context, g *errgroup.Group, ps *background.ProgressSet) { d.History.BuildMissedAccessors(ctx, g, ps)