erigon-pulse/turbo
Alex Sharov 436656a40f
snapshots: DumpBodies - break dependency on body.BaseTxNum value in db (#7607)
it's step towards saving canonical and non-canonical bodies in same
table (and txs also in same own table). to reduce write amplification
(cheaper re-orgs)

PR change: reading BaseTxNum from existing snapshots instead of DB 
DB will store in field body.BaseTxNum - non-canonical TxnID  
Snapshots will store only canonical TxNum in field body.BaseTxNum
2023-06-02 11:01:57 +07:00
..
adapter eip-4844: RPCTransactions to support BlobTx (#7407) 2023-04-30 14:03:38 +07:00
app stageLoop: unbound canRunCycleInOneTransaction logic from initialCycle variable (#7616) 2023-06-01 16:50:19 +07:00
backup new command "erigon alpha_backup" - an alpha version of command to all Erigon's databases (#7415) 2023-05-01 08:27:34 +07:00
builder blockValue should use gasUsed rather than gasLimit (#6875) 2023-02-14 15:05:27 +00:00
cli [devnet tool] separate logging (#7526) 2023-05-17 07:36:06 +01:00
cmdtest move all packages from "internal" folder - to simplify users live (#5857) 2022-10-25 09:58:25 +07:00
debug Header downloader monitor for diagnostics system (#7590) 2023-05-29 14:18:31 +07:00
engineapi use BlockReader.CanonicalHash method instead of rawdb (#7604) 2023-05-31 13:41:10 +07:00
logging [devnet] separate logging - p2p (#7547) 2023-05-19 18:41:53 +01:00
mock reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
node blockReaders in tests, step4 (#7570) 2023-05-24 15:52:51 +07:00
rlphacks Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
rpchelper [devnet tool] separare logging (#7531) 2023-05-17 17:36:15 +01:00
services use blockReader as service-provider of RoSnapshots (#7584) 2023-05-26 17:12:33 +07:00
shards [interfaces] lower_snake_case field names (#7293) 2023-04-12 10:35:54 +00:00
snapshotsync snapshots: DumpBodies - break dependency on body.BaseTxNum value in db (#7607) 2023-06-02 11:01:57 +07:00
stages e3: release some e4 parts (#7629) 2023-06-02 10:55:40 +07:00
testlog Introduce logger into etl (#7537) 2023-05-18 21:20:07 +01:00
transactions Proper Gnosis Chain rewards in trace_block (#7473) 2023-05-09 17:19:23 +02:00
trie [devnet tool] Side-quest logging - replace quiet parameter (#7464) 2023-05-08 17:52:31 +01: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