Node Configuration
After successfully running your node with uniond
, you can refer to this guide to aid you in configuring your node.
This is not a complete guide to all node configuration options, this is intended to help ensure that your node is fully operational.
This guide will assume that you’re starting at the root of your Union node configuration (located at ~/.union/
by default or ~/.unionvisor/home
if you’re using Unionvisor).
Client Configuration
Located in config/client.toml
, this file is host to client settings.
The Network Chain ID
Update this value to ensure that your client is supplied with the correct chain ID.
For the Union Testnet, this value should be "union-testnet-8"
.
Host/Port for the Tendermint RPC
This will determine which address your client will listen for Tendermint RPC request on.
This will default to "tcp://localhost:26657"
, setting this to "tcp://0.0.0.0:26657"
will ensure it’s listening on every available network interface.
App Configuration
Located in config/app.toml
, this file is host to app settings.
Minimum Gas Price
Located under the “Base Configuration” section of config/app.toml
.
While optional, you may wish to ensure your node receives a minimum fee when processing transactions. Whatever you choose for this value, ensure it uses the correct denom. For the Union Testnet, the correct denom is muno
.
Pruning
Located under the “Base Configuration” section of config/app.toml
.
Several options are available here, ensure you’ve selected the one that best fits your nodes storage capabilities.
Node Configuration
Located in config/config.toml
, this file is host to many settings.
Consensus
To achieve a low target block time, the Union team asks validators to make the following changes to their configuration.
Located in the consensus
TOML table under the “Consensus Configuration Options” section.
RPC Listening Address
Located in the rpc
TOML table under the “RPC Server Configuration Options” section.
You’ll want to ensure your node is configured to accept rpc connections. To do so, set this value to the appropriate address.
For example, to listen on every available network interface - set this to "tcp://0.0.0.0:26657"
.
P2P Listening Address
Located in the p2p
TOML table under the “P2P Configuration Options” section.
You’ll want to ensure your node is configured to accept p2p connections. To do so, set this value to the appropriate address.
For example, to listen on every available network interface - set this to "tcp://0.0.0.0:26656"
.
External Address
Located in the p2p
TOML table under the “P2P Configuration Options” section.
If you’ve configured a domain name for your node, this is the place to inform your node of it.
Seeds
Located in the p2p
TOML table under the “P2P Configuration Options” section.
Seed nodes help orchestrate initial connections to the network. For union-testnet-8, the seed nodes are:
Seed Mode
Located in the p2p
TOML table under the “P2P Configuration Options” section.
If you’d like to be a seed node, be sure to set this to true
.