mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-11 05:20:05 +00:00
445ac05220
* Remove TotalDifficulty stage * Introduce FeedHeaderFuncType * Some TODOs * Don't gossip PoS headers * FeedHeaderPoS * Call header.Hash once * Use FeedHeaderPoS for to write PoS header * Support errors in EngineExecutePayloadV1 * useExternalTx boilerplate * Call VerifyHeader on PoS header * latestValidHash must be nil when status is SYNCING * fixCanonicalChain instead of canonicalHeadersCollector * engine.VerifyHeader + FeedHeaderPoS as headerLoadFunc * fix daemon Co-authored-by: Giulio Rebuffo <giulio.rebuffo@gmail.com> |
||
---|---|---|
.. | ||
adapter | ||
cli | ||
mock | ||
node | ||
rlphacks | ||
rpchelper | ||
shards | ||
snapshotsync | ||
stages | ||
transactions | ||
trie | ||
README.md |
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