Bitcoin Forum
November 09, 2024, 06:55:51 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Running a node on Raspberry Pi  (Read 277 times)
Rarobro (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
June 20, 2018, 09:29:41 AM
 #1

I have the full bitcoin core wallet running on my imac on to an external hard drive, can I run that hard drive thru a raspberry Pi or is it better just to start again and down load the bitcoin core wallet thru the raspberry pi to run the node
Sophokles
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 516


View Profile WWW
June 20, 2018, 11:10:57 AM
 #2

Reloading the blockchain from the web with the raspi will take weeks. It is possible to reuse the external hdd if it has a compatible file system (e.g. NTFS). Otherwise it is possible to import the blockchain to the raspi pi form the local hdd:

https://github.com/Stadicus/guides/blob/master/raspibolt/raspibolt_50_mainnet.md
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
June 20, 2018, 11:12:30 AM
 #3

To quickly answer your question: Yes, you can simply connect that hard drive to your Pi without needing to download it from scratch.

There shouldn't be any problems just plugging out/in the hard drive.

But you should keep in mind that external hard drives are way more error-prone to file corruption than internal drives, since core does need a continious connection to your hard drive (which may fail from time to time with external drives).

Jet Cash
Legendary
*
Offline Offline

Activity: 2814
Merit: 2472


https://JetCash.com


View Profile WWW
June 20, 2018, 12:05:10 PM
Merited by nwby (1)
 #4

You will need the supporting files such as your wallet on the hard drive as well as the blockchain. I'd use an SSD rather than an HDD. I use an external SSD drive with Ubuntu, and sync'ing takes less than half the time that sync'ing takes with an internal HDD under Windows. Core seems to be pretty robust as well. Windows has had quite a few attempts to screw it up, but if you close the program and allow it to restart normally, it seems to be able to sort out the problems for itself.

Offgrid campers allow you to enjoy life and preserve your health and wealth.
Save old Cars - my project to save old cars from scrapage schemes, and to reduce the sale of new cars.
My new Bitcoin transfer address is - bc1q9gtz8e40en6glgxwk4eujuau2fk5wxrprs6fys
Rarobro (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
June 20, 2018, 08:33:40 PM
 #5

Thank you everyone for your help thanks Sophokles for the link I will give it a go as I want to run the node full time as I believe in Bitcoin, Cheers
Jet Cash
Legendary
*
Offline Offline

Activity: 2814
Merit: 2472


https://JetCash.com


View Profile WWW
June 21, 2018, 10:01:13 AM
 #6

Don't forget that you will still be supporting Bitcoin if you run a pruned node, and this could allow you to use a smaller hard drive.

Offgrid campers allow you to enjoy life and preserve your health and wealth.
Save old Cars - my project to save old cars from scrapage schemes, and to reduce the sale of new cars.
My new Bitcoin transfer address is - bc1q9gtz8e40en6glgxwk4eujuau2fk5wxrprs6fys
Sophokles
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 516


View Profile WWW
June 21, 2018, 12:01:34 PM
 #7

Thank you everyone for your help thanks Sophokles for the link I will give it a go as I want to run the node full time as I believe in Bitcoin, Cheers

Sure, happy to help Smiley. Report back if you run into problems. And teach other people once you have it working.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
June 21, 2018, 12:40:32 PM
 #8

https://www.modmypi.com/blog/boost-usb-current - this might be helpful depending on how much you have used your Pi already (if you've already used a hard drive with it then you're good, however, if not, you need to change the config file to state max_usb_current=1)
Rarobro (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
June 22, 2018, 08:09:26 AM
 #9

Hi everyone once again thanks for all your help, well had quite a few problems with the pi and the external hd and the old node on that hd but we got there in the end, to cut a long story short the bitcoin core wallet is running and sync with 8 active connections  to the network and got 4 years of downloading but thats ok as thats all the pi going to do is run the node.

 
Jet Cash
Legendary
*
Offline Offline

Activity: 2814
Merit: 2472


https://JetCash.com


View Profile WWW
June 22, 2018, 06:17:46 PM
 #10

A couple of speed issues I've noticed on the netbook. Using a USB3 port to sync takes half the time of a USB2. Using an SSD on a USB3 port takes half the time of an HDD. All timings are subjective and approximate. Smiley

Offgrid campers allow you to enjoy life and preserve your health and wealth.
Save old Cars - my project to save old cars from scrapage schemes, and to reduce the sale of new cars.
My new Bitcoin transfer address is - bc1q9gtz8e40en6glgxwk4eujuau2fk5wxrprs6fys
Rarobro (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
August 09, 2018, 09:05:33 AM
 #11

Hi everyone and thanks for your help, the pi is nearly done downloading only 8 days behind with the blocks taking awhile but I didn't care I'm happy its caught up and it works and i'm doing my bit helping out cheers everyone
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!