DefaultBaseConfig returns a default base configuration for a Tendermint node
()
| 231 | |
| 232 | // DefaultBaseConfig returns a default base configuration for a Tendermint node |
| 233 | func DefaultBaseConfig() BaseConfig { |
| 234 | return BaseConfig{ |
| 235 | Genesis: defaultGenesisJSONPath, |
| 236 | PrivValidatorKey: defaultPrivValKeyPath, |
| 237 | PrivValidatorState: defaultPrivValStatePath, |
| 238 | NodeKey: defaultNodeKeyPath, |
| 239 | Moniker: defaultMoniker, |
| 240 | ProxyApp: "kvstore", |
| 241 | ABCI: "socket", |
| 242 | LogLevel: DefaultLogLevel, |
| 243 | LogFormat: LogFormatPlain, |
| 244 | FastSyncMode: true, |
| 245 | FilterPeers: false, |
| 246 | DBBackend: "goleveldb", |
| 247 | DBPath: "data", |
| 248 | } |
| 249 | } |
| 250 | |
| 251 | // TestBaseConfig returns a base configuration for testing a Tendermint node |
| 252 | func TestBaseConfig() BaseConfig { |
no outgoing calls