Pages:
Author

Topic: Raspberry Pi 2 Node (Read 4359 times)

hero member
Activity: 560
Merit: 500
where am i? HELLO WORLD
February 04, 2016, 07:49:44 PM
#53
Well 0.12 is due soon and you can run a pruned node, so that's only 2Gb

I was almost running a full node on my zero but it's 2 much for my 64gb sd card and my portable hdd is busy in another project
legendary
Activity: 1512
Merit: 1009
February 04, 2016, 06:59:42 PM
#52
http://www.geek.com/chips/raspberry-pi-zero-cluster-in-development-1645823/

Beowulf cluster of piZero running a full bitcoin node ftw

That would be really cool, but probably not really cost-effective Cheesy

Is there any reason one could not run a full bitcoin node on a Raspberry Pi 2? I see these are very cheap now, just $37. Add a 32GB SD card and you have a fully functioning node right?

Not a chance.  I tried that last summer while the blockchain was still less than 40GB and after a month it still had not synched and burned out the usb storage, presumably from too many rw cycles while doing the rather busy -reindex.
Now on my other computer my /.bitcoin/ is >67GB and still growing.

Feb 2016 specs for a full node;
minimum:
>=2GHz x 4core cpu such as an intel i5
>=2GB RAM
>=80 GB HDD presently used and sure to grow

recommended:
>=4GB RAM
>=160 GB HDD preferably SSD for speed and rw


What does work with a raspberry pi is
- electrum bitcoin wallet
- various altcoin full nodes

Well, if you check this thread and feedback online you can see one can indeed run a Bitcoin node on a Raspberry Pi 2. Definitely not the most powerful node, but it works.
full member
Activity: 149
Merit: 100
Solar Bitcoin Specialist
February 04, 2016, 03:31:06 PM
#51
Is there any reason one could not run a full bitcoin node on a Raspberry Pi 2? I see these are very cheap now, just $37. Add a 32GB SD card and you have a fully functioning node right?

Not a chance.  I tried that last summer while the blockchain was still less than 40GB and after a month it still had not synched and burned out the usb storage, presumably from too many rw cycles while doing the rather busy -reindex.
Now on my other computer my /.bitcoin/ is >67GB and still growing.

Feb 2016 specs for a full node;
minimum:
>=2GHz x 4core cpu such as an intel i5
>=2GB RAM
>=80 GB HDD presently used and sure to grow

recommended:
>=4GB RAM
>=160 GB HDD preferably SSD for speed and rw


What does work with a raspberry pi is
- electrum bitcoin wallet
- various altcoin full nodes
sr. member
Activity: 318
Merit: 260
February 03, 2016, 08:48:29 AM
#50
60GB bytes at 20MBps avg(USB 2.0)? 00:30:00-00:45:00

WIFI storage with a SATA 802.11N enclosure is faster by tens of megabytes/minutes.
sr. member
Activity: 430
Merit: 253
VeganAcademy
February 01, 2016, 09:17:59 PM
#49
http://www.geek.com/chips/raspberry-pi-zero-cluster-in-development-1645823/

Beowulf cluster of piZero running a full bitcoin node ftw
newbie
Activity: 14
Merit: 0
January 31, 2016, 11:54:04 AM
#48
Pi2 is a great device and I've been actively looking for others that support analog input. Intel Edison has been another one i've experimenting with.
legendary
Activity: 1512
Merit: 1009
January 31, 2016, 11:14:44 AM
#47
Is it possible to attach a screen to the Pi 2 and have it run information like the bitnodes hardware did? Their LCD code is here, how would one use this to have information being presented on screen?

Yes, this is possible. Some specially designed screen are available on diverse website on the web. I think that they have to be connected to the 40-pin GPIO port, but I'm not sure at 100%.

I know that there are screens and that they can be attached to the GPIO port, but my question is more software related: if I attach one of those screen how would I get on about making it work like it did on the bitnodes hardware?
legendary
Activity: 1120
Merit: 1001
January 30, 2016, 05:37:55 PM
#46
Is it possible to attach a screen to the Pi 2 and have it run information like the bitnodes hardware did? Their LCD code is here, how would one use this to have information being presented on screen?

