Bitcoin Forum
September 25, 2018, 08:18:06 AM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Pruning while initial downloading blockchain?  (Read 138 times)
MysteryMiner
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000



View Profile
December 11, 2017, 02:20:30 AM
 #1

Lame question, but since I was not much into Bitcoin for some time, I want to get this right on first attempt.

I have computer with small SSD drive that have 120GB free space. I want to install and download Bitcoin Core. I have no space on drive to store entire blockchain.

1. Should I install Bitcoin Core, set up my preferences, then add prune=550 or some larger number to Bitcoin.conf, then shut down and start again Bitcoin Core?

2. Will the space usage never reach 120GB or more while initial downloading?

3. Any other things I need to know about pruning that I missed?

Do not trust commercial VPN to save You from oppressive government! Get VPN service offered by a real cyber-dissenter https://bitcointalk.org/index.php?topic=4426691.0

1PG5HMwN51j8xYHKVFv9h1Tw4Jzc3fWXw3
1537863486
Hero Member
*
Offline Offline

Posts: 1537863486

View Profile Personal Message (Offline)

Ignore
1537863486
Reply with quote  #2

1537863486
Report to moderator
1537863486
Hero Member
*
Offline Offline

Posts: 1537863486

View Profile Personal Message (Offline)

Ignore
1537863486
Reply with quote  #2

1537863486
Report to moderator
1537863486
Hero Member
*
Offline Offline

Posts: 1537863486

View Profile Personal Message (Offline)

Ignore
1537863486
Reply with quote  #2

1537863486
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537863486
Hero Member
*
Offline Offline

Posts: 1537863486

View Profile Personal Message (Offline)

Ignore
1537863486
Reply with quote  #2

1537863486
Report to moderator
1537863486
Hero Member
*
Offline Offline

Posts: 1537863486

View Profile Personal Message (Offline)

Ignore
1537863486
Reply with quote  #2

1537863486
Report to moderator
1537863486
Hero Member
*
Offline Offline

Posts: 1537863486

View Profile Personal Message (Offline)

Ignore
1537863486
Reply with quote  #2

1537863486
Report to moderator
HCP
Hero Member
*****
Offline Offline

Activity: 728
Merit: 925

<insert witty quote here>


View Profile
December 11, 2017, 06:06:39 AM
 #2

1. That will work

2. No, it will prune while it goes

3. If you ever need to rescan (importing privkeys etc) you are going to be in a world of pain Tongue That is to say, you'll need to redownload the entire blockchain again.


Is there a specific reason why you'd rather use Bitcoin Core instead of a lightweight client like Electrum?

aleksej996
Sr. Member
****
Offline Offline

Activity: 406
Merit: 301


Do not trust the government


View Profile WWW
December 11, 2017, 01:40:44 PM
 #3

You can also keep your blockchain on multiple drives if you use Linux. So if you have another hard drive you can start downloading the blockchain on that hard drive and then change the data directory to the one on SSD and make soft links to the block files on the other drive. (soft links are like shortcuts)
You can make soft links by using a command "ln -s <target> <shortcutfilename>", which will make a file <shortcutfilename> that will point to the <target> when accessed. In this scenario it makes sense for target to be on the regular hard drive while the soft link (shortcut file) to be on the SSD.

░░░░░░░▄▄▄▄▄▄
░░░░▄██████████▄
░░░██████████████
░░██████▐▌██████
█████░░░░░░░▀█████
██████▄▄░░▄▄░░██████
████████░░▀▀▄██████
████████░░▄▄▄░░█████
██████▀▀░░▀▀▀░░█████
█████░░░░░░░░█████
░░██████▐▌██████
░░░██████████████
░░░░▀██████████▀
░░░░░░░▀▀▀▀▀▀
░░░

                   BitCloak Bitcoin Mixer  
  BTC & BCH | API| MULTIADDRESS| PGP PROOF|  FAST MIX |  ESCROW|  MORE !

░░░░░░░▄▄▄▄▄▄
░░░░▄██████████▄
░░░██████████████
░░██████▐▌██████
█████░░░░░░░▀█████
██████▄▄░░▄▄░░██████
████████░░▀▀▄██████
████████░░▄▄▄░░█████
██████▀▀░░▀▀▀░░█████
█████░░░░░░░░█████
░░██████▐▌██████
░░░██████████████
░░░░▀██████████▀
░░░░░░░▀▀▀▀▀▀
░░░

MysteryMiner
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000



View Profile
December 11, 2017, 05:13:09 PM
 #4

Thank You all for the answers, it really confirmed my research. You know, it is always good to have confirmation from somebody who already knows, because often the technical documentation is incorrect and there are lot of myths and misconceptions about technical stuff.

Quote
Is there a specific reason why you'd rather use Bitcoin Core instead of a lightweight client like Electrum?
Yes. I always used full node in past when I was deep into Bitcoin related things. I still prefer full node over SPV clients because of anonymity advantages. I want to be in full control over my coins.
You can also keep your blockchain on multiple drives if you use Linux. So if you have another hard drive you can start downloading the blockchain on that hard drive and then change the data directory to the one on SSD and make soft links to the block files on the other drive. (soft links are like shortcuts)
You can make soft links by using a command "ln -s <target> <shortcutfilename>", which will make a file <shortcutfilename> that will point to the <target> when accessed. In this scenario it makes sense for target to be on the regular hard drive while the soft link (shortcut file) to be on the SSD.
I use Windows 7. I know I can use NTFS junctions to point to another drive as well as choose different datadir in startup parameters or bitcoin.conf. The problem is that my main computer is now a laptop, not a desktop. Sure, my laptop have small 256GB SSD system drive and 1TB 7200RPM secondary mechanical hard drive, but today I think it is bare minimum for power users like me. For desktop it is possible to throw in just another multi terabyte drive, but for laptop the expansion is somewhat limited.

Do not trust commercial VPN to save You from oppressive government! Get VPN service offered by a real cyber-dissenter https://bitcointalk.org/index.php?topic=4426691.0

1PG5HMwN51j8xYHKVFv9h1Tw4Jzc3fWXw3
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!