Author

Topic: Raspberry Pi 2 Node (Read 4434 times)

hero member
Activity: 560
Merit: 500
where am i? HELLO WORLD
February 04, 2016, 06: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: 1012
February 04, 2016, 05: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, 02: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, 07: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, 08: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, 10: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: 1012
January 31, 2016, 10: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: 1004
January 30, 2016, 04: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: 1012
January 30, 2016, 04: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: 1004
January 30, 2016, 03: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, 03: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: 1004
January 30, 2016, 03: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, 03: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: 3458
Merit: 6793
Just writing some code
January 30, 2016, 03: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: 1004
January 30, 2016, 02: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, 01: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: 3038
Merit: 4418
Crypto Swap Exchange
January 30, 2016, 08: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: 1004
January 30, 2016, 05: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, 05: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, 02: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...
sr. member
Activity: 318
Merit: 260
January 29, 2016, 12:51:57 PM
#33
60GB doesn't actually mean anything. Storage is easy.. Pagefile and RAM and bandwidth and CPU clock&threads matter for this.. A PI2 with 1GB DDR3 and USB or 802.11n+ at tens of megabytes a second will suffice. The Banana PI M3 or a Braswell ITX with SATA or even PCIe will without question handle it even in the future.

I'm going to go with PI2 at $35 and make a script to turn it into a hardware wallet isolated from host machines instead of paying hundreds for the rushed-development hardware wallet offerings out there now..
legendary
Activity: 1120
Merit: 1004
January 29, 2016, 10:51:41 AM
#32
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?

Blockchain is currently over 60gb.....
.. and constantly growing.

If you really wanted to run a node on something like a Raspberry Pi / Odroid / Banani Pi you could look at hooking up an external HDD to the unit to hold the blockchain, or running the blockchain off of a NAS (if you have the spare resources to do so).

I'm also surprised that the Bitseed hasn't been mentioned yet either. It's pretty expensive compared to buying your own small board computer and external HDD, but it looks like a decent plug n' play solution for a bitcoin node.

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.
legendary
Activity: 1143
Merit: 1000
January 29, 2016, 10:31:59 AM
#31

The board that costs the same as a Braswell ITX but has ARM power-management and slower bus? Yeah.. It has SATA though.

Thanks for mentioning that. As you have probably gathered, I'm still finding my way around Bitcoin. I'm running a full node on an HP core i5 notebook, which seems to work really well, but it only gives me 4-5 hours between charges. One of my project is to find a mini-system that will work off 12 volts, be fanless ( in the UK ), and include WiFi so that it can be used to run a full node ( pruned with 0.12). The Banana pi M3 looked quite promising, although the SATA and USB didn't look to be the best. Some of the Braswell boards look as if they might indeed be a better choice. Improved SATA and USB 3.0 are an advantage. I had a quick look at some of the boards and couldn't find any WiFi support, but that may not be too much of a disadvantage - a directional receiver connected via USB may be better than a low power on-board solution ( for me anyway).

Apologies to the OP, as I seem to have hijacked his thread. I'll do a bit more reading, and start a new one in a day or so.

you can buy an usb wifi dongle for less than 10$ USD.
http://www.amazon.com/Edimax-EW-7811Un-150Mbps-Raspberry-Supports/dp/B003MTTJOY/ref=sr_1_4?s=pc&ie=UTF8&qid=1454081512&sr=1-4&keywords=wifi+usb
legendary
Activity: 2814
Merit: 2472
https://JetCash.com
January 29, 2016, 12:27:35 AM
#30

The board that costs the same as a Braswell ITX but has ARM power-management and slower bus? Yeah.. It has SATA though.

Thanks for mentioning that. As you have probably gathered, I'm still finding my way around Bitcoin. I'm running a full node on an HP core i5 notebook, which seems to work really well, but it only gives me 4-5 hours between charges. One of my project is to find a mini-system that will work off 12 volts, be fanless ( in the UK ), and include WiFi so that it can be used to run a full node ( pruned with 0.12). The Banana pi M3 looked quite promising, although the SATA and USB didn't look to be the best. Some of the Braswell boards look as if they might indeed be a better choice. Improved SATA and USB 3.0 are an advantage. I had a quick look at some of the boards and couldn't find any WiFi support, but that may not be too much of a disadvantage - a directional receiver connected via USB may be better than a low power on-board solution ( for me anyway).

