#*''ravend'': which is the Ravencoin deamon, a program that implements the Ravencoin protocol for remote procedure calls (RPCs). In simple terms: it will run a wallet/node as a background process and you can send instructions to it.
#*''raven-cli'': which is the command line interface for Ravencoin that you can use to send instructions to ravend.
#Next up is starting the deamon (''ravend'') process to start the Ravencoin node.
#:<pre>
#::Ravend & </pre>
#Additionally, we are going to make a configuration file to set up ravencoin optimally for the raspberry pi.
#:<pre>
#::touch ~/.raven/raven.conf nano ~/.raven/raven.conf </pre> Enter the following lines:#:<pre>server=1 upnp=1 dbcache=800 maxmempool=50 disablewallet=1 logips=1 maxconnections=40 prune=42000 maxuploadtarget=5000 </pre> '''Note:''' It is important to set <code>server=1</code> otherwise you will not get incoming connections and <code>prune</code> lets your pi look at the last X MB of the chain. Adjust this value based on your SD size. <br /> To save: CTRL+O ENTER, To exit: CTRL+X.#Now you can start start ravend again to index the blockchain that you downloaded and to download the remaining bit (which may still take a day depending on your connection).#:<pre>#::Ravend & </pre># Ok, so suppose you are as impatient as I am and you want to know more about the progress of ''ravend'' downloading the block chain. To make this insightful we are going to make use a little scriptthat I found using google and slightly adapted ([https://bitcoin.stackexchange.com/users/83847/hiding-ninja original creator]). It will use ''raven-cli'' to get information from the deamon and we will extract the most useful information from it.#: <pre>#::touch ~/check_status.sh nano ~/check_status.sh </pre> Enter the following lines:#:<pre>#!/bin/bash count=$(/usr/local/bin/raven-cli getblockcount); /bin/echo "block count: $count"; hash=$(/usr/local/bin/raven-cli getblockhash $count); /bin/echo "block hash: $hash"; t=$(/usr/local/bin/raven-cli getblock "$hash" | grep '"time"' | awk '{print $2}' | sed -e 's/,$//g'); /bin/echo "block timestamp is: $t"; cur_t=$(date +%s); diff_t=$[$cur_t - $t]; /bin/echo -n "Difference is: "; /bin/echo $diff_t | /usr/bin/awk '{printf "%d days, %d:%d:%d\n",$1/(60*60*24),$1/(60*60)%24,$1%(60*60)/60,$1%60}'; </pre> To save: CTRL+O ENTER, To exit: CTRL+X. <br />TBCAnd to make it executable:#:<pre> chmod +x ~/check_status.sh </pre> You can now use the script to check the blockchain download status of ''ravend''.I noticed that it spits out an error if ''ravend'' is still indexing the blockchain (after startup) and that the first call to it is rather slow:#:<pre> ~/check_status.sh </pre>
== Connections and Security ==
== Final checks ==