Bitcoin Forum
May 05, 2024, 07:23:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How would I create a bitcoin blockchain bootstrap file(s) ?  (Read 849 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 (OP)
Member
**
Offline Offline

Activity: 134
Merit: 11


View Profile
October 03, 2017, 07:07:24 PM
Merited by ABCbits (1)
 #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
1714893809
Hero Member
*
Offline Offline

Posts: 1714893809

View Profile Personal Message (Offline)

Ignore
1714893809
Reply with quote  #2

1714893809
Report to moderator
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714893809
Hero Member
*
Offline Offline

Posts: 1714893809

View Profile Personal Message (Offline)

Ignore
1714893809
Reply with quote  #2

1714893809
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


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 (OP)
Member
**
Offline Offline

Activity: 134
Merit: 11


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: 3388
Merit: 6581


Just writing some code


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 (OP)
Member
**
Offline Offline

Activity: 134
Merit: 11


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: 3388
Merit: 6581


Just writing some code


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
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
October 04, 2017, 09:36:33 PM
Last edit: November 15, 2023, 08:35:52 AM by HCP
Merited by ABCbits (1)
 #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



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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
dave4925 (OP)
Member
**
Offline Offline

Activity: 134
Merit: 11


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: 2069
Merit: 1164


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
*****
Offline Offline

Activity: 2464
Merit: 644


Eloncoin.org - Mars, here we come!


View Profile WWW
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.









▄▄████████▄▄
▄▄████████████████▄▄
▄██
████████████████████▄
▄███
██████████████████████▄
▄████
███████████████████████▄
███████████████████████▄
█████████████████▄███████
████████████████▄███████▀
██████████▄▄███▄██████▀
████████▄████▄█████▀▀
██████▄██████████▀
███▄▄█████
███████▄
██▄██████████████
░▄██████████████▀
▄█████████████▀
████████████
███████████▀
███████▀▀
.
▄▄███████▄▄
▄███████████████▄
▄███████████████████▄
▄██████████
███████████
▄███████████████████████▄
█████████████████████████
█████████████████████████
█████████████████████████
▀█
██████████████████████▀
▀██
███████████████████▀
▀███████████████████▀
▀█████████
██████▀
▀▀███████▀▀
.
 ElonCoin.org 
.
████████▄▄███████▄▄
███████▄████████████▌
██████▐██▀███████▀▀██
███████████████████▐█▌
████▄▄▄▄▄▄▄▄▄▄██▄▄▄▄▄
███▐███▀▄█▄█▀▀█▄█▄▀
███████████████████
█████████████▄████
█████████▀░▄▄▄▄▄
███████▄█▄░▀█▄▄░▀
███▄██▄▀███▄█████▄▀
▄██████▄▀███████▀
████████▄▀████▀
█████▄▄
.
"I could either watch it
happen or be a part of it"
▬▬▬▬▬
dave4925 (OP)
Member
**
Offline Offline

Activity: 134
Merit: 11


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

lightweight client?  Like what?

1BTcdaveJEX8SrLb62YSLY7r3W9P8XQYBN
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



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 (OP)
Member
**
Offline Offline

Activity: 134
Merit: 11


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:  

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