Versions in this module Expand all Collapse all v0 v0.0.2 Oct 1, 2024 v0.0.1 Jun 25, 2024 Changes in this version + const DefaultMaxOutstandingCodeHashes + const DefaultNumCodeFetchingWorkers + func FillAccountsWithOverlappingStorage(t *testing.T, trieDB *trie.Database, root common.Hash, numAccounts int, ...) (common.Hash, map[*keystore.Key]*types.StateAccount) + 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