erigon-pulse/turbo
gary rong b2351da9d6 all: disable recording preimage of trie keys (#21402)
* cmd, core, eth, light, trie: disable recording preimage by default

* core, eth: fix unit tests

* core: fix import

* all: change to nopreimage

* cmd, core, eth, trie: use cache.preimages flag

* cmd: enable preimages for archive node

* cmd/utils, trie: simplify preimage tracking a bit

* core: fix linter

Co-authored-by: Péter Szilágyi <peterke@gmail.com>
# Conflicts:
#	cmd/geth/main.go
#	cmd/geth/usage.go
#	cmd/utils/flags.go
#	core/blockchain.go
#	core/genesis.go
#	core/state/database.go
#	core/state/state_test.go
#	eth/api_test.go
#	eth/api_tracer.go
#	eth/backend.go
#	light/postprocess.go
#	trie/secure_trie.go
#	turbo/trie/database.go
2021-03-08 12:26:27 +01:00
..
adapter Revert "Extract validating interface (#1120)" (#1543) 2021-03-05 20:34:23 +00:00
cli Revert "Extract validating interface (#1120)" (#1543) 2021-03-05 20:34:23 +00:00
node log git branch and git commit (#1523) 2021-03-01 11:02:06 +07:00
rlphacks move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
rpchelper rpcdaemon performance improve - less reading blocks, less allocs on server (#1426) 2021-01-02 19:28:22 +00:00
shards New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
silkworm Integrate Silkworm execution (#1344) 2020-11-28 15:08:02 +00:00
snapshotsync txdb lazy cursors creation, grpc version up (#1440) 2021-01-15 09:38:09 +00:00
stages Revert "Extract validating interface (#1120)" (#1543) 2021-03-05 20:34:23 +00:00
transactions Fixes to trace_call, trace_callMany, dual RPC daemon mode (#1491) 2021-02-12 16:47:32 +00:00
trie all: disable recording preimage of trie keys (#21402) 2021-03-08 12:26:27 +01:00
README.md turbo-api: Add docs to some public structs, methods and fields (#1127) 2020-09-21 16:10:25 +02:00

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