Full Node

Discussion in 'Full Nodes' started by Johnshpon3, Dec 28, 2015.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. Johnshpon3

    Johnshpon3 Member

    Dec 25, 2015
    210
    86
    Male
    Telecommunications
    Slovenia
    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.
     
    aleix and aphexmunky like this.
  2. jolan

    jolan Sr. Member
    Developer

    Dec 7, 2015
    197
    226
    Male
    Decred Team Member
    The code has already been tested on an ARM board so it is definitely possible and will be pretty easy to get running.
     
    DecredMiner likes this.
  3. Volos

    Volos New Member

    Dec 28, 2015
    2
    2
    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?
     
    hendrayoga and Costin like this.
  4. Costin

    Costin Member
    Advocate (Twitter)

    Dec 28, 2015
    243
    84
    Male
    JavaScript
    Liverpool
    I'd like an answer also :)
     
  5. jolan

    jolan Sr. Member
    Developer

    Dec 7, 2015
    197
    226
    Male
    Decred Team Member
    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.
     
  6. jcv

    jcv Full Member
    Developer

    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.
     
  7. Johnshpon3

    Johnshpon3 Member

    Dec 25, 2015
    210
    86
    Male
    Telecommunications
    Slovenia
    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
     
  8. Costin

    Costin Member
    Advocate (Twitter)

    Dec 28, 2015
    243
    84
    Male
    JavaScript
    Liverpool
    I guess after he makes these it'll be easier for you.
     
  9. shoshin

    shoshin Member

    Dec 28, 2015
    86
    94
    Male
    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/
     
  10. Johnshpon3

    Johnshpon3 Member

    Dec 25, 2015
    210
    86
    Male
    Telecommunications
    Slovenia
    Thanks. This will be my first step and waiting further tutorials. We still have couple weeks before launch.
     
  11. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    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 :)
     
  12. jolan

    jolan Sr. Member
    Developer

    Dec 7, 2015
    197
    226
    Male
    Decred Team Member
  13. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    He is using standard raspbian OS. Thanks for the link. :)
     
  14. drunkenmugsy

    drunkenmugsy Sr. Member
    Advocate (Reddit)

    Dec 28, 2015
    405
    218
    Male
    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?
     
  15. jolan

    jolan Sr. Member
    Developer

    Dec 7, 2015
    197
    226
    Male
    Decred Team Member
    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.
     
  16. drunkenmugsy

    drunkenmugsy Sr. Member
    Advocate (Reddit)

    Dec 28, 2015
    405
    218
    Male
    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?
     
  17. jolan

    jolan Sr. Member
    Developer

    Dec 7, 2015
    197
    226
    Male
    Decred Team Member
    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.
     
    tacotime likes this.
  18. drunkenmugsy

    drunkenmugsy Sr. Member
    Advocate (Reddit)

    Dec 28, 2015
    405
    218
    Male
    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.
     
  19. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    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 :p : You can check out Chris' project here. He is doing some great work for community.
     
  20. drunkenmugsy

    drunkenmugsy Sr. Member
    Advocate (Reddit)

    Dec 28, 2015
    405
    218
    Male
    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?
     

Share This Page