-
Notifications
You must be signed in to change notification settings - Fork 3
Configuration
stefano galassi edited this page Oct 12, 2020
·
4 revisions
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 connection -
myAddress
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 / explorer -
maxAPIRequestPerSecond
is request limit in second -
apiHTTPPort
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 format smithing
proofOfOwnershipReqTimeoutSec
logLevels