I would like to run full node for Decred with Raspberry Pi2. Of course if somebody of geeks outside will prepare 'How To Run Decred Full Node For Dummies'. I have FTTH so speed is not an issue.
The code has already been tested on an ARM board so it is definitely possible and will be pretty easy to get running.
I can prepare 'How To Run Decred Full Node For Dummies' and run it on my RPi2 but would like to check the code first, any ETA when the code will be up on github?
The goal is to have the source code publicly released roughly around the time when the countdown on decred.org expires. As mentioned in the announcement, the code is based off of the btcsuite code so the steps will be pretty much the same, namely installing go and running go get.
I'll just also point out that with go it is very easy to cross compile for other platforms. I do all my building on my fastest linux system and then copy the files to my rpi, mac, bitrig, and openbsd boxes for testing.
So, If I understand this subject...First I should install OS i.e. Raspbian (on Pi2), on top of OS I install GO, after that BTCD 0.12.0 or newer. And after all magic is done, voila, here is Full Node. Hmm...maybe is not that simple . Best regards
It will likely be very easy to get a node up and running either on a Raspberry Pi 2 or a cheap VPS. I will write up a quick getting started tutorial as soon as the testnet launches. If you want to get ready I recommend you download the Raspbian Jessie Lite[1] image if you plan on using the RPi2. [1] https://www.raspberrypi.org/downloads/raspbian/
Thanks. This will be my first step and waiting further tutorials. We still have couple weeks before launch.
OFF-TOPIC Chris Ellis (https://twitter.com/MrChrisEllis) of Protip & Fullnode project has been trying to install go on his RPi2 fullnodes in order to get btcsuite to work but was not able to do so. If anyone knows how to do that please contact him. Thanks
I don't use twitter so maybe you can relay this link to him: http://dave.cheney.net/unofficial-arm-tarballs No idea what distribution he's using but that should work for every distribution.
I was reading up on this a little. It appears that the largest SD a RPi2 can handle reliably is 32gb? At least without some newer kernel updates? As the the btc block chain is close to 32gb now you may have issues running a full btc node on RPi2? As long as we can get GO running RPi2 should run a full decred node for some time? At least until we run out of space on 32gb sd or we get better sdxc drivers? All this assumes no external storage as well. USB sticks and drives may make this a mute point?
Well 21.co's devkit was just a Raspberry Pi 2 with 128GB SanDisk uSD card so I would hope they work fine together since they shipped a few thousand of them. If you follow the link I posted above, getting Go running shouidn't take more than a minute. I highly recommend Arch Linux Arm over other distributions though. The kernel/firmware is always up to date and installing go is as easy as typing Code: pacman -Syu go A Raspberry Pi 2 w/large uSD card will work but there's definitely better boards for the task. The main problem with using an Rpi+uSD card is that the i/o throughput is so slow. I prefer hardkernel's odroid line with eMMC myself. A c1+ is faster for about the same price and their xu4 is an octacore monster. Really depends on how much you want to spend.
Interesting! I think the reason for RPi2 use is they are now pretty mainstream and easily available. Other boards maybe not so much. Is the throughput problem just in getting the initial block chain data to sd or are you saying the RPi2 will not be able to keep up very well at all?
Yes, slow initial block download could be a problem but I'm sure it'd be able to keep up once synced since the target block time is 5 minutes. I just feel a need to caution people against buying an RPi 2 specifically for running the decred daemon since there are better alternatives. However, if you already have one or are going to get one to try dcrd on and then potentially use it for something else, go right ahead.
I dont think it will be a problem downloading the chain for decred for quite some time. It will be small enough to download quite quickly for several months even if dcrd were to explode in popularity. I have a RPi2 and a 32gb sd I am going to try to get setup right off the bat as soon as we have the tools/code available.
I can attest that RPi2 can handle 128GB microsd cards. Chris Ellis is using them to build bitcoin fullnodes. Also i found this tutorial about how to use USB HDDs with Rpi2. I am soon going to receive my fullnode from Chris that was donated by someone else during crowdfund. I might try to run both BTC & DCR fullnodes on it. Shameless Plug : You can check out Chris' project here. He is doing some great work for community.
From the description and pic the fullnode looks like 8gb sd card along with 128gb USB stick. I am not saying the RPi2 cant handle 128gb. I am saying I dont know about the sd card interface. Or does it matter? If the OS can handle up to xTB can the sd card interface do the same?