Starting a Validator
Configure the Nexis Network CLI
The Nexis Network cli includes get
and set
configuration commands to automatically set the --url
argument for cli commands. For example:
While this section demonstrates how to connect to the Devnet cluster, the steps are similar for the other Nexis Network Clusters.
Confirm The Cluster Is Reachable
Before attaching a validator node, sanity check that the cluster is accessible to your machine by fetching the transaction count:
Confirm your Installation
Try running following command to join the gossip network and view all the other nodes in the cluster:
Enabling CUDA
If your machine has a GPU with CUDA installed (Linux-only currently), include the --cuda
argument to Nexis-network-validator
.
When your validator is started look for the following log message to indicate that CUDA is enabled: "[<timestamp> Nexis::validator] CUDA is enabled"
System Tuning
Linux
Automatic
The Nexis Network repo includes a daemon to adjust system settings to optimize performance (namely by increasing the OS UDP buffer limits, and scheduling PoH with realtime policy).
The daemon (Nexis-sys-tuner
) is included in the Nexis Network binary release. Restart it, before restarting your validator, after each software upgrade to ensure that the latest recommended settings are applied.
To run it:
Manual
If you would prefer to manage system settings on your own, you may do so with the following commands.
Increase UDP buffers
Increased memory mapped files limit
Add
to the [Service]
section of your systemd service file, if you use one, otherwise add it to /etc/systemd/system.conf
.
Generate identity
Create an identity keypair for your validator by running:
The identity public key can now be viewed by running:
Note: The "validator-keypair.json” file is also your (ed25519) private key.
Paper Wallet identity
You can create a paper wallet for your identity file instead of writing the keypair file to disk with:
The corresponding identity public key can now be viewed by running:
and then entering your seed phrase.
See Paper Wallet Usage for more info.
Last updated