Skip to main content
A full node follows the chain, serves the query API, and forwards transactions. A validator also votes and proposes blocks. Every validator starts as a full node. The node package is not public yet. To get it, apply at intention.xyz/validators or email contact@intention.xyz.

Machine specs

The validators on the network today use an AMD EPYC 4585PX with 128 GB DDR5-5600 ECC, 2 × 1.92 TB NVMe Gen4, and 2 Gbps. These CPUs are equivalent: EPYC 4584PX, Ryzen 9 9950X, and Ryzen 9 7950X3D. For a full node, an EPYC 4345P or a Ryzen 7 9700X is sufficient. Use bare metal. Do not use a cloud VM with shared cores. Clock speed is more important than core count. Matching, clearing, and liquidation run inside block execution, so a slow core makes slow blocks. A server CPU with many cores at a low clock is not equivalent. For the lowest latency, run the node in Tokyo, Japan.

Ports

A full node does not need an inbound port.

Get the node package

  1. Apply at intention.xyz/validators, or email contact@intention.xyz.
  2. Tell us the role you want: full node or validator.
  3. Tell us where the machine is and what hardware it has.
You receive the node package and the chain file, chain/CHAIN.md. The chain file gives the seed peers, the ports of the current validators, and the validator weight. You need Docker 24 or later and Docker Compose v2 or later.

Run a full node

A full node does not need approval from the validator set. The current validators accept connections from unregistered peers on the full node network.

1. Generate keys

A full node uses one key file: keys/validator-full-node-identity.yaml. Keep the other files. A validator needs them later.

2. Set the peer ID

Do this step. If you skip it, the node does not sync and shows no error.
  1. Open keys/public-keys.yaml.
  2. Copy the value of full_node_network_public_key. Remove the 0x prefix.
  3. Open keys/validator-full-node-identity.yaml.
  4. Replace the value of account_address with the copied value.
The current validators accept an unknown peer only if its peer ID comes from its network public key.

3. Set the configuration

  1. Find each TODO in config/node.yaml.
  2. Set seeds to the seed peers in chain/CHAIN.md.
Make sure that these settings have these values: If your configuration file does not contain the last setting, add it.

4. Start the node

5. Check the sync

First, the node downloads a state snapshot. During the download, the API shows DB is bootstrapping and ledger_version stays at 0. This is correct. After the download, ledger_version jumps near the chain tip. The node is synced when its height and epoch are the same as on the current validators.

What a full node serves

/v1/transactions/simulate is disabled on all nodes. It returns when a fix is released. A full node has no history from before its snapshot. A query for an older version returns version_pruned.

Run a validator

A validator needs approval from Intention governance. The process has two phases, with one restart between them. You cannot start as a validator. The validator network accepts only members of the validator set. The full node network does not dial for the validator role. Thus a new node must sync as a full node first.

1. Sync as a full node

  1. Do all the steps in Run a full node.
  2. Open port 6180 to the internet.
  3. Wait until the node is synced.
Do not send a proposal before the node is synced. Nobody can dial your node until it is active, so a node that is not synced cannot join consensus.

2. Declare your addresses

This writes keys/validator/operator.yaml. The file contains only public data.
Make sure that both addresses are reachable from the internet. A wrong address passes every check. The node then joins the set and never votes.

3. Generate the join proposal

The command works offline. It compares the network key in your addresses with the key your node uses. If they are different, it stops with an error. Check the weight. payload.json shows "voting_power": null, which means the chain default. If the default is not the validator weight in chain/CHAIN.md, add --voting-power <weight> and run the command again. A low weight gives your node fewer blocks to propose, and nothing reports it. The command writes three files. None contains a private key.

4. Send the proposal

Send the three files to Intention with this evidence: Intention checks the proposal with verify-join-proposal, approves it, and executes it. Keep digest.txt. The approval signs this digest, so a changed proposal cannot use your approval.

5. Wait for an epoch boundary

After execution, your address is in pending_active. Do not change the configuration yet. Consensus does not count you in pending_active. At the next epoch boundary, your address moves to active_validators. You do not need to do anything.

6. Switch to the validator configuration

Do this step only after your address is in active_validators.
The validator configuration adds the validator network and the safety rules. Keep the database. The node continues from its synced height.

7. Check that you propose blocks

A validator in active_validators can still fail to propose. Count the proposers of recent blocks:
Your address must be in the list. Your share of blocks is about your voting_power divided by the total. With a small share, use more than 40 blocks.

Leave the validator set

All exits go through a governance proposal. leave-validator-set is not available on this chain.
  1. Tell Intention the date when you want to leave.
  2. Intention sends a proposal that removes your address.
  3. Keep the node on.
Do not stop the node while you are in pending_inactive. Consensus still counts your vote.
When your address is in no bucket of show-validator-set, you can stop the node. To continue as a full node, copy config/node.fullnode.yaml.example to config/node.yaml and restart. If you keep the validator configuration, the node stops syncing and shows no error. The validator set cannot have fewer than 4 validators. If your exit makes the set smaller than 4, the proposal is rejected. A new validator must join first. Intention can also remove a validator, for example for a long time offline or a wrong network key.

Troubleshooting

Most failures on this chain show no error. The container is healthy and the API responds, but ledger_version does not move. Check each step. The API shows DB is bootstrapping and ledger_version does not move. Check these causes in this order:
  1. The account_address in validator-full-node-identity.yaml is not the network public key. See step 2.
  2. A seed uses port 6180, or your own port. Use the full node port in chain/CHAIN.md.
  3. bootstrapping_mode is *FromGenesis. Set it to DownloadLatestStates.
Count the dial attempts:
The node is in active_validators but does not propose. Check that both declared addresses are reachable. Check that NETWORK_KEY_MISMATCH is 0. Check that config/node.yaml is the validator configuration. A query returns version_pruned. This is correct. A full node keeps no history from before its snapshot. There is no staking, delegation, or reward for validators. The validator role is an operator role.