mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
This change will fix two issues: 1. When CLI sets a flag to an empty value in Go, e.g. 0 as to Uint64, the flag will be skipped and never set correctly. This problem could be solved by using option "WithOverwriteWithEmptyValue" when merge two configs. 2. The default non-empty value in server config will be overwritten to an empty value after flag initialization. This problem is solved by explicitly providing default value to all flags that have a default value option. |
||
|---|---|---|
| .. | ||
| chains | ||
| pprof | ||
| proto | ||
| testdata | ||
| command.go | ||
| config.go | ||
| config_legacy.go | ||
| config_legacy_test.go | ||
| config_test.go | ||
| flags.go | ||
| server.go | ||
| server_test.go | ||
| service.go | ||
| service_test.go | ||