erigon-pulse/turbo
ledgerwatch 706a999178
Improvements for the BSC stuck header sync (#6653)
There are 3 changes:
1. Replace `anchorQueue` with `anchorTree` to be able to always walk the
anchors in the order of increasing blockHeights (not possible with the
queue) to prioritise making progress on the lowest block heights
2. Not increment `nextRetryTime` if the request was not sent
3. Reduce the strides in skeleton from `8*192` to `192` to reduce
reliance of the long series of requests to make progress

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-01-22 12:28:17 +00:00
..
adapter reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
app split backend.go:new to 2 funcs (#6595) 2023-01-17 13:20:31 +07:00
builder Withdrawals part 1 (#6009) 2022-12-01 09:15:01 +01:00
cli Improvements for body downloader (#6589) 2023-01-16 22:09:28 +00:00
cmdtest move all packages from "internal" folder - to simplify users live (#5857) 2022-10-25 09:58:25 +07:00
debug e3: optimize incremental hashstate (#6179) 2022-12-03 12:23:01 +07:00
engineapi reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
logging Upgrade urfave/cli to v2 (#6047) 2022-11-14 17:33:57 +01:00
mock reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
node split backend.go:new to 2 funcs (#6595) 2023-01-17 13:20:31 +07:00
rlphacks Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
rpchelper e3: simplify history reader (#6659) 2023-01-22 16:42:24 +07:00
services reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
shards reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
snapshotsync reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
stages Improvements for the BSC stuck header sync (#6653) 2023-01-22 12:28:17 +00:00
testlog move all packages from "internal" folder - to simplify users live (#5857) 2022-10-25 09:58:25 +07:00
transactions e3: simplify history reader (#6659) 2023-01-22 16:42:24 +07:00
trie reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +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