Skip to content

Commit

Permalink
Decrease min block to sync.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey committed Nov 21, 2024
1 parent 6479c5f commit 7f80736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ func CreateHistoricalSyncCommand() *cobra.Command {
historicalSyncCmd.Flags().StringSliceVar(&addresses, "addresses", []string{}, "The list of addresses to sync")
historicalSyncCmd.Flags().BoolVar(&auto, "auto", false, "Set this flag to sync all unfinished historical crawl from the database (default: false)")
historicalSyncCmd.Flags().IntVar(&threads, "threads", 5, "Number of go-routines for concurrent crawling (default: 5)")
historicalSyncCmd.Flags().IntVar(&minBlocksToSync, "min-blocks-to-sync", 50, "The minimum number of blocks to sync before the synchronizer starts decoding")
historicalSyncCmd.Flags().IntVar(&minBlocksToSync, "min-blocks-to-sync", 10, "The minimum number of blocks to sync before the synchronizer starts decoding")

return historicalSyncCmd
}
Expand Down

0 comments on commit 7f80736

Please sign in to comment.