-
Notifications
You must be signed in to change notification settings - Fork 94
Add more command flags #312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cmd/check_construction.go
Outdated
| fetcherOpts = append(fetcherOpts, fetcher.WithForceRetry()) | ||
| } | ||
|
|
||
| log.Println("node url: ", Config.OnlineURL) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this
cmd/root.go
Outdated
| cpuProfile string | ||
| memProfile string | ||
| blockProfile string | ||
| onlineUrl string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix ident
| // Override start and end syncing index in configuration file when it's explicitly set via CLI | ||
| if startIndex != -1 { | ||
| Config.Data.StartIndex = &startIndex | ||
| Config.Data.InitialBalanceFetchDisabled = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add comments why we toggle the flag.
36523f8 to
342cb05
Compare
Fixes # .
Motivation
Added node-url flag to
check:dataandcheck:construction, so that node url can be set via CLI, overriding the value in configuration file.Added start and end index as flags to
check:dataas well.Solution
Open questions