MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / writeDefaultConfigFile

Function writeDefaultConfigFile

config/toml.go:54–56  ·  view source on GitHub ↗

XXX: this func should probably be called by cmd/tendermint/commands/init.go alongside the writing of the genesis.json and priv_validator.json

(configFilePath string)

Source from the content-addressed store, hash-verified

52// XXX: this func should probably be called by cmd/tendermint/commands/init.go
53// alongside the writing of the genesis.json and priv_validator.json
54func writeDefaultConfigFile(configFilePath string) {
55 WriteConfigFile(configFilePath, DefaultConfig())
56}
57
58// WriteConfigFile renders config using the template and writes it to configFilePath.
59func WriteConfigFile(configFilePath string, config *Config) {

Callers 2

EnsureRootFunction · 0.85
ResetTestRootWithChainIDFunction · 0.85

Calls 2

WriteConfigFileFunction · 0.85
DefaultConfigFunction · 0.70

Tested by

no test coverage detected