erigon-pulse/cl
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
..
abstract Optimized beacon state retrieval (#8963) 2023-12-13 15:23:27 +01:00
antiquary E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
beacon Added Validators endpoint to Beacon API (#9080) 2023-12-26 00:34:38 +01:00
clparams Added GET SyncCommittees (#9003) 2023-12-18 13:54:15 +01:00
clstages Fixed accidental chain gap (#8222) 2023-09-17 16:25:17 +02:00
cltypes Added Validators endpoint to Beacon API (#9080) 2023-12-26 00:34:38 +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 Added Validators endpoint to Beacon API (#9080) 2023-12-26 00:34:38 +01:00
phase1 Added Validators endpoint to Beacon API (#9080) 2023-12-26 00:34:38 +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 Added Validators endpoint to Beacon API (#9080) 2023-12-26 00:34:38 +01:00
spectest Update Consensus Specification tests (#9024) 2023-12-19 09:42:11 +01:00
ssz Resumable beacon state reconstruction (#8918) 2023-12-11 14:07:57 +01:00
transition Optimized beacon state retrieval (#8963) 2023-12-13 15:23:27 +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