Server Configuration File
In this section, we will introduce parameters in the server configuration file.
Introduction to the server configuration file
The server configuration file defines the node configuration of IBAX.
Location
This file is located in the working directory of the server and is named config.toml
.
Sections
The configuration file consists the following sections:
general section
It defines the working directory DataDir, the first block directory FirstBlockPath and other parameters.
[TCPServer]
It defines the TCP service parameters.
TCPServer is used for the network interaction between nodes.
[HTTP]
It defines the HTTP service parameters.
HTTPServer provides RESTful APIs.
[DB]
It defines parameters of the PostgreSQL node database.
[StatsD]
It defines parameters of the node operation indicator collector StatsD.
[Centrifugo]
It defines parameters of the notification service Centrifugo.
[Log]
It defines parameters of the log service Log.
[TokenMovement]
It defines parameters of the token circulation service TokenMovement.
An example configuration file