Bitcoin Forum
June 15, 2024, 05:01:30 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain download raspberry pi  (Read 987 times)
vlom (OP)
Legendary
*
Offline Offline

Activity: 1498
Merit: 1117


View Profile
June 04, 2017, 08:16:51 PM
 #1

hi

i installed a BTC node on my raspberry pi. the problem is, it will take days or weeks to download the blockchain.



Thats why i need to know the fastest way to download the blockchain.
Please don't tell my that i should download the blockchain using my PC. Because the problem is that i don't have enough free diskspace.
The blockchain is about 119 GB.

Thanks for helping me.

BTW: do i need a static ip? i think not. is this correct?
Celsiuss
Full Member
***
Offline Offline

Activity: 266
Merit: 100


View Profile
June 04, 2017, 10:53:43 PM
 #2

Do you even have enough storage on your Raspberry Pi?

A Raspberry Pi might not be the best device to download the blockchain to. It's a very weak and low power device. Have you considered using another device for this? Try an old laptop and install Linux on it.

I think the main reason it being slow is because of the processing power of the Pi. Or your internet connection is slow.

who cares
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


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


View Profile
June 04, 2017, 10:56:57 PM
 #3

hi

i installed a BTC node on my raspberry pi. the problem is, it will take days or weeks to download the blockchain.



Thats why i need to know the fastest way to download the blockchain.
Please don't tell my that i should download the blockchain using my PC. Because the problem is that i don't have enough free diskspace.
The blockchain is about 119 GB.

Thanks for helping me.

BTW: do i need a static ip? i think not. is this correct?

As far as I know you don't need a static ID. Your router probably already has one anyway and this is how your PI will connect to the internet and where all the requests will be sent to.

I think that fastest way is just to download it as youa re doing. The hardware and system constraints are quite limiting. If you have enough diskspace it will eventually install itself fully. Also how is the Pi connected to the internet, is it through ethernet or wireless and what is it's speed? Also, there will be a class written on the MicroSD, is it class 10 at least as thetransfer speed may reduce the downloading of the blockchain by quite a bit?
Is there a reason why you are using core though? Do you need the blockchain for anything? As you may end up killing some of the PI and the SD card in the process (meaning you have to repeat all of the steps you've already done).
vlom (OP)
Legendary
*
Offline Offline

Activity: 1498
Merit: 1117


View Profile
June 05, 2017, 09:44:51 AM
 #4


Is there a reason why you are using core though? Do you need the blockchain for anything? As you may end up killing some of the PI and the SD card in the process (meaning you have to repeat all of the steps you've already done).

yes. i am signaling UASF-Segwit:0.3(BIP148)

Do you even have enough storage on your Raspberry Pi?

A Raspberry Pi might not be the best device to download the blockchain to. It's a very weak and low power device. Have you considered using another device for this? Try an old laptop and install Linux on it.

I think the main reason it being slow is because of the processing power of the Pi. Or your internet connection is slow.

Yes, i have enough storage. i am using a 512GB usb drive.

And everything is faster than i thought. the pi already have downloaded 231311 (49.23%).
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


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


View Profile
June 05, 2017, 02:56:29 PM
 #5


Is there a reason why you are using core though? Do you need the blockchain for anything? As you may end up killing some of the PI and the SD card in the process (meaning you have to repeat all of the steps you've already done).

yes. i am signaling UASF-Segwit:0.3(BIP148)

Do you even have enough storage on your Raspberry Pi?

A Raspberry Pi might not be the best device to download the blockchain to. It's a very weak and low power device. Have you considered using another device for this? Try an old laptop and install Linux on it.

I think the main reason it being slow is because of the processing power of the Pi. Or your internet connection is slow.

Yes, i have enough storage. i am using a 512GB usb drive.

And everything is faster than i thought. the pi already have downloaded 231311 (49.23%).

That's good that it's working quickly. The Pi does have about 4GHz of processing power (if you combine it's cores based on the 2nd generation model, i think the third generation model has 4.8GHz). And the operating system is not very intense on it like other GUIs are.
SopaXT
Full Member
***
Offline Offline

Activity: 158
Merit: 113


View Profile
June 05, 2017, 04:44:08 PM
 #6

If your so-called 512 GB flash drive was bought off ebay, beware that it might be fake and actually only be 4GB or so, overwriting the extra data.

jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


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


View Profile
June 05, 2017, 07:35:39 PM
 #7

If your so-called 512 GB flash drive was bought off ebay, beware that it might be fake and actually only be 4GB or so, overwriting the extra data.

No...
If he said that it's 512GB then it's probably 512GB it wouldn't get that far if it was only 4GB, it'd barely start.
And it's already nearly 50% through.
vlom (OP)
Legendary
*
Offline Offline

Activity: 1498
Merit: 1117


View Profile
June 05, 2017, 07:46:04 PM
 #8

If your so-called 512 GB flash drive was bought off ebay, beware that it might be fake and actually only be 4GB or so, overwriting the extra data.

no it wasn't and there is already a lot more than 4GB of the blockchain downloaded by the brave raspi.
CardShare
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile WWW
June 05, 2017, 07:55:25 PM
 #9

I have a couple of pi's here sitting doing nothing is there a guide on how you did this? I might fire up my couple for the vote in august time.


https://Investex.Pro  - Green Mining Operations & Mining Store...
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


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


View Profile
June 05, 2017, 07:57:20 PM
 #10

I have a couple of pi's here sitting doing nothing is there a guide on how you did this? I might fire up my couple for the vote in august time.



Just use it normally and then run it with the -datadir=<file> command in order to put the data directory onto the external medium instead (a usb stick or external hard drive will both work fairly well).
vlom (OP)
Legendary
*
Offline Offline

Activity: 1498
Merit: 1117


View Profile
June 06, 2017, 05:24:23 AM
 #11

I have a couple of pi's here sitting doing nothing is there a guide on how you did this? I might fire up my couple for the vote in august time.



Setting up a Raspberry Pi running Raspbian as a Bitcoin UASF BIP 148 node — compiling from source code.

https://medium.com/@wintercooled/setting-up-a-raspberry-pi-running-raspbian-as-a-bitcoin-uasf-bip-148-node-compiling-from-source-2d583ea675e5
CardShare
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile WWW
June 06, 2017, 01:49:41 PM
 #12

Excellent!!  I had to order some fans for my PI's I thought it might not be a smart idea to run it for that length of time without one, have you run into any issues with it how is the stability of it on the PI?

https://Investex.Pro  - Green Mining Operations & Mining Store...
ranochigo
Legendary
*
Offline Offline

Activity: 2982
Merit: 4193



View Profile
June 06, 2017, 03:13:27 PM
 #13

BTW: do i need a static ip? i think not. is this correct?
You don't have to get a static IP. However, when your IP changes, the nodes that are connecting to you will lose the connection and your inbound connection will be back to 0. IIRC, there is also an issue where the other nodes will not connect to you after the IP change till you restart the client. I wouldn't consider this a huge downside though, running a node has plenty of benefits to the network.


You can try to run the client with a larger dbcache, eg -dbcache=16000. This will substantially increase the performance. Anyways, if you (or anyone else) wants a copy of the blockchain, preverified by me, LMK via PM. I'll be willing to fire up a VPS for you.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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!