Yes, this is possible. Some specially designed screen are available on diverse website on the web. I think that they have to be connected to the 40-pin GPIO port, but I'm not sure at 100%.
legendary
Activity: 1512
Merit: 1009
January 30, 2016, 05:19:54 PM
#45
Is it possible to attach a screen to the Pi 2 and have it run information like the bitnodes hardware did? Their LCD code is here, how would one use this to have information being presented on screen?
legendary
Activity: 1120
Merit: 1001
January 30, 2016, 04:39:23 PM
#44
However, would it be possible to store it on a PC and on a NAS, as a kind of backup.
Storing a backup of the blockchain on a NAS would be possible, yes, however it might be a bit of a pain copying 60GB worth of data to the NAS every few days or week, if you want to back it up that often. You could look at an incremental backup scheme (only backing up changes since the previous backup) and that would speed up backing up the blockchain. I'm not so sure I'd bother backing up the Bitcoin blockchain at all, just because it seem like Bitcoin-Qt doesn't corrupt the blockchain very often, and even if it does, there are re-scan and re-index options built into Bitcoin-Qt to attempt recovery of a corrupt blockchain. In the worst case, you'd just need to re-download the blockchain which would probably take a day or two, and then you'd be back up and running.

This is in your case mate ! For me, it would more like a week or two Roll Eyes. I'm not the owner of an high-quality connection Cry...
If it would take you a week or two to download the entire blockchain you should reconsider running a node on that connection. I suspect you have a fairly low upload speed as well, so running a node on that network wouldn't benefit the Bitcoin network much at all.

The case is a bit more complex. My connection is theorically good, but in the day, the bandwich is really low. However, the night, it is fine. Along the possibility for me to store my bitcoins and don't be tempted by using them like I sadly do often, I'll also help the community, at least the night.
sr. member
Activity: 373
Merit: 252
January 30, 2016, 04:31:39 PM
#43
However, would it be possible to store it on a PC and on a NAS, as a kind of backup.
Storing a backup of the blockchain on a NAS would be possible, yes, however it might be a bit of a pain copying 60GB worth of data to the NAS every few days or week, if you want to back it up that often. You could look at an incremental backup scheme (only backing up changes since the previous backup) and that would speed up backing up the blockchain. I'm not so sure I'd bother backing up the Bitcoin blockchain at all, just because it seem like Bitcoin-Qt doesn't corrupt the blockchain very often, and even if it does, there are re-scan and re-index options built into Bitcoin-Qt to attempt recovery of a corrupt blockchain. In the worst case, you'd just need to re-download the blockchain which would probably take a day or two, and then you'd be back up and running.

This is in your case mate ! For me, it would more like a week or two Roll Eyes. I'm not the owner of an high-quality connection Cry...
If it would take you a week or two to download the entire blockchain you should reconsider running a node on that connection. I suspect you have a fairly low upload speed as well, so running a node on that network wouldn't benefit the Bitcoin network much at all.
legendary
Activity: 1120
Merit: 1001
January 30, 2016, 04:19:11 PM
#42
However, would it be possible to store it on a PC and on a NAS, as a kind of backup.
Storing a backup of the blockchain on a NAS would be possible, yes, however it might be a bit of a pain copying 60GB worth of data to the NAS every few days or week, if you want to back it up that often. You could look at an incremental backup scheme (only backing up changes since the previous backup) and that would speed up backing up the blockchain. I'm not so sure I'd bother backing up the Bitcoin blockchain at all, just because it seem like Bitcoin-Qt doesn't corrupt the blockchain very often, and even if it does, there are re-scan and re-index options built into Bitcoin-Qt to attempt recovery of a corrupt blockchain. In the worst case, you'd just need to re-download the blockchain which would probably take a day or two, and then you'd be back up and running.

