erigon-pulse/eth
Péter Szilágyi 693459073e core, eth: split eth package, implement snap protocol (#21482)
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
2021-03-08 17:07:38 +01:00
..
downloader core, eth: split eth package, implement snap protocol (#21482) 2021-03-08 17:07:38 +01:00
fetcher Jump tables data race (#1245) 2020-10-20 22:23:56 +01:00
filters Add validation of senders amount (#1539) 2021-03-04 16:34:49 +07:00
gasprice Revert "Extract validating interface (#1120)" (#1543) 2021-03-05 20:34:23 +00:00
integrity New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
protocols core, eth: split eth package, implement snap protocol (#21482) 2021-03-08 17:07:38 +01:00
stagedsync Delete MultiWalk and GetIndexChunk funcs from Database interface (#1544) 2021-03-08 12:08:37 +07:00
tracers core, all: split vm.Context into BlockContext and TxContext (#21672) 2021-03-08 12:17:35 +01:00
api_backend.go core, eth: split eth package, implement snap protocol (#21482) 2021-03-08 17:07:38 +01:00
api_test.go core, eth: split eth package, implement snap protocol (#21482) 2021-03-08 17:07:38 +01:00
api_tracer.go eth: fix error in tracing if reexec is set (#21830) 2021-03-08 12:47:26 +01:00
api.go eth/api: fix potential nil deref in AccountRange (#21710) 2020-12-03 17:37:38 +01:00
backend.go core, eth: split eth package, implement snap protocol (#21482) 2021-03-08 17:07:38 +01:00
bloombits.go [WIP] CallTraces index (#1157) 2020-10-12 09:39:04 +01:00
config.go core, eth: split eth package, implement snap protocol (#21482) 2021-03-08 17:07:38 +01:00
debug.go Call bufio.Flash() in tester (#407) 2020-03-26 21:52:05 +00:00
discovery.go core, eth: split eth package, implement snap protocol (#21482) 2021-03-08 17:07:38 +01:00
firehose.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
gen_config.go core, eth: split eth package, implement snap protocol (#21482) 2021-03-08 17:07:38 +01:00
handler_eth_test.go core, eth: split eth package, implement snap protocol (#21482) 2021-03-08 17:07:38 +01:00
handler_eth.go core, eth: split eth package, implement snap protocol (#21482) 2021-03-08 17:07:38 +01:00
handler_snap.go core, eth: split eth package, implement snap protocol (#21482) 2021-03-08 17:07:38 +01:00
handler_test.go core, eth: split eth package, implement snap protocol (#21482) 2021-03-08 17:07:38 +01:00
handler.go core, eth: split eth package, implement snap protocol (#21482) 2021-03-08 17:07:38 +01:00
peer.go core, eth: split eth package, implement snap protocol (#21482) 2021-03-08 17:07:38 +01:00
peerset.go core, eth: split eth package, implement snap protocol (#21482) 2021-03-08 17:07:38 +01:00
sync_test.go core, eth: split eth package, implement snap protocol (#21482) 2021-03-08 17:07:38 +01:00
sync.go core, eth: split eth package, implement snap protocol (#21482) 2021-03-08 17:07:38 +01:00