Quixi Configuration

Introduction

The behavior of a Quixi Bridge node is controlled by a combination of a configuration file and command-line arguments. By default, the node reads a file named ixian.cfg from its working directory on startup. Settings specified in this file can be overridden by arguments provided on the command line.

This document serves as a complete reference for all available configuration options.


Configuration File (ixian.cfg)

The configuration file uses a simple key = value format. Each option must be on its own line. Lines starting with a semicolon (;) are treated as comments and are ignored.

Example ixian.cfg:

; Set the main API port
apiPort = 8001

; Allow API access only from the local machine and a specific IP
apiAllowIp = 127.0.0.1
apiAllowIp = 192.168.1.100

; Set a friendly name for this bridge
name = My-Quixi-Bridge

General Options

ParameterTypeDescription
namestringSets a user-friendly name for this Quixi instance.
externalIpstringThe publicly routable IP address of this node. Overrides automatic detection.
networkTypestringSets the network to operate on. Can be mainnet, testnet, or regtest.
checksumLockstringA custom string for the seeding checksum. Only needed for private networks.

API and Network Options

ParameterTypeDescription
serverPortintegerThe port for peer-to-peer communication. 0 for auto-selection (not recommended).
apiPortintegerThe TCP port for the JSON-RPC API server to listen on.
apiAllowIpstringWhitelists an IP address for API access. Can be specified multiple times.
apiBindstringBinds the API server to a specific local IP address. Can be specified multiple times.
addApiUserstringAdds a required user:password credential for API access. Can be specified multiple times.
addPeerstringAdds a seed node for the mainnet. Can be specified multiple times to build a custom peer list.
addTestnetPeerstringAdds a seed node for the testnet. Can be specified multiple times.

Logging Options

ParameterTypeDescription
maxLogSizeintegerThe maximum size of a single log file in Megabytes (MB).
maxLogCountintegerThe maximum number of historical log files to keep (log rotation).
logVerbosityintegerA bitmask to set logging detail. Add numbers for combined verbosity: Trace=1, Info=2, Warn=4, Error=8. (e.g., 14 for Info+Warn+Error).

Advanced Options

ParameterTypeDescription
streamCapabilitiesintegerA bitmask to define the node's S2 capabilities. See StreamCapabilities enum for details.
mqDriverstringThe message queue driver to use. Can be none, mqtt, or rabbitmq.
mqHoststringThe hostname or IP address of the message queue server.
mqPortintegerThe port of the message queue server.

Command-Line Arguments

Command-line flags provide a way to launch the node with specific settings or to perform one-off actions. They override any conflicting settings in ixian.cfg.

General Flags

FlagParameterDescription
-h, --help-Displays the help screen and exits.
-v, --version-Displays the node version and exits.
-t, --testnet-Starts the node in testnet mode. Overrides networkType in the config file.
--networkTypestringExplicitly sets the network type. Can be mainnet, testnet, or regtest.
--configfilepathSpecifies the path to the configuration file. Default is ixian.cfg.

Node Operation Flags

FlagParameterDescription
-c, --clean-Deletes cache, log, and peer data files before starting.
-x, --changepass-Prompts to change the password of the specified wallet (-w) and exits.
-a, --apiportportSets the JSON-RPC API port. Overrides apiPort in the config file.
-i, --ipip_addressSets the external IP address. Overrides externalIp in the config file.
-w, --walletfilepathSpecifies the path to the wallet file. Default is ixian.wal.
-n, --nodeip:portConnects to a specific seed node, ignoring the default list.
--namestringSets a user-friendly name for this instance. Overrides name in the config file.

Logging Flags

FlagParameterDescription
--maxLogSizemegabytesSets the maximum log file size in MB.
--maxLogCountcountSets the maximum number of log files to keep.
--logVerbosityintegerSets the logging verbosity using the bitmask (Trace=1, Info=2, Warn=4, Error=8).
--verboseOutput-Enables verbose logging directly to the console output.

Developer Flags

FlagParameterDescription
--walletPasswordpassword(UNSAFE) Provides the wallet password directly on the command line. Use with extreme caution.
--checksumLockstringSets the checksum lock for private networks.