XOLANA Validator Guide

Install The Solana CLI (Linux)

Note: Changes made to a profile file may not apply until the next time you log into your computer. To apply the changes immediately, just run the shell commands directly or execute them from the profile using a command such as source $HOME/.profile.

 

System Tuning (Linux)

Your system will need to be tuned in order to run properly. Your validator may not start without the settings below.

Optimize sysctl knobs

Add

to the [Service] section of your systemd service file, if you use one, otherwise add

to the [Manager] section of /etc/systemd/system.conf.

 

Building (Optional)

(If not trying to run solana-validator from the source code, then just skip the following building steps)

1. Install rustc, cargo and rustfmt.

When building the master branch, please make sure you are using the latest stable rust version by running:

On Linux systems you may need to install libssl-dev, pkg-config, zlib1g-dev, protobuf etc.

On Ubuntu:

2. Download the source code.

3. Build.

It should be shown like this:

 

Running

4. Create key-pairs

5. Airdrop testing SOL

6. Run Validator

Check normal logs

Check catch up status

Should be shown info like this:

Check validator status

and

Check ledger status

7. Transfer 100 SOL to identity account

8. Create Stake Account

9. Create Vote Account

10. Stake

Transfer some SOL (eg. 1000) to public address of stake.

Do delegate stake operation.

Do stake operation.

11. Check status

Normal logs

Check leader schedule

or

Check validator status

and

Check block production

Check epoch information

12. Kill Validator Process

Check validator process

Kill validator process

Check validator process again, make sure it has been killed properly