erigon-pulse/turbo
ledgerwatch 94f4ea805d
Fixing hive SideChain reorg test (#5620)
the root cause is that when `inMemoryExecution` lambda gets created in
the `eth/backend.go`, it captures the reference of
`backend.notifications`, and so the execution of side-forks actually
adds notifications to there, and it all gets sent out to tx pool (and
RPC daemon) at the end of the stage loop (regardless of whether there
was forkchoice update or not)

so we can create a separate notification, but then somehow flush it to
the "main" nofitications when the in-memory exec state is flushed

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-10-05 05:42:38 +01:00
..
adapter go1.19 gofmt (#4988) 2022-08-10 19:04:13 +07:00
app Fixing hive SideChain reorg test (#5620) 2022-10-05 05:42:38 +01:00
builder rpcdaemon: wire the most recent of EthBackend.builders.block as a pending block into eth_getBlockByNumber (#5061) 2022-08-15 15:19:45 +07:00
cli Fail newPayload if execution is unsuccessful (#5553) 2022-09-29 06:38:13 +01:00
engineapi Fixing hive SideChain reorg test (#5620) 2022-10-05 05:42:38 +01:00
mock rpcdaemon: add txpool_status() (#2407) 2021-08-06 09:45:44 +07:00
node erigon22: history.v2 flag, align rpcdaemon22 (#5016) 2022-08-12 16:13:14 +07:00
rlphacks Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
rpchelper erigon3: rename "history.v2" to "history.v3" to avoid naming miss-match with "erigon3" (#5519) 2022-09-26 10:54:42 +07:00
services Transaction count fix (#4888) 2022-08-04 18:49:53 +07:00
shards Fixing hive SideChain reorg test (#5620) 2022-10-05 05:42:38 +01:00
snapshotsync Fix creation of block snapshots (#5579) 2022-10-04 11:14:18 +01:00
stages Fixing hive SideChain reorg test (#5620) 2022-10-05 05:42:38 +01:00
transactions Fixes for trace_block (#5402) 2022-09-17 12:53:27 +01:00
trie Added complete verkle trie regeneration (#5310) 2022-09-10 20:00:03 +02: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