Ravencoin Full Nodes

Ravencoin — How to Run Full Nodes

Steps:

  • Sign up for a Digital Ocean account.

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. Note: Will add to the end of the file.

echo “maxconnections=1000” >> ~/.raven/raven.conf

Run ravend as a daemon (background process)

ravend -daemon

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
mkdir ~/.raven
echo “maxconnections=1000” >> ~/.raven/raven.conf
ravend -daemon
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.

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.

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

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store