diff --git a/README.md b/README.md index 4a350ebd53c..339507ade4c 100644 --- a/README.md +++ b/README.md @@ -137,11 +137,12 @@ forest --config /path/to/your_config.toml Example of config options available: ```toml +[client] data_dir = "" genesis_file = "" [network] -listening_multiaddr = "" +listening_multiaddrs = [""] bootstrap_peers = [""] ``` diff --git a/documentation/src/configuration.md b/documentation/src/configuration.md index b7fd8bb899d..6d949274192 100644 --- a/documentation/src/configuration.md +++ b/documentation/src/configuration.md @@ -37,18 +37,19 @@ and provide it to the process with the `--config` flag or through the The following is an sample configuration file: ```toml -genesis = "/path/to/genesis/file" -rpc = true -port = 1234 -token = "0394j3094jg0394jg34g" -metrics-port = 2345 -kademlia = true -mdns = true -import-snapshot = /path/to/snapshot/file -import-chain = /path/to/chain/file -skip-load = false -req-window = 100 -tipset-sample-size = 10 -target-peer-count = 100 -encrypt-keystore = false +[client] +encrypt_keystore = false +genesis_file = "/path/to/genesis/file" + +[chain] +name = "" +type = "devnet" + +[sync] +recent_state_roots = 1 +request_window = 100 +tipset_sample_size = 10 + +[network] +bootstrap_peers = [""] ```