Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: tmuir12 on November 10, 2014, 11:32:47 AM



Title: Help Feathercoin, Run a full Node on a Raspberry Pi
Post by: tmuir12 on November 10, 2014, 11:32:47 AM
One thing all altcoins need is more full nodes on the network.
The difference between a Full Node and a regular wallet is essentially you open up the ports on your router to point to your wallet to allow other wallets to connect to you to stay up to date with the block chain. The more full nodes on the network the quickly the blockchain will be distributed.

Now its generally not a good idea to do this with your main wallet as it could pose a security risk, but also if you are like me your main wallet is on a power hungry PC.
This is where the Raspberry Pi comes in.
For those that are not familiar with the Raspberry Pi please go to Raspberry pi org and have a look http://www.raspberrypi.org/ (http://www.raspberrypi.org/)

The Raspberry Pi is a small Linux based PC about the size of a pack of playing cards and best of all it only consumes 5W of electricity so it only costs a couple of cents a day to run.
This makes its perfect to be used as a full node as its small and cheap to run.

I've created a set of install scripts that will install Feathercoind on a Raspberry pi with minimal input from yourself.
As default the script will download a version of featehrcoind that I compiled, but I understand that not everyone likes to run other peoples precompiled code, so the script is set up to allow it to be editted to instead download the Feathercoin source and compile it then on your Pi. It takes about 4 1/2 hours to compile which is why I made a precompiled version available to save time.
It also gives you an option to download a zipped up version of the blockchain from about a week agao which will save a lot of time to sync, but this to can be cancelled if you would prefer to download it your self.

The install script could be easily modified to use for many other coins too if you wanted to.

Here is a link to the script which is hosted on github
https://github.com/tmuir12/FTC_Raspberry_Pi_Full_Node (https://github.com/tmuir12/FTC_Raspberry_Pi_Full_Node)

Full instructions are included in the readme file on github.

I'm open to any comments, suggestions or improvements.
Remember this is to create a fullnode which is also a function command line wallet, but I do not recommend using it for storing any coins in.
So if you have a spare Raspberry Pi lying around and you would like to support Feathercoin please set up a full node.
The compiled feathercoind is version 0.8.7.1

Post here is you set your Pi up as a full node.


Title: Re: Help Feathercoin, Run a full Node on a Raspberry Pi
Post by: mm5aes on November 10, 2014, 11:34:44 AM
Thanks, I'll give it a try.


Title: Re: Help Feathercoin, Run a full Node on a Raspberry Pi
Post by: z38630610 on November 10, 2014, 11:44:33 AM
good idear,


Title: Re: Help Feathercoin, Run a full Node on a Raspberry Pi
Post by: bee7 on November 10, 2014, 12:43:47 PM
one of essential things is to enable chrony or any other ntp time synchronisation daemon as rpi does not have battery-powered hw clock.


Title: Re: Help Feathercoin, Run a full Node on a Raspberry Pi
Post by: tmuir12 on November 10, 2014, 01:32:36 PM
one of essential things is to enable chrony or any other ntp time synchronisation daemon as rpi does not have battery-powered hw clock.

Good point not thought about that.
Just reading up on Chrony, easy enough to install that too as part of the script


Title: Re: Help Feathercoin, Run a full Node on a Raspberry Pi
Post by: bee7 on November 10, 2014, 01:36:32 PM
one of essential things is to enable chrony or any other ntp time synchronisation daemon as rpi does not have battery-powered hw clock.

Good point not thought about that.
Just reading up on Chrony, easy enough to install that too as part of the script

chrony is a part of standard setup of Fedora since F19 I suppose (pidora derives chrony). Previously Fedora used ntpd package. I don't know what debian/ubuntu distros have as part of std setup.


Title: Re: Help Feathercoin, Run a full Node on a Raspberry Pi
Post by: tmuir12 on November 10, 2014, 01:41:15 PM
At boot it does use NTP to sync itself, but don't know if it rechecks after that


Title: Re: Help Feathercoin, Run a full Node on a Raspberry Pi
Post by: ChekaZ on November 10, 2014, 05:07:12 PM
Thanks, I'll give it a try.

Same here! :)


Title: Re: Help Feathercoin, Run a full Node on a Raspberry Pi
Post by: ftc-c on November 11, 2014, 02:26:43 PM
Wow, Let feathercoin fly.


Title: Re: Help Feathercoin, Run a full Node on a Raspberry Pi
Post by: Conqueror on November 11, 2014, 06:07:49 PM
Safe and fast network is the backbone of any good cryptocurrency.
Thank you for this solution!


Title: Re: Help Feathercoin, Run a full Node on a Raspberry Pi
Post by: MaxDZ8 on November 11, 2014, 06:44:54 PM
Thumbs up!
I think I missed an important part: Raspberry starts at... I've heard on anandtech there's one starting at 20$ but that lacks Ethernet so not what I want.
A friend of mine got one for experimentation, I think he paid it 40 shipped.


Title: Re: Help Feathercoin, Run a full Node on a Raspberry Pi
Post by: Conqueror on November 11, 2014, 08:01:01 PM
I think 40-50 usd for model B+ with ethernet is real...cost of 1 nice family lunch in good restaurant


Title: Re: Help Feathercoin, Run a full Node on a Raspberry Pi
Post by: tmuir12 on November 11, 2014, 10:38:26 PM
I think 40-50 usd for model B+ with ethernet is real...cost of 1 nice family lunch in good restaurant

Yes $40 to $50 plus the cost of your sd card, for a power supply I just use an old phone charger.