good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
Erigon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
a
Erigon
Commits
61515ed2
Unverified
Commit
61515ed2
authored
Apr 26, 2022
by
Alex Sharov
Committed by
GitHub
Apr 26, 2022
Browse files
Options
Downloads
Patches
Plain Diff
Bsc: enable syncmode=snap by default #3973
parent
e04f7fc9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
eth/ethconfig/config.go
+1
-3
1 addition, 3 deletions
eth/ethconfig/config.go
with
1 addition
and
3 deletions
eth/ethconfig/config.go
+
1
−
3
View file @
61515ed2
...
@@ -301,10 +301,8 @@ func SyncModeByChainName(chain, syncCliFlag string) SyncMode {
...
@@ -301,10 +301,8 @@ func SyncModeByChainName(chain, syncCliFlag string) SyncMode {
return
SnapSync
return
SnapSync
}
}
switch
chain
{
switch
chain
{
case
networkname
.
MainnetChainName
,
networkname
.
GoerliChainName
:
case
networkname
.
MainnetChainName
,
networkname
.
BSCChainName
,
networkname
.
GoerliChainName
:
return
SnapSync
return
SnapSync
case
networkname
.
BSCChainName
:
return
FastSync
default
:
default
:
return
FastSync
return
FastSync
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment