diff --git a/cmd/cmd.go b/cmd/cmd.go index fd04d506b..02362d5d3 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -314,8 +314,8 @@ func CreateNode(numValidators int, chain genesis.ChainType, workingDir string, if err := genDoc.SaveToFile(genPath); err != nil { return nil, nil, err } - conf := config.DefaultConfigMainnet() - if err := conf.Save(confPath); err != nil { + err := config.SaveMainnetConfig(confPath) + if err != nil { return nil, nil, err } case genesis.Testnet: diff --git a/config/example_config.toml b/config/example_config.toml index a80d89e8a..0e9f20aee 100644 --- a/config/example_config.toml +++ b/config/example_config.toml @@ -80,7 +80,9 @@ # `moniker` is a custom human-readable name for this node. ## moniker = "" - # `session_timeout` is a timeout for a session to be opened. + # `session_timeout` is a timeout for a download session to remain open. + # When a block download request is sent, this timer starts. If there is no activity from the target Node, + # the session will be closed after the timeout and try to get the block from another Node. # Default is `10s`. ## session_timeout = "10s" @@ -141,7 +143,7 @@ [grpc] # `enable` indicates whether gRPC service should be enabled or not. - # Default is `false`. + # Default is `true`. ## enable = true # `enable_wallet` indicates whether Wallet service should be enabled or not.