This is in your case mate ! For me, it would more like a week or two Roll Eyes. I'm not the owner of an high-quality connection Cry...
sr. member
Activity: 373
Merit: 252
January 30, 2016, 04:12:55 PM
#41
However, would it be possible to store it on a PC and on a NAS, as a kind of backup.
Storing a backup of the blockchain on a NAS would be possible, yes, however it might be a bit of a pain copying 60GB worth of data to the NAS every few days or week, if you want to back it up that often. You could look at an incremental backup scheme (only backing up changes since the previous backup) and that would speed up backing up the blockchain. I'm not so sure I'd bother backing up the Bitcoin blockchain at all, just because it seem like Bitcoin-Qt doesn't corrupt the blockchain very often, and even if it does, there are re-scan and re-index options built into Bitcoin-Qt to attempt recovery of a corrupt blockchain. In the worst case, you'd just need to re-download the blockchain which would probably take a day or two, and then you'd be back up and running.
staff
Activity: 3374
Merit: 6530
Just writing some code
January 30, 2016, 04:03:30 PM
#40
This is actually possible to run Bitcoin Core on a RPi 2 and to store the blockchain on a NAS ? This could (or maybe not, I d'ont know) be a good idea.
I used to run the blockchain off of my NAS and I never had any issues doing so. However, I did that with a Windows machine running Bitcoin-Qt, so I'm not sure if that would differ from running the node on an RPi (I suspect there would be no difference though - just create a folder, and then mount the network location to it).

One thing to note if running the blockchain from a NAS is that the blockchain can only be used by one device at a time. So, if you're wanting to run a node on your PC, as well as your RPi (for whatever reason), you won't be able to.

Thank you for your explanation. I don't think that I'll ever need to run it on both my PC and my RPi 2 at the same time, at least with the same folders. Would it be possible to run it on both my PC and my RPi 2, but with two separated blockchain files on the same NAS ?
I think that would work as well. IIRC, Bitcoin-qt "locks" the blockchain when it starts up, so that another application won't be able to use it. I suspect having two copies of the blockchain in different locations would bypass that lock restriction. The only downside is that you'd be storing two copies of the blockchain, so you'd be using 120GB instead of 60GB.

OK. This was a question. The PCs that I'll be using will have their own hard-drive (that's quite obvious), so I'll surely don't need to put two blockchain copies on a NAS. However, would it be possible to store it on a PC and on a NAS, as a kind of backup. If the blockchain get's corrupted (I don't know if is possible), then the PC will look at the NAS, and thus the full node will never be down.
No. The blockchain only becomes corrupted when the node is not running, it shouldn't corrupt while the software is still running. If you ever need to start up Bitcoin Core, it will inform you whether it needs to reindex or not. If it does, then you can simply restart it with the datadir pointed at the NAS copy while you fix the local copy.
legendary
Activity: 1120
Merit: 1001
January 30, 2016, 03:42:52 PM
#39
This is actually possible to run Bitcoin Core on a RPi 2 and to store the blockchain on a NAS ? This could (or maybe not, I d'ont know) be a good idea.
I used to run the blockchain off of my NAS and I never had any issues doing so. However, I did that with a Windows machine running Bitcoin-Qt, so I'm not sure if that would differ from running the node on an RPi (I suspect there would be no difference though - just create a folder, and then mount the network location to it).

One thing to note if running the blockchain from a NAS is that the blockchain can only be used by one device at a time. So, if you're wanting to run a node on your PC, as well as your RPi (for whatever reason), you won't be able to.

Thank you for your explanation. I don't think that I'll ever need to run it on both my PC and my RPi 2 at the same time, at least with the same folders. Would it be possible to run it on both my PC and my RPi 2, but with two separated blockchain files on the same NAS ?
I think that would work as well. IIRC, Bitcoin-qt "locks" the blockchain when it starts up, so that another application won't be able to use it. I suspect having two copies of the blockchain in different locations would bypass that lock restriction. The only downside is that you'd be storing two copies of the blockchain, so you'd be using 120GB instead of 60GB.

OK. This was a question. The PCs that I'll be using will have their own hard-drive (that's quite obvious), so I'll surely don't need to put two blockchain copies on a NAS. However, would it be possible to store it on a PC and on a NAS, as a kind of backup. If the blockchain get's corrupted (I don't know if is possible), then the PC will look at the NAS, and thus the full node will never be down.
sr. member
Activity: 373
Merit: 252
January 30, 2016, 02:50:26 PM
#38
This is actually possible to run Bitcoin Core on a RPi 2 and to store the blockchain on a NAS ? This could (or maybe not, I d'ont know) be a good idea.
I used to run the blockchain off of my NAS and I never had any issues doing so. However, I did that with a Windows machine running Bitcoin-Qt, so I'm not sure if that would differ from running the node on an RPi (I suspect there would be no difference though - just create a folder, and then mount the network location to it).

One thing to note if running the blockchain from a NAS is that the blockchain can only be used by one device at a time. So, if you're wanting to run a node on your PC, as well as your RPi (for whatever reason), you won't be able to.

Thank you for your explanation. I don't think that I'll ever need to run it on both my PC and my RPi 2 at the same time, at least with the same folders. Would it be possible to run it on both my PC and my RPi 2, but with two separated blockchain files on the same NAS ?
I think that would work as well. IIRC, Bitcoin-qt "locks" the blockchain when it starts up, so that another application won't be able to use it. I suspect having two copies of the blockchain in different locations would bypass that lock restriction. The only downside is that you'd be storing two copies of the blockchain, so you'd be using 120GB instead of 60GB.
legendary
Activity: 2954
Merit: 4158
January 30, 2016, 09:15:44 AM
#37
This is actually possible to run Bitcoin Core on a RPi 2 and to store the blockchain on a NAS ? This could (or maybe not, I d'ont know) be a good idea.
I used to run the blockchain off of my NAS and I never had any issues doing so. However, I did that with a Windows machine running Bitcoin-Qt, so I'm not sure if that would differ from running the node on an RPi (I suspect there would be no difference though - just create a folder, and then mount the network location to it).

One thing to note if running the blockchain from a NAS is that the blockchain can only be used by one device at a time. So, if you're wanting to run a node on your PC, as well as your RPi (for whatever reason), you won't be able to.

Thank you for your explanation. I don't think that I'll ever need to run it on both my PC and my RPi 2 at the same time, at least with the same folders. Would it be possible to run it on both my PC and my RPi 2, but with two separated blockchain files on the same NAS ?
I believe so. You would need them to be in different folders though. You can first use custom directory to synchronize the blockchain for your PC before duplicating it to another folder and point the raspberry pi's datadir at the second folder. This can reduce the synchronization time.
legendary
Activity: 1120
Merit: 1001
January 30, 2016, 06:50:17 AM
#36
This is actually possible to run Bitcoin Core on a RPi 2 and to store the blockchain on a NAS ? This could (or maybe not, I d'ont know) be a good idea.
I used to run the blockchain off of my NAS and I never had any issues doing so. However, I did that with a Windows machine running Bitcoin-Qt, so I'm not sure if that would differ from running the node on an RPi (I suspect there would be no difference though - just create a folder, and then mount the network location to it).

One thing to note if running the blockchain from a NAS is that the blockchain can only be used by one device at a time. So, if you're wanting to run a node on your PC, as well as your RPi (for whatever reason), you won't be able to.

Thank you for your explanation. I don't think that I'll ever need to run it on both my PC and my RPi 2 at the same time, at least with the same folders. Would it be possible to run it on both my PC and my RPi 2, but with two separated blockchain files on the same NAS ?
sr. member
Activity: 373
Merit: 252
January 29, 2016, 06:49:14 PM
#35
This is actually possible to run Bitcoin Core on a RPi 2 and to store the blockchain on a NAS ? This could (or maybe not, I d'ont know) be a good idea.
I used to run the blockchain off of my NAS and I never had any issues doing so. However, I did that with a Windows machine running Bitcoin-Qt, so I'm not sure if that would differ from running the node on an RPi (I suspect there would be no difference though - just create a folder, and then mount the network location to it).

One thing to note if running the blockchain from a NAS is that the blockchain can only be used by one device at a time. So, if you're wanting to run a node on your PC, as well as your RPi (for whatever reason), you won't be able to.
hero member
Activity: 746
Merit: 500
January 29, 2016, 03:51:35 PM
#34
My two cents

I used to run a node on an Intel Atom 1.6Ghz, 2GB ram system, the blockchain was on an external hdd connected via USB.

On normal days the performance was ok, but since the stress tests began and now that most of the blocks are full it became a problem. Everytime a new block would come it would eat up the cpu for like 30 seconds. Also bitcoind would slow down dramatically every few days, still running but it lagged a few blocks behind of the network, requiering a manual restart to clear up the mempool and catch up with the chain...

So my advice would be to keep away from the Pi, bitcoin is way too heavy nowadays. A Pi can be useful for running a node for one of the staking coins and actually make a few cents on it.

For the bitcoin node I now use this: http://www.gigabyte.com/products/product-page.aspx?pid=4918#ov

Much better performance, not as cheap as the Pi but still low cost, low power consumption, passive cpu cooling so it stays quiet and enables the use of a normal sata drive.

You can find simmilar boards that have wifi integrated if you need it or just add a pci or usb wifi adapter...
Pages:
Jump to: