Versions in this module Expand all Collapse all v1 v1.14.12 Nov 23, 2024 Changes in this version + const DefaultMaxOutstandingCodeHashes + const DefaultNumCodeFetchingWorkers + func FillAccountsWithOverlappingStorage(t *testing.T, trieDB *triedb.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 v1.14.12-1 Nov 23, 2024