go-ethereum/internal/cli/server
Jerry 96ac8d16d4 Overwrite default config with CLI input even when the input value is considered as empty
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.
2022-05-31 20:30:40 -07:00
..
chains Add ability to parse legacy genesis file 2022-05-31 20:30:40 -07:00
pprof migrate cli to internal package (#301) 2022-01-19 12:10:20 +01:00
proto Protobuf tooling fix and upgrade (#313) 2022-05-09 17:05:29 +02:00
testdata Merge pull request #405 from cffls/whitelist 2022-05-23 09:18:48 -07:00
command.go Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00
config.go Overwrite default config with CLI input even when the input value is considered as empty 2022-05-31 20:30:40 -07:00
config_legacy.go migrate cli to internal package (#301) 2022-01-19 12:10:20 +01:00
config_legacy_test.go migrate cli to internal package (#301) 2022-01-19 12:10:20 +01:00
config_test.go Overwrite default config with CLI input even when the input value is considered as empty 2022-05-31 20:30:40 -07:00
flags.go Overwrite default config with CLI input even when the input value is considered as empty 2022-05-31 20:30:40 -07:00
server.go fix: modify build eth fn definition for account unlock handling (#412) 2022-05-23 15:27:35 +05:30
server_test.go add test for dev flag 2022-01-25 16:33:09 +05:30
service.go Merge branch 'master' into merge-subs2 2022-01-19 17:59:06 +05:30
service_test.go migrate cli to internal package (#301) 2022-01-19 12:10:20 +01:00