Skip to content

ztenretep/ravencoin_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Ravencoin is different in comparison to Tron and Tezos, which I have examined so far. With the latter two, direct access to the blockchain is possible using an API. In order to access the blockchain of Ravencoin, the operation of a Ravencoin node is necessary.

The installation of a Ravencoin node is quite simple and the operation of the node is possible on a standard personal computer. However, some time is needed to synchronise the complete blockchain with the node. With the help of raven-qt, the progress can be easily monitored. The progress depends on the network connection and the hardware used. Once the node is synchronised, then it can be turned on and off as needed to use the API.

For now, I will end my excursion into the world of the Ravencoin Blockchain. I have understood the basic principles. I wonder a bit about the fact that there is no benefit to operating a node per se. In my eyes, it would be logical if there were a reward for operating the node. Operation costs time for maintenance, it consumes electricity and it requires bandwidth of the internet connection. In return for the above, you get nothing back.

Ravencoin Node Operation

As described below, a Ravencoin node can be set up on a standard personal computer. After synchronisation, the node can be queried via the RPC interface. There is no benefit to operating the node other than setting up a mining pool for solo mining and accessing the Ravencoin node itself.

Mining Pool Operation

The operation of a mining pool is possible on a standard personal computer. Interaction with a miner works as it should. As expected, however, solo mining with your own mining pool does not make sense. No block rewards are achieved in a reasonable time frame.

Programming Requirements

Following PyPi library is used for the Python scripts:

python-ravencoinlib 0.2.2

Ravencoin Node Set Up

Select a directory for the operation of the node. Open this directory in a terminal window.

mkdir rvn_node

cd rvn_node

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

unzip raven-4.3.2.1-x86_64-linux-gnu.zip

cd linux

gunzip raven-4.3.2.1-x86_64-linux-gnu.tar.gz

tar xf raven-4.3.2.1-x86_64-linux-gnu.tar

cd raven-4.3.2.1/bin

Now we are ready to go.

./ravend -daemon -maxconnections=10000

The QT Ravencoin wallet is reachable by:

./raven-qt -server

Finally, set symbolic links:

ln -s ~/rvn_node/linux/raven-4.3.2.1/bin/ravend /usr/bin/ravend
ln -s ~/rvn_node/linux/raven-4.3.2.1/bin/raven-qt /usr/bin/raven-qt

Run raven-qt detached from terminal window:

nohup ~/rvn_node/linux/raven-4.3.2.1/bin/raven-qt & > /dev/null 2>&1

Up to this, you do not have to take care about the content of raven.conf.

References

https://ravencoin.org/

https://raven.wiki/

https://www.ravennodes.com/

Donation

If you find my scripts helpful, and if you would like to see more examples, donate a cup of coffee in Ravencoins.

RNi9cTpobtVErv8H9uijhcafcT4VgEaDUL