erigon-pulse/erigon-lib/direct
Alex Sharov 329d18ef6f
snapshots: reduce merge limit of blocks to 100K (#8614)
Reason: 
- produce and seed snapshots earlier on chain tip. reduce depnedency on
"good peers with history" at p2p-network.
Some networks have no much archive peers, also ConsensusLayer clients
are not-good(not-incentivised) at serving history.
- avoiding having too much files:
more files(shards) - means "more metadata", "more lookups for
non-indexed queries", "more dictionaries", "more bittorrent
connections", ...
less files - means small files will be removed after merge (no peers for
this files).


ToDo:
[x] Recent 500K - merge up to 100K 
[x] Older than 500K - merge up to 500K 
[x] Start seeding 100k files
[x] Stop seeding 100k files after merge (right before delete)

In next PR: 
[] Old version of Erigon must be able download recent hashes. To achieve
it - at first start erigon will download preverified hashes .toml from
s3 - if it's newer that what we have (build-in) - use it.
2023-11-01 23:22:35 +07:00
..
downloader_client.go snapshots: reduce merge limit of blocks to 100K (#8614) 2023-11-01 23:22:35 +07:00
eth_backend_client.go
execution_client.go
mining_client.go
sentinel_client.go Dvovk/sentinel and sentry peers data collect (#8533) 2023-10-23 17:33:08 +03:00
sentry_client.go
state_diff_client.go
txpool_client.go