go-ethereum/eth/downloader
Daniel Liu 07328dcec4
core, eth, trie: abstract node scheme #25532 (#1123)
This PR introduces a node scheme abstraction. The interface is only implemented by `hashScheme` at the moment, but will be extended by `pathScheme` very soon.

Apart from that, a few changes are also included which is worth mentioning:

-  port the changes in the stacktrie, tracking the path prefix of nodes during commit
-  use ethdb.Database for constructing trie.Database. This is not necessary right now, but it is required for path-based used to open reverse diff freezer

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2025-11-17 11:25:08 +05:30
..
api.go eth/downloader, eth/tracer: fix typos in comments #29707 (#1472) 2025-09-13 10:30:25 +08:00
downloader.go core, eth, trie: abstract node scheme #25532 (#1123) 2025-11-17 11:25:08 +05:30
downloader_test.go core, eth, trie: abstract node scheme #25532 (#1123) 2025-11-17 11:25:08 +05:30
events.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
metrics.go eth/downloader: refactor downloader + queue #21263 (#1041) 2025-06-17 13:01:06 +08:00
modes.go eth/downloader: fixes data race between synchronize and other methods (#21201) 2025-02-26 15:06:08 +08:00
peer.go eth/downloader: refactor downloader + queue #21263 (#1041) 2025-06-17 13:01:06 +08:00
peer_test.go eth/downloader: refactor downloader + queue #21263 (#1041) 2025-06-17 13:01:06 +08:00
queue.go all: fix whitespace error of golangci-lint, remove extra empty lines (#1676) 2025-11-17 11:16:09 +05:30
queue_test.go all: fix whitespace error of golangci-lint, remove extra empty lines (#1676) 2025-11-17 11:16:09 +05:30
resultstore.go all: format golang files (#1548) 2025-09-21 19:41:54 +08:00
statesync.go core, eth, trie: abstract node scheme #25532 (#1123) 2025-11-17 11:25:08 +05:30
testchain_test.go eth/downloader: change intial download size #21366 (#1045) 2025-06-20 16:32:47 +08:00
types.go new EVM Upgrade 2021-09-21 16:53:46 +05:30