Apologies to the OP, as I seem to have hijacked his thread. I'll do a bit more reading, and start a new one in a day or so.
sr. member
Activity: 373
Merit: 252
January 28, 2016, 09:26:43 PM
#29
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?

Blockchain is currently over 60gb.....
.. and constantly growing.

If you really wanted to run a node on something like a Raspberry Pi / Odroid / Banani Pi you could look at hooking up an external HDD to the unit to hold the blockchain, or running the blockchain off of a NAS (if you have the spare resources to do so).

I'm also surprised that the Bitseed hasn't been mentioned yet either. It's pretty expensive compared to buying your own small board computer and external HDD, but it looks like a decent plug n' play solution for a bitcoin node.
hero member
Activity: 1106
Merit: 521
January 28, 2016, 07:23:01 PM
#28
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?

Blockchain is currently over 60gb.....
sr. member
Activity: 318
Merit: 260
January 28, 2016, 07:20:56 PM
#27
Do you guys not like the banana pi? I has wifi, more memory, and an octa-core processor. It's a bit more expensive, but all these boards are pretty cheap in reality.

Are you hi? It's never had or been announced a octa-core processor, it's actually dual-core which is two cores less. Same RAM, less IO, higher price..

hxxp://www.bananapi.org/p/product.html

They are obviously talking about the m3
The board that costs the same as a Braswell ITX but has ARM power-management and slower bus? Yeah.. It has SATA though.
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
January 28, 2016, 01:14:52 PM
#26
Do you guys not like the banana pi? I has wifi, more memory, and an octa-core processor. It's a bit more expensive, but all these boards are pretty cheap in reality.

Are you hi? It's never had or been announced a octa-core processor, it's actually dual-core which is two cores less. Same RAM, less IO, higher price..

hxxp://www.bananapi.org/p/product.html

They are obviously talking about the m3
sr. member
Activity: 318
Merit: 260
January 28, 2016, 12:26:17 PM
#25
Do you guys not like the banana pi? I has wifi, more memory, and an octa-core processor. It's a bit more expensive, but all these boards are pretty cheap in reality.

Are you hi? It's never had or been announced a octa-core processor, it's actually dual-core which is two cores less. Same RAM, less IO, higher price..

hxxp://www.bananapi.org/p/product.html
legendary
Activity: 2814
Merit: 2472
https://JetCash.com
January 28, 2016, 02:59:31 AM
#24
Do you guys not like the banana pi? I has wifi, more memory, and an octa-core processor. It's a bit more expensive, but all these boards are pretty cheap in reality.
sr. member
Activity: 318
Merit: 260
January 27, 2016, 11:25:07 PM
#23
Hey Sir, the answer to your question is no.

The recommended setup would be a raspberry pi 2 + 2 usbs that hold /tmp /var and other partitions that get written a lot and then use an external HDD to hold the blockchain and an extra micro-sd for the /home and the root /, this way you'll preserve the micro-sd life and will be able to hold a node for more than 4-7 years.

Or again use an inline SATA converter at 14MBps-36MBps which takes minutes to setup.. It'd probably still faster than the SD which, by the way isn't really standardized and slow but even if it was, by about 15MBps. Even 802.11n 5Ghz is probably faster than SD using a WIFI enclosure.

If anyone is wondering, the fastest thing you can possibly-realistically do is class 10 CF on GPIO at around 100MBps. If people all the sudden care about wear-leveling(OMG next gen games on an SSD) it's SATA converter or fail.

Public license ARM chips have no PCIe or other fast bus and that's probably years off.
legendary
Activity: 1143
Merit: 1000
January 27, 2016, 11:00:21 PM
#22
Hey Sir, the answer to your question is no.

The recommended setup would be a raspberry pi 2 + 2 usbs that hold /tmp /var and other partitions that get written a lot and then use an external HDD to hold the blockchain and an extra micro-sd for the /home and the root /, this way you'll preserve the micro-sd life and will be able to hold a node for more than 4-7 years.
sr. member
Activity: 318
Merit: 260
January 27, 2016, 04:12:47 PM
#21
I'm actually thinking of getting a PI2 at $35 and hacking it's hacked USB implementation to make a secure wallet where there is transparent signing of transactions and key storage. A lot cheaper than any of the hardware wallets. I'll repo the code for it. If this isn't already done..

