erigon-pulse/turbo
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
..
adapter Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00
app E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
backup touch data when do warmup (#8268) 2023-09-22 14:36:54 +07:00
builder turbo: run tests in parallel (#8738) 2023-11-16 16:29:31 +07:00
cli E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
cmdtest move all packages from "internal" folder - to simplify users live (#5857) 2022-10-25 09:58:25 +07:00
debug E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
engineapi Engine API PR 498 (clarify payloadAttributes checks) (#8982) 2023-12-14 13:59:46 +01:00
execution/eth1 E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
jsonrpc rpcademon: eth_createAccessList: fix in retrieve nonce (#9064) 2023-12-24 04:41:04 +00:00
logging E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
mock reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
node Add support for amoy testnet (#8674) 2023-11-30 08:19:52 +07:00
rlphacks turbo: run tests in parallel (#8738) 2023-11-16 16:29:31 +07:00
rpchelper turbo: run tests in parallel (#8738) 2023-11-16 16:29:31 +07:00
services E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
shards turbo: run tests in parallel (#8738) 2023-11-16 16:29:31 +07:00
silkworm silkworm: make install (#8985) 2023-12-14 21:45:18 +07:00
snapshotsync E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
stages E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
testlog Introduce logger into etl (#7537) 2023-05-18 21:20:07 +01:00
transactions Move ApplyDAOHardFork & UpgradeBuildInSystemContract to engine.Initialize (#8095) 2023-08-30 15:51:19 +02:00
trie Bor proof findpath (#8764) 2023-11-17 16:39:59 +00:00
README.md Rename to Erigon (#2018) 2021-05-26 11:35:39 +01:00

Erigon-API

Erigon-API is a set of tools for building applications containing Erigon node.

Our own binary erigon is built using it.

Modules

  • cli - erigon-cli, methods & helpers to run a CLI app with Erigon node.

  • node - represents an Ethereum node, running devp2p and sync and writing state to the database.

  • stagedsync - staged sync algorithm.

Examples

  • erigon - our binary is using erigon-api with all defaults

  • erigoncustom - a very simple example of adding a custom stage, a custom bucket and a custom command-line parameter

  • erigon-examples - a series of examples for Erigon api