Skip to content

Commit 632ba50

Browse files
committed
[ETCM-275] Remove state downloader
1 parent b2180b3 commit 632ba50

File tree

6 files changed

+462
-425
lines changed

6 files changed

+462
-425
lines changed

src/main/scala/io/iohk/ethereum/blockchain/sync/FastSync.scala

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,15 @@ class FastSync(
123123

124124
syncStateStorageActor ! fastSyncStateStorage
125125

126-
private val syncStateDownloader = context.actorOf(
127-
SyncStateDownloaderActor.props(etcPeerManager, peerEventBus, syncConfig, scheduler),
128-
"state-downloader"
129-
)
130126
private val syncStateScheduler = context.actorOf(
131127
SyncStateSchedulerActor
132-
.props(syncStateDownloader, SyncStateScheduler(blockchain, syncConfig.stateSyncBloomFilterSize), syncConfig),
128+
.props(
129+
SyncStateScheduler(blockchain, syncConfig.stateSyncBloomFilterSize),
130+
syncConfig,
131+
etcPeerManager,
132+
peerEventBus,
133+
scheduler
134+
),
133135
"state-scheduler"
134136
)
135137

src/main/scala/io/iohk/ethereum/blockchain/sync/SyncStateDownloaderActor.scala

Lines changed: 0 additions & 335 deletions
This file was deleted.

0 commit comments

Comments
 (0)