Changes

Jump to navigation Jump to search
1,640 bytes added ,  11:08, 19 April 2021
}}
<div class="floatright"><img src="https://i.gyazo.com/3d630d1f995efdb8ffdd04865a6a12c0.png"><br>By [@]Pathfinder#0001</div>
''By Jeroz - Oct 27th, 2018 -- Updated by [https://twitter.com/pathfinder @Pathfinder] for v3v4.3. - Jan, 20202.1''
#If you are using NOOBS and this is the first time your Raspberry Pi and SD card have been used, then you'll have to select an operating system and let it install (Choose the default: Raspbian).
#Don't forget to set a password for login when prompted. Otherwise it is too easy for someone else to get in.
 
== A High-End RPi4 Build with SATA SSD ==
(by [https://twitter.com/pathfinder @Pathfinder])
 
If you'd like a higher-end hardware setup that's optimized for expandability and speed (microSD cards are notoriously slow), see my [https://bit.ly/smol-guide-rpi4 smol guide].
<p>
You'll end up building something that looks like this:
<br>
[https://i.gyazo.com/f0eb138514580314976a21a68b8fc68c.jpg <img src="https://i.gyazo.com/f0eb138514580314976a21a68b8fc68c.jpg" width="350">]<br>
 
My [https://bit.ly/smol-guide-rpi4 smol guide] focuses on running Urbit, but the specified hardware config is also ideal for running a Ravencoin or Bitcoin node!
<p>
 
For optimal speed and expanadabilty, I suggest using the SATA SSD as the data storage location for the Ravencoin blockchain as well as the Ravencoin binaries.
<p>
Create a directory on the SSD called <b>/media/pi/SSD/Ravencoin</b> and put the directory with the Ravencoin binaries in there.
<p>
Then create a directory on the SSD called <b>/media/pi/SSD/Ravencoin/RavencoinData</b> for the blockchain and reference it like this:
 
<p>
 
<b>To START the node:</b>
<pre>./ravend -daemon --datadir=/media/pi/SSD/Ravencoin/RavencoinData</pre>
 
<b>To STOP the node:</b>
<pre>./raven-cli -datadir=/media/pi/SSD/Ravencoin/RavencoinData stop</pre>
 
<b>To CHECK the node:</b>
<pre>./raven-cli -datadir=/media/pi/SSD/Ravencoin/RavencoinData -getinfo</pre>
 
When you're done, it should all look like this:
 
[https://i.gyazo.com/8c02cd94d8012643c2ce2ec5dc5163f7.jpg <img src="https://i.gyazo.com/8c02cd94d8012643c2ce2ec5dc5163f7.jpg" width="800">]
== Setting up the Ravencoin node - The quick way ==
#:<pre>
#::touch ~/.raven/raven.conf &#10;nano ~/.raven/raven.conf </pre> Enter the following lines, and adjust user/login settings accordingly:
#:<pre>rpcuser=rpcuser #optional &#10;rpcpassword=SETYOURPASSWORDHERE #optional &#10;rpcallowip=127.0.0.1 #optional &#10;daemon=1 &#10;upnp=1 &#10;listen=1 &#10;dbcache=800 &#10;maxmempool=50 &#10;disablewallet=1 &#10;logips=1 &#10;maxconnections=125 &#10;prune=42000 &#10;maxuploadtarget=5000 &#10;server=1 </pre> '''Note1:''' If you are are planning to only access your node from your pi itself, skip the first 3 optional settings <br /> '''Note2''': Opening up the RPC port to hosts outside your local trusted network is NOT RECOMMENDED, because the rpcpassword is transmitted over the network unencrypted.<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>

Navigation menu