mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 19:50:36 +00:00
693459073e
This commit splits the eth package, separating the handling of eth and snap protocols. It also includes the capability to run snap sync (https://github.com/ethereum/devp2p/blob/master/caps/snap.md) , but does not enable it by default. Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de> Co-authored-by: Martin Holst Swende <martin@swende.se> # Conflicts: # cmd/geth/misccmd.go # cmd/utils/flags.go # core/blockchain.go # core/blockchain_snapshot_test.go # core/forkid/forkid.go # core/rawdb/accessors_snapshot.go # core/rawdb/schema.go # core/state/snapshot/generate.go # core/state/statedb.go # eth/api_test.go # eth/backend.go # eth/downloader/downloader.go # eth/downloader/downloader_test.go # eth/downloader/modes.go # eth/downloader/queue.go # eth/downloader/statesync.go # eth/gen_config.go # eth/handler.go # eth/handler_test.go # eth/helper_test.go # eth/peer.go # eth/protocol.go # eth/protocol_test.go # eth/sync.go # eth/sync_test.go # ethstats/ethstats.go # les/client.go # les/enr_entry.go # les/handler_test.go # les/peer.go # les/server_handler.go # tests/block_test_util.go # trie/proof.go # trie/proof_test.go # trie/trie.go # turbo/trie/notary.go # turbo/trie/sync_bloom.go |
||
---|---|---|
.. | ||
adapter | ||
cli | ||
node | ||
rlphacks | ||
rpchelper | ||
shards | ||
silkworm | ||
snapshotsync | ||
stages | ||
transactions | ||
trie | ||
README.md |
Turbo-API
Turbo-API is a set of tools for building applications containing turbo-geth node.
Our own binary tg
is built using it.
Modules
-
cli
- turbo-cli, methods & helpers to run a CLI app with turbo-geth node. -
node
- represents an Ethereum node, running devp2p and sync and writing state to the database. -
stagedsync
- staged sync algorithm.
Examples
-
tg
- our binary is using turbo-api with all defaults -
tgcustom
- a very simple example of adding a custom stage, a custom bucket and a custom command-line parameter -
turbo-api-examples - a series of examples for turbo-geth api