Skip to content

Commit

Permalink
Increase constants more for 49512 tries in memory
Browse files Browse the repository at this point in the history
  • Loading branch information
manav2401 committed Oct 3, 2023
1 parent 071497c commit ebb3320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/downloader/downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ var (
fsHeaderSafetyNet = 2048 // Number of headers to discard in case a chain violation is detected
fsHeaderForceVerify = 24 // Number of headers to verify before and after the pivot to accept it
fsHeaderContCheck = 3 * time.Second // Time interval to check for header continuations during state download
fsMinFullBlocks = 2048 // Number of blocks to retrieve fully even in snap sync (triesInMemory/2)
fsMinFullBlocks = 24576 // (1024 * 48 / 2) // Number of blocks to retrieve fully even in snap sync (triesInMemory/2)
)

var (
Expand Down

0 comments on commit ebb3320

Please sign in to comment.