Bitcoin Forum
November 14, 2018, 05:55:59 AM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How would I create a bitcoin blockchain bootstrap file(s) ?  (Read 687 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
dave4925
Member
**
Offline Offline

Activity: 135
Merit: 10


View Profile
October 03, 2017, 07:07:24 PM
 #1

I am using bitcoin core , windows 64-bit with windows 7.
How would I create a bootstrap file so I can import the blockchain on another machine so I don't have to spend days downloading the blockchain?
Thanks!

1BTcdaveJEX8SrLb62YSLY7r3W9P8XQYBN
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1582
Merit: 1739


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
October 03, 2017, 07:10:30 PM
 #2

Don't use a bootstrap.dat file. It will still take a very long time. Rather you can just copy and paste an existing datadir (all you need is the blocks folder and the chainstate folder) to the new machine. This is by far the fastest because the blockchain and its state have already been verified and that information stored in the datadir, so your new node will just use that already-done verification.

dave4925
Member
**
Offline Offline

Activity: 135
Merit: 10


View Profile
October 04, 2017, 03:12:09 AM
 #3

Don't use a bootstrap.dat file. It will still take a very long time. Rather you can just copy and paste an existing datadir (all you need is the blocks folder and the chainstate folder) to the new machine. This is by far the fastest because the blockchain and its state have already been verified and that information stored in the datadir, so your new node will just use that already-done verification.

Awesome! By the way, what folder is the data folder?  I might have done a configuration or registry key to change the folder too.  If not, what files to windows search for to find the folder?
Thanks!

1BTcdaveJEX8SrLb62YSLY7r3W9P8XQYBN
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1582
Merit: 1739


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
October 04, 2017, 03:41:36 AM
 #4

Awesome! By the way, what folder is the data folder?  I might have done a configuration or registry key to change the folder too.  If not, what files to windows search for to find the folder?
Thanks!
The first time you started Bitcoin Core, you were prompted to choose a datadir. If you did not choose a custom one and left the default, then it will be in C:\Users\<your username>\AppData\Bitcoin

dave4925
Member
**
Offline Offline

Activity: 135
Merit: 10


View Profile
October 04, 2017, 02:55:17 PM
 #5

Awesome! By the way, what folder is the data folder?  I might have done a configuration or registry key to change the folder too.  If not, what files to windows search for to find the folder?
Thanks!
The first time you started Bitcoin Core, you were prompted to choose a datadir. If you did not choose a custom one and left the default, then it will be in C:\Users\<your username>\AppData\Bitcoin

looks like I chose another folder.  Is there a blockchain file name I can search the computer for to find the folder?  It was early this year I installed it on this machine so my memory is gone.

1BTcdaveJEX8SrLb62YSLY7r3W9P8XQYBN
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1582
Merit: 1739


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
October 04, 2017, 03:33:09 PM
 #6

looks like I chose another folder.  Is there a blockchain file name I can search the computer for to find the folder?  It was early this year I installed it on this machine so my memory is gone.
Search for wallet.dat. That is your wallet file and it is located in the datadir. When you copy the datadir to a new computer, make sure you do not copy the wallet.dat file.

HCP
Hero Member
*****
Offline Offline

Activity: 784
Merit: 951

<insert witty quote here>


View Profile
October 04, 2017, 09:36:33 PM
 #7

Open up Bitcoin Core... click: "Help -> Debug Window -> Information"... look for the datadir value... That is the folder containing your wallet.dat and the blocks and chainstate folders


dave4925
Member
**
Offline Offline

Activity: 135
Merit: 10


View Profile
October 07, 2017, 06:19:42 AM
 #8

ok, so I found the data directory, and sent those files to the new laptop.  When I installed bitcoin core, it said the data was corrupt.  It re-indexed for an hour or two, now it has to synch headers.  On block 3451 after a half hour or so, and there are like over 450k blocks.... how on earth do you guys do this without taking weeks?  I also faintly remember getting this same error before and it did take like a week...

1BTcdaveJEX8SrLb62YSLY7r3W9P8XQYBN
AGD
Legendary
*
Offline Offline

Activity: 1714
Merit: 1036


Keeper of the Private Key


View Profile
October 07, 2017, 01:14:01 PM
 #9

ok, so I found the data directory, and sent those files to the new laptop.  When I installed bitcoin core, it said the data was corrupt.  It re-indexed for an hour or two, now it has to synch headers.  On block 3451 after a half hour or so, and there are like over 450k blocks.... how on earth do you guys do this without taking weeks?  I also faintly remember getting this same error before and it did take like a week...

You probably need to close the client and copy the files again deleting the old files.

Bitcoin is not a bubble, it's the pin!
+++ GPG Public key FFBD756C24B54962E6A772EA1C680D74DB714D40 +++ http://pgp.mit.edu/pks/lookup?op=get&search=0x1C680D74DB714D40
MFahad
Hero Member
*****
Online Online

Activity: 840
Merit: 500



View Profile
October 07, 2017, 08:54:21 PM
 #10

I am using bitcoin core , windows 64-bit with windows 7.
How would I create a bootstrap file so I can import the blockchain on another machine so I don't have to spend days downloading the blockchain?
Thanks!

Better to just export and import, maybe even use a light weight wallet at the new PC, there is rarely a reason for anyone to use the entire chain on their computer. Those are either people that want to do some real coding, or those that want to feel important and special. No need for any of that these days.

       ▄▄█████████▄▄
    ▄█████████████████
  ▄████████▀▀▀▀▀▀▀▀▀▀
 ▄███████▀   ▄▄   ▄▄▄▄▄▄▄▄
▄████████▄▄▄████  ▄▄▄▄▄▄▄▄
█████████▀▀▀▀▀▀▀  █████████
█████████   ▄▄▄▄   ▀███████
█████████   █████   ███████
 ▀▀▀▀▀▀▀▀   █████   ██████▀
 ▀▀▀▀▀▀▀▀   ███▀▀   █████▀
      ▄▄▄▄▄▄███▄▄▄▄█████▀
     █████████████████▀
       ▀▀█████████▀▀
Bitcoin Air 
 
.
█      ███
█      ███
  ██
  ██  ███
  ██  ███
  ██  ███
      ███
█  ██
  ███
█  ██
  ███
   ██
  ███
█  ██  ███
█  ██  ███
█  ██
....MEDIUM....
.....GITHUB....
.....REDDIT....
     ██  █
███  ██  █
███  ██
███  ██  █
███  ██  █
███  ██  █
███      █
███  ██ 
███  ██ 
     ██ 
███
  ██ 
███
  ██ 
     ██
 
.
.
dave4925
Member
**
Offline Offline

Activity: 135
Merit: 10


View Profile
October 09, 2017, 06:25:36 AM
 #11

lightweight client?  Like what?

1BTcdaveJEX8SrLb62YSLY7r3W9P8XQYBN
bob123
Hero Member
*****
Offline Offline

Activity: 742
Merit: 692



View Profile WWW
October 09, 2017, 11:35:25 AM
 #12

lightweight client?  Like what?

Light wallets are wallets which don't require the full blockchain on the PC.
Those wallets sync your addresses via online Services.
There are a Lot of light wallets on the Market.
One would be Electrum for example.

dave4925
Member
**
Offline Offline

Activity: 135
Merit: 10


View Profile
December 14, 2017, 12:44:38 AM
 #13

for some reason after copying all the blockchain files a second time, it worked.
I also installed electrum and am using that one, I kind of like it more than core now.  It's easy to adjust the fee with the slider, and doesn't use many resources, and seems secure enough.

1BTcdaveJEX8SrLb62YSLY7r3W9P8XQYBN
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!