Ravencoin — How to Run Full Nodes

Tron Black
2 min readMar 1, 2021

Steps:

  • Sign up for a Digital Ocean account.
  • Create a Droplet — “Regular Intel” CPU (80 GB) for $20/month
  • Connect to your new node (SSH or login)
  • Run these commands (see below for them all grouped together where you can copy/paste them all in one shot)

Download a zip compressed Ravencoin core:

wget https://github.com/RavenProject/Ravencoin/releases/download/v4.3.2.1/raven-4.3.2.1-x86_64-linux-gnu.zip

Use the pre-installed python3 to unzip. No need to install unzip.

python3 -m zipfile -e raven-4.3.2.1-x86_64-linux-gnu.zip ~

Uncompress the compressed file inside the zip

tar -xf ~/linux/raven-4.3.2.1-x86_64-linux-gnu.tar.gz

Helpful mapping so ravend and raven-cli commands can be run from any folder.

ln -s ~/raven-4.3.2.1/bin/raven-cli /usr/bin/raven-cli
ln -s ~/raven-4.3.2.1/bin/ravend /usr/bin/ravend

Set the maxconnections to 1000 so we connect to more nodes.

Run ravend as a daemon (background process) with -maxconnections=1000. You can also add this to ~/.raven/raven.conf (just leave off the dash).

ravend -daemon -maxconnections=1000

Print out “started” — Not really necessary, but adds an extra return for copy/paste so daemon starts.

echo “Started”

Now the EASY BUTTON….

What if we do it all in sequence, just paste this in.

wget https://github.com/RavenProject/Ravencoin/releases/download/v4.3.2.1/raven-4.3.2.1-x86_64-linux-gnu.zip
python3 -m zipfile -e raven-4.3.2.1-x86_64-linux-gnu.zip ~
tar -xf ~/linux/raven-4.3.2.1-x86_64-linux-gnu.tar.gz
ln -s ~/raven-4.3.2.1/bin/raven-cli /usr/bin/raven-cli
ln -s ~/raven-4.3.2.1/bin/ravend /usr/bin/ravend
ravend -daemon -maxconnections=1000
echo “Started”

To test and make sure a full node is running, do this from a different computer:

telnet <ip of server> 8767

It should immediately return something like:

Connected to 165.232.147.4.
Escape character is ‘^]’.

Hit CTRL-] to exit and then q and ENTER to quit telnet.

Once you’ve created one node, and it is fully synced, then you can create a snapshot, and then create new nodes from the snapshot and they’ll already be fully synced nodes.

If the server is restarted, the ravend daemon will need to be started again.

Update: If you’re doing this on AWS instead, then you need to allow port 8767 in the security group. Also, AWS will be more expensive.

Update: Thank you to Twitter: @evanhowington for tips on needed fixes. https://www.youtube.com/watch?v=ortBrCVj0Bg

Update: If you are using CentOS, include these two lines at the beginning.

sudo yum -y install wget
sudo yum -y install python3

--

--

Tron Black

Freedom advocate, crypto developer, businessman, entrepreneur, and lead dev for Ravencoin — a top crypto-currency and asset issuance platform.