erigon-pulse/cl
Alex Sharov d41d523050
Downloader: add ProhibitNewDownloads() (#8939)
"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"
2023-12-12 16:05:56 +07:00
..
abstract Caplin: Parallel historical states reconstruction (#8817) 2023-12-06 10:48:36 +01:00
antiquary Downloader: add ProhibitNewDownloads() (#8939) 2023-12-12 16:05:56 +07:00
beacon fix: cl/beacon genesisResponse name (#8923) 2023-12-11 10:08:00 +07:00
clparams Caplin: Parallel historical states reconstruction (#8817) 2023-12-06 10:48:36 +01:00
clstages Fixed accidental chain gap (#8222) 2023-09-17 16:25:17 +02:00
cltypes Resumable beacon state reconstruction (#8918) 2023-12-11 14:07:57 +01:00
domino Better caplin logging and logic (#7992) 2023-08-10 22:34:58 +02:00
fork Adds flags to enable/disable backfilling and enable full historical beacon node (#8813) 2023-11-22 13:24:35 +01:00
freezer Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00
merkle_tree Adds flags to enable/disable backfilling and enable full historical beacon node (#8813) 2023-11-22 13:24:35 +01:00
persistence Resumable beacon state reconstruction (#8918) 2023-12-11 14:07:57 +01:00
phase1 Resumable beacon state reconstruction (#8918) 2023-12-11 14:07:57 +01:00
pool Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00
rpc Resumable beacon state reconstruction (#8918) 2023-12-11 14:07:57 +01:00
sentinel Caplin: Add a request limiter (#8868) 2023-12-01 20:11:18 +01:00
spectest Resumable beacon state reconstruction (#8918) 2023-12-11 14:07:57 +01:00
ssz Resumable beacon state reconstruction (#8918) 2023-12-11 14:07:57 +01:00
transition Resumable beacon state reconstruction (#8918) 2023-12-11 14:07:57 +01:00
utils Resumable beacon state reconstruction (#8918) 2023-12-11 14:07:57 +01:00
coverage Added coverage checker for caplin packages (#7609) 2023-05-31 18:12:18 +02:00
readme.md Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00

cl

all code under this directory and subdirectories falls under apache 2.0 license, seen in ./LICENSE