Open SurfingNerd opened 8 months ago
it looks like the check is made each block so its no issue performance wise on a sync node but it is on a syncing node as a syncing node important many many blocks
i suggest to just make a little change like whena new block is found check if its blocknumber end with 00 and only make a pruning attempt then
should be easy codechange and reduce performance loss on sync nodes by 99%
try and fail of pruning costs performance for nothing. can we reduce this tries ?