-
Notifications
You must be signed in to change notification settings - Fork 15
Run a Node
- 2GB RAM
- Dual-Core CPU
- 100 Mbps bandwidth (2TB or more of available monthly bandwidth)
- SSD-based hard drive with 40GB+ of free space
- linux: Ubuntu 18.04+, Debian 9+, Centos 8+
- Ubuntu/Debian:
sudo apt install screen
- CentOS
dnf install screen
Increase OS UDP buffers to improve performance.
- Ubuntu/Debian/CentOS
vi /etc/sysctl.conf
#append the following lines at the end of sysctl.conf
net.core.rmem_max=33554432
net.core.rmem_default=33554432
net.core.wmem_max=33554432
net.core.wmem_default=8388608
net.core.netdev_max_backlog=100000
net.ipv4.udp_rmem_min=8388608
#make the changes effective
sysctl -p
The rai_node needs the system clock to be accurate (±16 seconds), you can use 'date' command to check it and compare with https://time.is.
date
Sat Oct 10 13:55:49 UTC 2020
Most Linux systems have time synchronization built in and activated by default. If your system time is incorrect, please set up time synchronization manually.
./rai_node --key_create --file=key.dat
cd ~/Raicoin
pwd #print where key.dat is stored
Important===> backup the key.dat and remember the password.
./rai_node --config_create --forward_reward_to=#REPLACE WITH YOUR RAICOIN ACCOUNT CREATED BY https://raiwallet.org#
screen -S node
./rai_node --daemon --key=key.dat
#input password of the key.dat
#press CTRL+a+d to leave screen and let the daemon running
#use 'screen -r node' command to resume screen
Record your node account shown when the node starts.
Change your wallet's representative to your node account to get extra reward. When your wallet receives first reward (typically 72 hours later), then click "Settings-->Account Settings", enter the node account(shown in step 3) in "New Representative" field and click "CHANGE REPRESENTATIVE", done!