Another thing that sounds cool is a CGI solution to use the PI2 as a hack-proof solution for a hosted website where full root on the webserver doesn't compromise bitcoin wallets.
legendary
Activity: 2461
Merit: 1058
Don't use bitcoin.de if you care about privacy!
January 27, 2016, 03:01:27 PM
#20
I have written an instruction to run bitcoin Core with Banana Pi. It is in german but you can still copy paste the instructions to install Core (See Post 3).
https://bitcointalksearch.org/topic/banana-node-unterstutze-das-netzwerk-973628

The Bananian Os uses only around 50MB of Ram so that there is 950MB for Bitcoin Core.
https://www.bananian.org/

Rokos seems like a good option for the RPI 2.

If you like to run something more future proof Intel Nuc or MinnowBoard Turbot (both x86) is another option.
http://wiki.minnowboard.org/MinnowBoard_Turbot
legendary
Activity: 2814
Merit: 2472
https://JetCash.com
January 27, 2016, 02:27:50 PM
#19
banana pi has a sata port. but I gather it runs it though the usb chip. so it isn't very fast
sr. member
Activity: 318
Merit: 260
January 27, 2016, 11:30:41 AM
#18
You would need a 128GB SD card now. The performance will be very poor, it's just on the margin of workable.  SD cards usually don't have good write endurance either.

I haven't run a full node in years so wasn't sure about the storage requirement. A USB 2.0 HDD would work as others have pointed out. Probably in the future we will have a faster Raspberry Pi with SATA ports and USB 3.0 for sure.

None of the OSH friendly ARM chips, like the TI cortex a7, have any fast buses. Some ARM chips have PCIe 2.0 but are closed license.

I don't think you can do high frequency over I2C or SPI without converting it down either. So basically something like class 10 CF is as fast as it gets. USB 2.0 is slower.
legendary
Activity: 1736
Merit: 1006
January 27, 2016, 10:55:18 AM
#17
You would need a 128GB SD card now. The performance will be very poor, it's just on the margin of workable.  SD cards usually don't have good write endurance either.

I haven't run a full node in years so wasn't sure about the storage requirement. A USB 2.0 HDD would work as others have pointed out. Probably in the future we will have a faster Raspberry Pi with SATA ports and USB 3.0 for sure.
sr. member
Activity: 318
Merit: 260
January 27, 2016, 10:40:05 AM
#16
Or you could just do what I said in my post and save a lot of time and money. PI-2 has no fast-bus so it's network storage or some USB converter solution. Not sure why you'd use SD the write-cycles would be gone in months..
sr. member
Activity: 434
Merit: 250
Young but I'm not that bold
January 27, 2016, 08:16:02 AM
#15
there is an OS is created for raspberry pi to run a bitcoin core. It called Rokos, I did not try it but you can get more info from these links:

