erigon-pulse/turbo
milen 4f95342036
freezeblocks: fix blockreader last frozen bor span and event ids (#9018)
During testing we run into a "span 7813 not found (db)" due to a very
large unwind (1 million blocks).

This is because the block reader's `LastFrozenSpanID` and
`LastFrozenEventID` returned results that are not consistent with
`FrozenBorBlocks`. The latter is taking into account the existence of
`.idx` files while the former 2 functions were not.

Note such a large unwind is not likely to happen normally unless there
is a bug in our unwind logic or an operator is manually unwinding very
far back due to reasons like chain halts (ie mumbai bug problem from few
months ago), devel testing or anything else along these lines.
Regardless, it exposed the above discrepancy which is best to be fixed.
2023-12-18 19:13:21 +02:00
..
adapter Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00
app erigon snapshots index: build bor indices (#9009) 2023-12-18 17:46:50 +07: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 Fix typo in log message (#8984) 2023-12-15 09:31:49 +07:00
cmdtest move all packages from "internal" folder - to simplify users live (#5857) 2022-10-25 09:58:25 +07:00
debug [beacon handler] framework (#8851) 2023-12-05 00:13:52 +01:00
engineapi Engine API PR 498 (clarify payloadAttributes checks) (#8982) 2023-12-14 13:59:46 +01:00
execution/eth1 don't log cancelation error at graceful shutdown (#8943) 2023-12-12 17:07:12 +07:00
jsonrpc rpc: add txHash to debug_traceBlock* results (#9016) 2023-12-18 15:30:33 +01:00
logging allow disable file logging (#8884) 2023-12-04 11:11:11 +07: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 erigon snapshots index: build bor indices (#9009) 2023-12-18 17:46:50 +07: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 freezeblocks: fix blockreader last frozen bor span and event ids (#9018) 2023-12-18 19:13:21 +02:00
stages erigon snapshots index: build bor indices (#9009) 2023-12-18 17:46:50 +07: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