Closed NicolasWent closed 1 year ago
Pruning syncs the whole chain then prunes. Think about a tree in your garden that get's pruned - it grows and then you prune it. There is no ability to start processing at a certain block.
@dreadedhamish no, pruned node of erigon doesn't save (doesn't generate) most of historical data - it means nothing to prune after initial sync of pruned node.
2 independent things:
Future major version of Erigon will able to do it
@AskAlexSharov
OK - so what stages aren't executed when pruning? I tried pruning using just the last 10000 blocks and it looked to process the whole blockchain.
@NicolasWent I thought the same thing, have you solved it?
Hello,
I have started Erigon with the following command:
erigon --datadir=~/ethereum --snapshots=true --prune=hrtc --torrent.download.rate=512mb --torrent.upload.rate=256mb
After some time, I got this output:
So if I understood correctly, Erigon is currently in the stage [7/15 Execution], and currently at block 10889889.
But I enabled pruning (as you see in my command). So I was wondering, why is Erigon executing all blocks since the beginning even if I enabled pruning to have only 90000 latest blocks?