Configuration - zoobc/zoobc-core GitHub Wiki
Configuration file config.toml
located in the root directory of zoobc-core contain many of variables that used as environtment. We use VIPER as loader that loaded when start the node. Some point is:
dbPath
anddbName
for database connection needed.badgerDbPath
andbadgerDbName
for badger connection needed.configPath
nodeKeyFile
snapshotPath
is path or directory of snapshot files.peerPort
is port that pointed for peer to peer connectionmyAddress
is address or IP for own node.wellknownPeers
is list of node addresses that you believe in.apiRPCPort
is port for RPC client connection supposted to be for wallet / explorermaxAPIRequestPerSecond
is request limit in secondapiHTTPPort
is port that use in proxy mode, set 0 to disable and only enable in develop mode.monitoringPort
is port for grafana and only enable in develop mode.cpuProfilingPort
is port for CPU profiling and only enable in develop mode.apiReqTimeoutSec
is request timeout in second for grpc streaming mode.ownerAccountAddress
is account address in slip10 and hex formatsmithing
proofOfOwnershipReqTimeoutSec
logLevels