mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
* 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>
25 lines
412 B
TOML
25 lines
412 B
TOML
datadir = "./data"
|
|
snapshot = false
|
|
|
|
["eth.requiredblocks"]
|
|
"31000000" = "0x2087b9e2b353209c2c21e370c82daa12278efd0fe5f0febe6c29035352cf050e"
|
|
"32000000" = "0x875500011e5eecc0c554f95d07b31cf59df4ca2505f4dbbfffa7d4e4da917c68"
|
|
|
|
[p2p]
|
|
maxpeers = 30
|
|
|
|
[txpool]
|
|
locals = []
|
|
lifetime = "1s"
|
|
|
|
[miner]
|
|
mine = true
|
|
gaslimit = 30000000
|
|
gasprice = "1000000000"
|
|
|
|
[gpo]
|
|
ignoreprice = "4"
|
|
|
|
[cache]
|
|
cache = 1024
|
|
rejournal = "1s"
|