Bitcoin Forum

Other => Beginners & Help => Topic started by: Duke Of Bitcoin on January 19, 2015, 12:28:05 AM



Title: Can you run a full node on a raspberry pi?
Post by: Duke Of Bitcoin on January 19, 2015, 12:28:05 AM
I want to be able to run a full node and was wondering if the raspberry pi would be able to keep up and have enough ram for a 24/7 uptime?

other than having a more secure network with more nodes whats the other benefits having one for the community & the person who is running one?


Title: Re: Can you run a full node on a raspberry pi?
Post by: michinzx on January 19, 2015, 12:52:18 AM
If you have a Pi model B or B+ and some external memory (at least 32 GB) you should have no problems running a full node


Title: Re: Can you run a full node on a raspberry pi?
Post by: (Lithium) on January 19, 2015, 03:12:56 AM
Problem is full nodes requires HD space and RAM.


THink it is possible, but not sure if it would be the best idea


Title: Re: Can you run a full node on a raspberry pi?
Post by: altsheets on January 19, 2015, 02:08:47 PM
I have a raspberry pi, and could try.
How much RAM does the full client need?

But I would have to invest into a 32GB SD card.


What about replacing the blockchain
by something dramatically smaller?
 
Right now we need all years old transactions on our HDs,
because there is no other way of confirming a new TX.


Would it be possible to to create a bitcoin address & balances archive
from the full blockchain, which assigns the bitcoins of all past transactions
to all the target addresses ... and keeps only those balances?

With every new confirmed transaction
that address+balance archive would be updated.

Perhaps include a "superhash" into that address archive
to prove that all blocks since block 0 until the last one
have been parsed?


Or is all that a heretic suggestion?



Title: Re: Can you run a full node on a raspberry pi?
Post by: findftp on January 19, 2015, 03:20:28 PM
I have a raspberry pi, and could try.
How much RAM does the full client need?

But I would have to invest into a 32GB SD card.


What about replacing the blockchain
by something dramatically smaller?
 
Right now we need all years old transactions on our HDs,
because there is no other way of confirming a new TX.


Would it be possible to to create a bitcoin address & balances archive
from the full blockchain, which assigns the bitcoins of all past transactions
to all the target addresses ... and keeps only those balances?

With every new confirmed transaction
that address+balance archive would be updated.

Perhaps include a "superhash" into that address archive
to prove that all blocks since block 0 until the last one
have been parsed?


Or is all that a heretic suggestion?



Gmaxwell told me bitcoin version 0.11 will have some lightweight features for low end machines built in.
This was the thread (https://bitcointalk.org/index.php?topic=911906.0)

I want to run a node on  a MK802 google android (ARM) TV stick.


Title: Re: Can you run a full node on a raspberry pi?
Post by: tonygal on January 19, 2015, 03:22:45 PM
We had this a couple of times before, hmm?
https://bitcointalk.org/index.php?topic=909573 (https://bitcointalk.org/index.php?topic=909573)


Title: Re: Can you run a full node on a raspberry pi?
Post by: jbrnt on January 19, 2015, 03:33:46 PM
Raspberry pi is doesn't have that much processing power. Even if it can run a full node, it wouldn't be very fast when the blockchain is on a sdcard.


Title: Re: Can you run a full node on a raspberry pi?
Post by: findftp on January 19, 2015, 03:42:14 PM
Raspberry pi is doesn't have that much processing power. Even if it can run a full node, it wouldn't be very fast when the blockchain is on a sdcard.
When you put the blockchain on a SD card it's very soon gone because of the wear.
You can put your OS on an SD card, put the blockchain on a SSD.

Also, you should limit the number of nodes connecting to the raspberry pi to not overkill it.
Then it would run fine I guess


Title: Re: Can you run a full node on a raspberry pi?
Post by: Amph on January 19, 2015, 05:17:11 PM
Problem is full nodes requires HD space and RAM.


THink it is possible, but not sure if it would be the best idea

512 should be plenty of ram for it


Title: Re: Can you run a full node on a raspberry pi?
Post by: Salmon1989 on January 19, 2015, 05:35:02 PM
Problem is full nodes requires HD space and RAM.


THink it is possible, but not sure if it would be the best idea

512 should be plenty of ram for it

A couple of persons said their full nodes were using more than that in https://bitcointalk.org/index.php?topic=659040.0.
Are you sure 512 MB RAM is enough for a full node?


Title: Re: Can you run a full node on a raspberry pi?
Post by: findftp on January 19, 2015, 07:15:32 PM
Problem is full nodes requires HD space and RAM.


THink it is possible, but not sure if it would be the best idea

512 should be plenty of ram for it

A couple of persons said their full nodes were using more than that in https://bitcointalk.org/index.php?topic=659040.0.
Are you sure 512 MB RAM is enough for a full node?

Here is an interessesting talk about the specs, especially on a raspberry pi  (http://bitcoin.stackexchange.com/questions/24434/what-are-the-minimal-system-to-run-a-full-bitcoin-node)
Seems to be running without problem.

Quote
You can run a Raspberry Pi with bitcoind no problem. I have several Pi's running bitcoind in various locations and some of them have over 100 connections. Use a 64GB flash card and make sure you have a 512MB swap file. The only limitation you will find is your broadband upload speed , the Pi or it's flashcard will not be the bottlekneck. Use a good quality flash card like Sandisk etc. Also tell your router to route incoming connections on port 8333 to your Pi's IP address. The reason the only limitation is your broadband upload speed is because of parasitic loads such as new users trying to upload the entire blockchain from your Pi. If you do this , try to set your Pi up with blockcahin already loaded onto flash or SSD otherwise it will take some time to synchronise.

I would still recommend to skip the flash card and go for an SSD
Don't put too many other services on the device also


Title: Re: Can you run a full node on a raspberry pi?
Post by: BIG Tyrese on January 19, 2015, 09:05:52 PM
You can like the above members have said but you will have a problem with the duration a SD card lasts because of the rewriting that the blockchain has to do for each new block routhly around every 10 minutes. This will degrade the SD card and will need to be replaced often.