Versions in this module Expand all Collapse all v0 v0.13.8 Aug 6, 2024 Changes in this version + const DefaultMaxOutstandingCodeHashes + const DefaultNumCodeFetchingWorkers + func NewMainTrieTask(sync *stateSync) syncTask + func NewStateSyncer(config *StateSyncerConfig) (*stateSync, error) + func NewStorageTrieTask(sync *stateSync, root common.Hash, accounts []common.Hash) syncTask + func NewTrieQueue(db ethdb.Database) *trieQueue + func NewTrieToSync(sync *stateSync, root common.Hash, account common.Hash, syncTask syncTask) (*trieToSync, error) + type CodeSyncerConfig struct + Client statesyncclient.Client + DB ethdb.Database + MaxOutstandingCodeHashes int + NumCodeFetchingWorkers int + type StateSyncerConfig struct + BatchSize int + Client syncclient.Client + DB ethdb.Database + MaxOutstandingCodeHashes int + NumCodeFetchingWorkers int + RequestSize uint16 + Root common.Hash