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:
-
dbPathanddbNamefor database connection needed. -
badgerDbPathandbadgerDbNamefor badger connection needed. configPathnodeKeyFile-
snapshotPathis path or directory of snapshot files. -
peerPortis port that pointed for peer to peer connection -
myAddressis address or IP for own node. -
wellknownPeersis list of node addresses that you believe in. -
apiRPCPortis port for RPC client connection supposted to be for wallet / explorer -
maxAPIRequestPerSecondis request limit in second -
apiHTTPPortis port that use in proxy mode, set 0 to disable and only enable in develop mode. -
monitoringPortis port for grafana and only enable in develop mode. -
cpuProfilingPortis port for CPU profiling and only enable in develop mode. -
apiReqTimeoutSecis request timeout in second for grpc streaming mode. -
ownerAccountAddressis account address in slip10 and hex format smithingproofOfOwnershipReqTimeoutSeclogLevels