erigon-pulse/cmd
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
..
abigen Diag session routing (#8232) 2023-09-25 16:24:17 +01:00
bootnode Discovery zero refresh timer (#8661) 2023-11-07 08:48:58 +00:00
capcli Downloader: add ProhibitNewDownloads() (#8939) 2023-12-12 16:05:56 +07:00
caplin Resumable beacon state reconstruction (#8918) 2023-12-11 14:07:57 +01:00
caplin-regression --txpool.gossip.disable (#8800) 2023-11-23 12:00:41 +07:00
devnet devnet: prevent tx-leak on panic (#8803) 2023-11-25 09:12:55 +07:00
downloader Downloader: add ProhibitNewDownloads() (#8939) 2023-12-12 16:05:56 +07:00
erigon [caplin/sentinel] config reorganizations (#8844) 2023-11-28 22:45:58 -06:00
erigoncustom erigon backup: v0 of sub-command (#7396) 2023-04-27 10:42:12 +07:00
evm evm cli: no logs if --json (#8925) 2023-12-09 13:42:07 +07:00
hack Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00
integration integration: run_migration must not use Accede mode (#8867) 2023-12-02 18:09:53 +07:00
observer Discovery zero refresh timer (#8661) 2023-11-07 08:48:58 +00:00
p2psim torrent: add --webseeds cli arg (#8176) 2023-09-12 12:18:47 +07:00
pics EthereumExecutionService in MockSentry (#8373) 2023-10-05 18:30:19 +02:00
prometheus grafana board: fix cpu chart (#8733) 2023-11-15 15:00:25 +07:00
release go.mod: minimal go version 1.20 (#8495) 2023-10-17 06:52:28 +07:00
rlpdump rename (#1978) 2021-05-20 19:25:53 +01:00
rpcdaemon Enable superfluous ws.port flag to fix some Hive RPC tests (#8909) 2023-12-07 14:59:22 +04:00
rpctest --txpool.gossip.disable (#8800) 2023-11-23 12:00:41 +07:00
sentinel [caplin/sentinel] config reorganizations (#8844) 2023-11-28 22:45:58 -06:00
sentry p2p: silkworm sentry (#8527) 2023-11-02 08:35:13 +07:00
silkworm_api Bor fix frozen snapshot load (#8305) 2023-09-27 13:45:09 +01:00
state evm: remove interpreter interface - step3 (#8842) 2023-11-29 09:29:16 +07:00
tooling Caplin: Parallel historical states reconstruction (#8817) 2023-12-06 10:48:36 +01:00
txpool --txpool.gossip.disable (#8800) 2023-11-23 12:00:41 +07:00
utils Caplin: Parallel historical states reconstruction (#8817) 2023-12-06 10:48:36 +01:00
verkle Adds flags to enable/disable backfilling and enable full historical beacon node (#8813) 2023-11-22 13:24:35 +01:00