go-ethereum/internal/cli/server
Pratik Patil 43e5d3aa09
PR#518 and PR#529 -> qa (#532)
* Added script to generate config.toml fromstart.sh (#518)

* added go and bash script to get config out of start.sh and updated flagset.go

* changed 'requiredblocks' flag back to 'eth.requiredblocks'

* updated script

* changed 'requiredblocks' flag back to 'eth.requiredblocks'

* updated tests, and removed requiredblocks from json and hcl

* addressed comments

* internal/cli/server: fix flag behaviour (#529)

* remove setting maxpeers to 0 for nodiscover flag

* set default prometheus and open-collector endpoint

* skip building grpc address from pprof address and port

* fix: linters

* fix and improve tests

* use loopback address for prometheus and open-collector endpoint

* add logs for prometheus and open-collector setup

* updated the script to handle prometheus-addr

* updated builder/files/config.toml

Co-authored-by: Pratik Patil <pratikspatil024@gmail.com>

Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
2022-09-29 14:25:27 +05:30
..
chains Prepare Bor package for testing (#416) 2022-06-08 16:39:30 +03:00
pprof migrate cli to internal package (#301) 2022-01-19 12:10:20 +01:00
proto internal/cli: use config file for flags in new-cli, builder/files: update defaults (#457) 2022-07-29 17:12:30 -07:00
testdata PR#518 and PR#529 -> qa (#532) 2022-09-29 14:25:27 +05:30
command.go internal/cli: use config file for flags in new-cli, builder/files: update defaults (#457) 2022-07-29 17:12:30 -07:00
command_test.go updated tests, and removed requiredblocks from json and hcl 2022-09-07 16:23:44 +04:00
config.go PR#518 and PR#529 -> qa (#532) 2022-09-29 14:25:27 +05:30
config_legacy.go fixed the bug caused by fillBigInt and FillTime.Duration functions (#474) 2022-07-29 17:13:00 -07:00
config_legacy_test.go PR#518 and PR#529 -> qa (#532) 2022-09-29 14:25:27 +05:30
config_test.go updated tests, and removed requiredblocks from json and hcl 2022-09-07 16:23:44 +04:00
flags.go PR#518 and PR#529 -> qa (#532) 2022-09-29 14:25:27 +05:30
helper.go Prepare Bor package for testing (#416) 2022-06-08 16:39:30 +03:00
server.go PR#518 and PR#529 -> qa (#532) 2022-09-29 14:25:27 +05:30
server_test.go Prepare Bor package for testing (#416) 2022-06-08 16:39:30 +03:00
service.go Prepare Bor package for testing (#416) 2022-06-08 16:39:30 +03:00
service_test.go internal/cli: use config file for flags in new-cli, builder/files: update defaults (#457) 2022-07-29 17:12:30 -07:00