DLT Node Configuration options

Configuration file

An alternative to creating a batch or shell script is the Ixian DLT configuration file, which can be used to configure the most important settings. Default filename of the config file is ixian.cfg but can be changed by using the --config CLI parameter

The format of the file is simple INI (without sections):

  • Each option is specified on its own line
  • Option syntax is option_name = option_value
  • Whitespace is not important
  • Lines starting with ; are ignored
  • Option names are case-sensitive

A list of options supported by the config file is:

Option nameTypeRepeatableDefaultDescription
dltPortintNo10234TCP port number for the Master Node, when running on the main network.
testnetDltPortintNo11234TCP port number for the Master Node, when running on the test network.
apiPortintNo8081Port for the internal REST API server to listen for commands. Note: This port is only available on the localhost interface (127.0.0.1).
apiAllowIpIPv4 AddressYesEMPTYIP Addresses which are allowed to access the REST API interface.
apiBindBind PointYeshttp://localhost:8081Additional IP interface on which the internal REST API should listen. The API allows full control over the DLT node, so do not change this unless you are absolutely sure.
testnetApiPortintNo8181Port for the internal REST API server when the node is operating on the test network.
addApiUserUsername:PasswordYesEMPTYAn additional layer of protection - will require all REST API calls to include the given username and password.
externalIpIP AddressNoEMPTYConfigure this if the external IP address cannot be automatically determined via UPnP.
addPeerHostname or IP AddressYesSeed NodesSet this to use different Ixian DLT Mater nodes as seed - this option only has an effect in mainnet mode.
addTestnetPeerHostname or IP AddressYesSeed NodesSet this to use different Ixian DLT Mater nodes as seed - this option only has an effect in testnet mode.
maxLogSizeintNo50Size of the Ixian DLT log file (in megabytes), before it is automatically rotated.
maxLogCountintNo10Number of old (full) log files to keep before deleting the oldest.
disableMinerintNo0If set to anything other than 0, the built-in Ixian DLT miner will not run.
disableWebStartintNo0If set to a nonzero value, the DLT node will not open its internal wallet page on startup.
forceTimeOffsetintNo0Forces the local node's time to a different value (when the OS clock does not return the correct time).
blockStoragestringNosqliteSelects the storage provider for the block and transaction storage.
walletNotifystringNoEMPTYOS command to run whenever the local wallet is updated.
blockNotifystringNoEMPTYOS command to run whenever a new block is received by the DLT node.

Any repeatable options may be specified more than once. If non-repeatable options are specified multiple times, the last one is used.