erigon-pulse/cmd
Mark Holt 79ed8cad35
E2 snapshot uploading (#9056)
This change introduces additional processes to manage snapshot uploading
for E2 snapshots:

## erigon snapshots upload

The `snapshots uploader` command starts a version of erigon customized
for uploading snapshot files to
a remote location.  

It breaks the stage execution process after the senders stage and then
uses the snapshot stage to send
uploaded headers, bodies and (in the case of polygon) bor spans and
events to snapshot files. Because
this process avoids execution in run signifigantly faster than a
standard erigon configuration.

The uploader uses rclone to send seedable (100K or 500K blocks) to a
remote storage location specified
in the rclone config file.

The **uploader** is configured to minimize disk usage by doing the
following:

* It removes snapshots once they are loaded
* It aggressively prunes the database once entities are transferred to
snapshots

in addition to this it has the following performance related features:

* maximizes the workers allocated to snapshot processing to improve
throughput
* Can be started from scratch by downloading the latest snapshots from
the remote location to seed processing

## snapshots command

Is a stand alone command for managing remote snapshots it has the
following sub commands

* **cmp** - compare snapshots
* **copy** - copy snapshots
* **verify** - verify snapshots
* **manifest** - manage the manifest file in the root of remote snapshot
locations
* **torrent** - manage snapshot torrent files
2023-12-27 22:05:09 +00: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 E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
caplin E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
caplin-regression --txpool.gossip.disable (#8800) 2023-11-23 12:00:41 +07:00
devnet E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
downloader E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00: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 cmd/evm:fix Env struct json tag (#8986) 2023-12-15 07:24:03 +07:00
hack E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
integration E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
observer Discovery zero refresh timer (#8661) 2023-11-07 08:48:58 +00:00
p2psim E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00: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 E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
rpctest Add create access list test (#9062) 2023-12-23 21:38:47 +07:00
sentinel Add blocksByRange & blocksByRoot P2P rpc handlers (#8885) 2023-12-23 14:32:00 +01:00
sentry p2p: silkworm sentry (#8527) 2023-11-02 08:35:13 +07:00
silkworm_api E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
snapshots E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
state E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
tooling E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
txpool --txpool.gossip.disable (#8800) 2023-11-23 12:00:41 +07:00
utils E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
verkle Adds flags to enable/disable backfilling and enable full historical beacon node (#8813) 2023-11-22 13:24:35 +01:00