DLT Configuration Quick Reference

Introduction

This guide covers the most frequently used configuration settings for running an Ixian DLT node. For a complete list of all possible parameters, please see the full configuration reference.

Settings can be placed in a configuration file (e.g., ixian.cfg) or passed as command-line arguments, which will override the file settings.

Configuration File (ixian.cfg)

The file uses a key = value format.

Most Common Settings

ParameterExample ValueDescription
networkTypemainnetSets the network to operate on. Can be mainnet, testnet, or regtest.
dltPort10234The main TCP port for peer-to-peer communication.
apiPort8081The local port for the JSON-RPC API.
externalIp203.0.113.42Your node's public IP address. Helps with peer discovery.
dataFolderPath/opt/ixian/dataThe directory where blockchain data will be stored.
logFolderPath/opt/ixianSpecifies the directory to store log files.
activityFolderPath/opt/ixian/activitySpecifies the directory to store activity data.
apiAllowIp127.0.0.1Security: Whitelists an IP to access the API. Use multiple lines for multiple IPs.
apiBind127.0.0.1Security: Binds the API to a specific local IP. 127.0.0.1 is recommended.
logVerbosity14Sets logging detail (Info=2, Warn=4, Error=8). 14 is a good default (2+4+8).

Command-Line Arguments

These are the most common flags used when launching a DLT node.

FlagExampleDescription
-t, --testnetIxianDLT.exe -tStarts the node on the testnet.
--networkTypeIxianDLT.exe --networkType regtestExplicitly sets the network type: mainnet, testnet, or regtest.
--configIxianDLT.exe --config ixian.cfgSpecifies the path to the configuration file (default: ixian.cfg).
-p, --portIxianDLT.exe -p 10234Sets the P2P network port.
-a, --apiportIxianDLT.exe -a 8081Sets the JSON-RPC API port.
-i, --ipIxianDLT.exe -i 203.0.113.42Sets the external IP address.
-w, --walletIxianDLT.exe -w mywallet.walSpecifies the path to the wallet file.
-n, --nodeIxianDLT.exe -n seed1.ixian.io:10234Connects to a specific DLT seed node.
--dataFolderPathIxianDLT.exe --dataFolderPath /opt/ixian/dataSpecifies the blockchain data directory.
--logFolderPathIxianDLT.exe --logFolderPath /opt/ixianSpecifies the directory for log files.
--activityFolderPathIxianDLT.exe --activityFolderPath /opt/ixian/activitySpecifies the directory for activity data.
--workerIxianDLT.exe --workerRuns the node in worker-only mode.
-c, --cleanIxianDLT.exe -cDANGEROUS: Prompts to delete all blockchain data and resync from scratch.
--blockStorageIxianDLT.exe --blockStorage RocksDBThe storage engine for blocks and transactions. Can be SQLite or RocksDB.