http://techcrunch.com/2016/01/04/the-rokos-core-os-turns-your-raspberry-pi-into-a-bitcoin-node/
https://bitcointalksearch.org/topic/official-rokos-core-bitcoin-full-node-raspberry-pi-p64-iot-feedbackdiscussion-1312616
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
January 27, 2016, 08:06:49 AM
#14
Is cpu power a consideration when running a node (as long as it's reasonable)? The storage requirement could be reduced by running a pruned node with 0.12. A 128GB usb stick with the blockchain stored on it could be used to initialise the node. I'm thinking of doing this instead of struggling with my Chromebook.
CPU(IIRC) and ram usage gets higher with more peers and initial synchronization. Pruned nodes in 0.12 would only relay new blocks to compatible peers[1]. It probably won't help with the synchronization fully, just the relaying of new blocks and transactions.


What frightens me in the "old low profile computer" is that, since is old, he can "die", especially his HDD. I know that I might change it, but this way I prefer buy a new computer, since the price difference will be really low, and this lead to a big bill, so I want to build it on a (few) Raspberry Pi 2(s), so the cycle restart Undecided...
Quite true. As I said, it probably isn't necessary for more resources to run Bitcoin Core unless you need lots of connections. You can always build your own computer with parts that require low energy if you need it. It isn't easy to daisy chain raspberry pis, at least to me.

[1] https://github.com/bitcoin/bitcoin/blob/0.12/doc/release-notes.md
legendary
Activity: 1120
Merit: 1004
January 27, 2016, 07:42:17 AM
#13
You would need a 128GB SD card now. The performance will be very poor, it's just on the margin of workable.  SD cards usually don't have good write endurance either.

That's why I thought about using an HDD. How does it need to be plugged, on th GPIO ports ?
You can buy an adapter for a HDD and plug the USB onto raspberry pi. There's even a guide here but you would need a powered USB hub. IIRC, Banana Pi Pro have a Sata port.

This would be a good idea for a node in the past but not so much now, mainly due to the blockchain size and it's efficiency. The mempool was much slower in the past with lower transaction volume and hence it could run with lower ram and more connections. With the increased mempool, you would need to tweak the client slightly by using several optimizations. As shorena said, consider verifying the entire blockchain on your own computer before moving it to the raspberry pi. By copying the entire directory, you won't have to synchronize and verify from the beginning.
It seems that Microsoft are selling with an embedded Windows 10
http://www.electronicsweekly.com/blogs/distribution-world/microsoft-starts-selling-raspberry-pi-2016-01/

not that I would suggest using Windows 10. Smiley
Windows is definitely not the recommended one with their memory footprint.

Than you for your advice. So you would recommend to use a Linux computer instead of a Raspberry Pi 2. And what about a cluster of RPi 2 ? This way the RAM and the CPU capacities could be increased in keeping the bill low.
Raspbian runs on Linux so I was recommending to use Linux instead on Windows on raspberry pi 2.

I've never heard of someone daisy chaining raspberry pis to run a Bitcoin node. Daisy chaining[1] is sure possible but it isn't for an average users. If you're thinking about daisy chaining raspberry pis, it makes more sense to buy an old low profile computer to run the node on.

[1] http://www.zdnet.com/article/build-your-own-supercomputer-out-of-raspberry-pi-boards/


What frightens me in the "old low profile computer" is that, since is old, he can "die", especially his HDD. I know that I might change it, but this way I prefer buy a new computer, since the price difference will be really low, and this lead to a big bill, so I want to build it on a (few) Raspberry Pi 2(s), so the cycle restart Undecided...
legendary
Activity: 2814
Merit: 2472
https://JetCash.com
January 27, 2016, 07:33:05 AM
#12
Is cpu power a consideration when running a node (as long as it's reasonable)? The storage requirement could be reduced by running a pruned node with 0.12. A 128GB usb stick with the blockchain stored on it could be used to initialise the node. I'm thinking of doing this instead of struggling with my Chromebook.
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
January 27, 2016, 07:09:14 AM
#11
You would need a 128GB SD card now. The performance will be very poor, it's just on the margin of workable.  SD cards usually don't have good write endurance either.

That's why I thought about using an HDD. How does it need to be plugged, on th GPIO ports ?
You can buy an adapter for a HDD and plug the USB onto raspberry pi. There's even a guide here but you would need a powered USB hub. IIRC, Banana Pi Pro have a Sata port.

This would be a good idea for a node in the past but not so much now, mainly due to the blockchain size and it's efficiency. The mempool was much slower in the past with lower transaction volume and hence it could run with lower ram and more connections. With the increased mempool, you would need to tweak the client slightly by using several optimizations. As shorena said, consider verifying the entire blockchain on your own computer before moving it to the raspberry pi. By copying the entire directory, you won't have to synchronize and verify from the beginning.
It seems that Microsoft are selling with an embedded Windows 10
http://www.electronicsweekly.com/blogs/distribution-world/microsoft-starts-selling-raspberry-pi-2016-01/

not that I would suggest using Windows 10. Smiley
Windows is definitely not the recommended one with their memory footprint.

Than you for your advice. So you would recommend to use a Linux computer instead of a Raspberry Pi 2. And what about a cluster of RPi 2 ? This way the RAM and the CPU capacities could be increased in keeping the bill low.
Raspbian runs on Linux so I was recommending to use Linux instead on Windows on raspberry pi 2.

I've never heard of someone daisy chaining raspberry pis to run a Bitcoin node. Daisy chaining[1] is sure possible but it isn't for an average users. If you're thinking about daisy chaining raspberry pis, it makes more sense to buy an old low profile computer to run the node on.

[1] http://www.zdnet.com/article/build-your-own-supercomputer-out-of-raspberry-pi-boards/
legendary
Activity: 2814
Merit: 2472
https://JetCash.com
January 27, 2016, 07:05:18 AM
#10
It's a pity that the USB ports are only usb2. Maybe the next version will be usb 3 and allow ssd disks to be connected.
legendary
Activity: 1120
Merit: 1004
January 27, 2016, 06:58:27 AM
#9
You would need a 128GB SD card now. The performance will be very poor, it's just on the margin of workable.  SD cards usually don't have good write endurance either.

That's why I thought about using an HDD. How does it need to be plugged, on th GPIO ports ?
You can buy an adapter for a HDD and plug the USB onto raspberry pi. There's even a guide here but you would need a powered USB hub. IIRC, Banana Pi Pro have a Sata port.

This would be a good idea for a node in the past but not so much now, mainly due to the blockchain size and it's efficiency. The mempool was much slower in the past with lower transaction volume and hence it could run with lower ram and more connections. With the increased mempool, you would need to tweak the client slightly by using several optimizations. As shorena said, consider verifying the entire blockchain on your own computer before moving it to the raspberry pi. By copying the entire directory, you won't have to synchronize and verify from the beginning.
It seems that Microsoft are selling with an embedded Windows 10
http://www.electronicsweekly.com/blogs/distribution-world/microsoft-starts-selling-raspberry-pi-2016-01/

not that I would suggest using Windows 10. Smiley
Windows is definitely not the recommended one with their memory footprint.

Than you for your advice. So you would recommend to use a Linux computer instead of a Raspberry Pi 2. And what about a cluster of RPi 2 ? This way the RAM and the CPU capacities could be increased in keeping the bill low.
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
January 27, 2016, 06:23:02 AM
#8
You would need a 128GB SD card now. The performance will be very poor, it's just on the margin of workable.  SD cards usually don't have good write endurance either.

That's why I thought about using an HDD. How does it need to be plugged, on th GPIO ports ?
You can buy an adapter for a HDD and plug the USB onto raspberry pi. There's even a guide here but you would need a powered USB hub. IIRC, Banana Pi Pro have a Sata port.

This would be a good idea for a node in the past but not so much now, mainly due to the blockchain size and it's efficiency. The mempool was much slower in the past with lower transaction volume and hence it could run with lower ram and more connections. With the increased mempool, you would need to tweak the client slightly by using several optimizations. As shorena said, consider verifying the entire blockchain on your own computer before moving it to the raspberry pi. By copying the entire directory, you won't have to synchronize and verify from the beginning.
It seems that Microsoft are selling with an embedded Windows 10
http://www.electronicsweekly.com/blogs/distribution-world/microsoft-starts-selling-raspberry-pi-2016-01/

not that I would suggest using Windows 10. Smiley
Windows is definitely not the recommended one with their memory footprint.
legendary
Activity: 1120
Merit: 1004
January 27, 2016, 06:06:25 AM
#7
You would need a 128GB SD card now. The performance will be very poor, it's just on the margin of workable.  SD cards usually don't have good write endurance either.

That's why I thought about using an HDD. How does it need to be plugged, on th GPIO ports ?
staff
Activity: 4284
Merit: 8808
January 27, 2016, 05:55:10 AM
#6
You would need a 128GB SD card now. The performance will be very poor, it's just on the margin of workable.  SD cards usually don't have good write endurance either.
legendary
Activity: 1120
Merit: 1004
January 27, 2016, 04:54:43 AM
#5
I have tempted by running a full node on my Rapsberry Pi 2 for a while. If someday I have something big enough to store the blockchain (64 GB (128 ?) SD card, HDD...) and that I know how to use, I'll do it. I already have the HDD, now I still need to learn how to plug in it Roll Eyes...
legendary
Activity: 2814
Merit: 2472
https://JetCash.com
January 27, 2016, 04:43:34 AM
#4
It seems that Microsoft are selling with an embedded Windows 10
http://www.electronicsweekly.com/blogs/distribution-world/microsoft-starts-selling-raspberry-pi-2016-01/

not that I would suggest using Windows 10. Smiley
sr. member
Activity: 318
Merit: 260
January 27, 2016, 12:34:04 AM
#3
Without GPIO hacking ATA or other: USB->SATA converter with ARM drivers integrated. Between pagefile and 3xMBps bus speed of USB 2.0 you'll be annoyed.

You can also put a storage server on your NAT. Still pagefile and like 60% CPU utilization though..
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
January 27, 2016, 12:19:57 AM
#2
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?

32GB is not enough, but yes people run full nodes on a raspi. It takes ages to download and verify, mainly due to the slow CPU. You might want to get the blockchain with a different machine and copy it.
legendary
Activity: 1736
Merit: 1006
January 27, 2016, 12:04:06 AM
#1
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?
Jump to: