mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
d41d523050
"whitelisting" mechanism (list of files - stored in DB) - which protecting us from downloading new files after upgrade/downgrade was broken. And seems it became over-complicated with time. I replacing it by 1 persistent flag inside downloader: "prohibit_new_downloads.lock" Erigon will turn downloader into this mode after downloading/verification of first snapshots. ``` //Corner cases: // - Erigon generated file X with hash H1. User upgraded Erigon. New version has preverified file X with hash H2. Must ignore H2 (don't send to Downloader) // - Erigon "download once": means restart/upgrade/downgrade must not download files (and will be fast) // - After "download once" - Erigon will produce and seed new files ``` ------ `downloader --seedbox` is never "prohibit new downloads" |
||
---|---|---|
.. | ||
abigen | ||
bootnode | ||
capcli | ||
caplin | ||
caplin-regression | ||
devnet | ||
downloader | ||
erigon | ||
erigoncustom | ||
evm | ||
hack | ||
integration | ||
observer | ||
p2psim | ||
pics | ||
prometheus | ||
release | ||
rlpdump | ||
rpcdaemon | ||
rpctest | ||
sentinel | ||
sentry | ||
silkworm_api | ||
state | ||
tooling | ||
txpool | ||
utils | ||
verkle |