erigon-pulse/turbo
Andrew Ashikhmin 0701c83222
Fix stall on unwind in handleForkChoice (#3536)
* ReadHeader instead of ReadHeaderByHash

* Add Engine API to rpcdaemon README

* Fix nil pointer dereference in HandlePendingBlock

* Fix latestValidHash JSON

* Delete GetPayloadBodiesV1

* Break infinte unwind loop in handleForkChoice

* More logging
2022-02-17 18:30:57 +01:00
..
adapter grpc GetBlock api (#2955) 2021-11-14 11:08:52 +07:00
app [header downloader] introduce queues instead of insertList (#3489) 2022-02-13 11:27:53 +00:00
cli Embed RPCDaemon (#3522) 2022-02-16 17:38:54 +00:00
mock rpcdaemon: add txpool_status() (#2407) 2021-08-06 09:45:44 +07:00
node path -> filepath (path package is for urls) (#3493) 2022-02-12 20:33:09 +07:00
rlphacks rename (#1978) 2021-05-20 19:25:53 +01:00
rpchelper Json rpc eip1898 correctness (#2736) 2021-09-28 09:25:56 +07:00
shards Add blockGasLimit to the state stream (#3321) 2022-01-25 10:49:28 +00:00
snapshotsync torrent flags - fix parsing logic 2022-02-14 14:14:37 +07:00
stages Fix stall on unwind in handleForkChoice (#3536) 2022-02-17 18:30:57 +01:00
transactions state.PlainState is now at the beginning of blockNbr, not the end (#3517) 2022-02-16 08:38:12 +00:00
trie [erigon2] Running with commitment (#3203) 2022-01-14 16:02:44 +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