go-ethereum/docs
Pratik Patil 57075d000d
Add support for new flags in new config.toml, which were present in old config.toml (#612)
* added HTTPTimeouts, and TrieTimeout flag in new tol, from old toml

* added RAW fields for these time.Duration flags

* updated the conversion script to support these extra 4 flags

* removed hcl and json config tests as we are only supporting toml config files

* updated toml files with cache.timeout field

* updated toml files with jsonrpc.timeouts field

* tests/bor: expect a call for latest checkpoint

* tests/bor: expect a call for latest checkpoint

* packaging/templates: update cache values for archive nodes

Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
2022-12-05 19:21:33 +05:30
..
audits Update Bor to geth-v1.9.16 (#78) 2020-07-24 19:01:41 +05:30
cli Add support for new flags in new config.toml, which were present in old config.toml (#612) 2022-12-05 19:21:33 +05:30
postmortems V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
README.md added a toml configuration file with comments describing each flag (#607) 2022-12-01 09:20:17 +05:30

Documentation

Additional notes

  • The new entrypoint to run the Bor client is server.

    $ bor server <flags>
    
  • The bor dumpconfig sub-command prints the default configurations, in the TOML format, on the terminal. One can pipe (>) this to a file (say config.toml) and use it to start bor.

  • A toml file now can be used instead of flags and can contain all configuration for the node to run. To simply run bor with a configuration file, the following command can be used.

    $ bor server --config <path_to_config.toml>
    
  • You can find an example config file here to know more about what each flag is used for, what are the defaults and recommended values for different networks.

  • Toml files used earlier (with --config flag) to configure additional fields (like static and trusted nodes) are being deprecated and have been converted to flags.