Skip to content

Commit 24acf16

Browse files
committed
add todo for further modifications
1 parent 83a02a0 commit 24acf16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ trait FastSync {
232232
case DbError =>
233233
blockBodiesQueue = Seq.empty
234234
receiptsQueue = Seq.empty
235+
//todo adjust the formula to minimize redownloaded block headers
235236
bestBlockHeaderNumber = bestBlockHeaderNumber - 2 * blockHeadersPerRequest
236237
log.debug("missing block header for known hash")
237238
self ! ProcessSyncing

0 commit comments

Comments
 (0)