erigon-pulse/turbo
Mark Holt d8b91c4d02
Fix startup sync for txpool processing for bor block production (#9219)
When the sync loop first runs it suppresses block sync events both in
the initial loop and when the blocks being processed are greater than
1000.

This fix removed the first check, because otherwise the first block
received by the process ends up not getting sent to the tx pool. Which
means it won't produce new block for polygon.

As well as this fix - I have also moved the gas initialization to the
txpool start method rather than prompting it with a 'synthetic block
event'

As the txpool start has access to the core & tx DB's it can find the
current block and chain config internally so that it doesn't need to be
externally activated it can just do this itself on start up. This has
the advantage of making the txpool more self contained.
2024-01-13 10:33:34 +00:00
..
adapter Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00
app Mumbai uploader regression fixes (#9212) 2024-01-11 21:15:26 +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 Fixes for Bor Block Production Synchronization (#9162) 2024-01-10 17:12:15 +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 [E3] Some fixes for the in-memory database when working with Caplin (… (#9164) 2024-01-09 08:26:26 +07:00
execution/eth1 [E3] Some fixes for the in-memory database when working with Caplin (… (#9164) 2024-01-09 08:26:26 +07:00
jsonrpc polygon: refactor header validations for reuse in sync (#9224) 2024-01-12 21:01:28 +01: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 bor: move to polygon directory (#9174) 2024-01-09 19:20:42 +01:00
services E2 snapshot uploading (#9056) 2023-12-27 22:05:09 +00:00
shards Fix startup sync for txpool processing for bor block production (#9219) 2024-01-13 10:33:34 +00:00
silkworm silkworm: make install (#8985) 2023-12-14 21:45:18 +07:00
snapshotsync Fix startup sync for txpool processing for bor block production (#9219) 2024-01-13 10:33:34 +00:00
stages Fix startup sync for txpool processing for bor block production (#9219) 2024-01-13 10:33:34 +00:00
testlog Introduce logger into etl (#7537) 2023-05-18 21:20:07 +01:00
transactions bor: move to polygon directory (#9174) 2024-01-09 19:20:42 +01: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