go-ethereum/internal
Pratik Patil 71980bf5b1
internal/cli: use config file for flags in new-cli, builder/files: update defaults (#457)
* updated simple.json and simple.hcl

* added annotations for developer and grpc block

* added toml tags and simple.toml file

* added support for toml config files

* updated simple files toml, hcl, json

* added config.toml in builder/files and updated bor.service

* add dumpconfig command in cli for exporting configs

* update docs

* updated .goreleaser.yml (POS-651)

* changed --config to -config

* added test config for tests and fixed lint errors

* made fields of type big.int and time.Duration private, removed merge from dumpconfig, setting up default values to the Raw fields in dumpconfig, and fixed one lint error

* fixed lint errors (strange)

* lint fix

* private no-more, using '-' in name tags to ignore

* updated name tags, made c.configFile as a stringFlag (only one config file supported) and updated the merge logic in command.go -> Run()

* fix: set method for big.Int flags, added a TODO

* handeled bigInt and timeDuration type, bug fix in config_legacy, lint fix

* updated flags, consistent across flags.go and config.go

* fixed config test and updated test hcl, json config files

* updated config legacy test

* added test to check values of cmd flags, restructured Run in command.go, linter fix

* fix linters

* lint again

* changed 2 flags and assert -> require

* changed the 2 flags back

* updated correct congig.toml path and made mainnet default

* updated config.toml with new flags

* added sample config (toml) file

* removed sample-config.toml and added it in docs/config.md

Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
2022-07-27 12:28:26 +05:30
..
build V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
cli internal/cli: use config file for flags in new-cli, builder/files: update defaults (#457) 2022-07-27 12:28:26 +05:30
cmdtest cmd/evm: add tests for evm t8n (#23507) 2021-09-02 09:22:43 +02:00
debug merged geth v1.10.10 2021-11-22 19:04:07 +05:30
ethapi Reciept e2e test (#431) 2022-07-14 19:28:56 +03:00
flags V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
guide all: add support for EIP-2718, EIP-2930 transactions (#21502) 2021-02-25 15:26:57 +01:00
jsre V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
shutdowncheck V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
syncx core: improve shutdown synchronization in BlockChain (#22853) 2021-10-07 15:47:50 +02:00
testlog Update Bor to geth-v1.9.16 (#78) 2020-07-24 19:01:41 +05:30
utesting cmd/devp2p, internal/utesting: implement TAP output (#21760) 2020-11-04 15:02:58 +01:00
web3ext Merge develop branch into v0.3.0-dev (#430) 2022-06-15 09:02:01 +03:00