Author

Topic: Creating Bootstrap.dat on Ubuntu 14.XX (Read 1338 times)

sr. member
Activity: 362
Merit: 262
March 24, 2015, 07:23:30 AM
#10


A slower alternative (than copying the files) is to add a connect/addnode in the conf of the new node to point to the existing node.  It will then download from your existing node (assuming v0.10).  It's easier to set up but the new node will still verify all data again.  The advantage is that you can probably leave this config up as you probably don't need to make both nodes available externally.  Your new node can just continue to leech of the existing node in future.

Could I will probably do that. But I will also like to have a backup of the blockchain in case something happen and I need to reboot all my setup. Dont want to downlaod 34gb again.  Tongue
The above approach would result in a copy of the blockchain on each pc.  The download will mostly be from your existing peer to the new one though, which should speed things up compared to the normal download.  It will be slower than copying the folders directly as it would still verify everything again.
hero member
Activity: 686
Merit: 502
March 23, 2015, 05:48:33 PM
#9
This is what you need,

I have done it many times.

Code:
https://github.com/bitcoin/bitcoin/tree/master/contrib/linearize
legendary
Activity: 1484
Merit: 1004
March 23, 2015, 08:41:06 AM
#8
Thanks you grue!  Grin

What is or was the purpose of bootstrap.dat ?

To speed up the download without having to trust the party providing the data.

Thanks  Grin

Hi

I recently did a new setup at home and want to put a nodes on it.
I already have a ubuntu with full bitcoin-qt running on it.
Could someone provide a nice step by step way to make my own bootstrap.dat so I can transfert it to my new server.

Thanks  Grin

Cheer

Valkir

A slower alternative (than copying the files) is to add a connect/addnode in the conf of the new node to point to the existing node.  It will then download from your existing node (assuming v0.10).  It's easier to set up but the new node will still verify all data again.  The advantage is that you can probably leave this config up as you probably don't need to make both nodes available externally.  Your new node can just continue to leech of the existing node in future.

Could I will probably do that. But I will also like to have a backup of the blockchain in case something happen and I need to reboot all my setup. Dont want to downlaod 34gb again.  Tongue
sr. member
Activity: 362
Merit: 262
March 23, 2015, 05:11:19 AM
#7
Hi

I recently did a new setup at home and want to put a nodes on it.
I already have a ubuntu with full bitcoin-qt running on it.
Could someone provide a nice step by step way to make my own bootstrap.dat so I can transfert it to my new server.

Thanks  Grin

Cheer

Valkir

A slower alternative (than copying the files) is to add a connect/addnode in the conf of the new node to point to the existing node.  It will then download from your existing node (assuming v0.10).  It's easier to set up but the new node will still verify all data again.  The advantage is that you can probably leave this config up as you probably don't need to make both nodes available externally.  Your new node can just continue to leech of the existing node in future.
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
March 23, 2015, 03:32:59 AM
#6
Thanks you grue!  Grin

What is or was the purpose of bootstrap.dat ?

To speed up the download without having to trust the party providing the data.
legendary
Activity: 1484
Merit: 1004
March 22, 2015, 08:18:18 PM
#5
Thanks you grue!  Grin

What is or was the purpose of bootstrap.dat ?
legendary
Activity: 2058
Merit: 1452
March 22, 2015, 07:23:10 PM
#4
Yes.
legendary
Activity: 1484
Merit: 1004
March 22, 2015, 07:18:01 PM
#3
Ok great! So I could only back up all the ./bitcoin folder and erase wallet.dat to start a new nodes.

Right ?
legendary
Activity: 2058
Merit: 1452
March 22, 2015, 07:14:07 PM
#2
Creating a bootstrap.dat file not an optimal solution because bitcoind will need to verify the data upon import, which takes a significant amount of time. The best solution would be to stop bitcoind, and copy the entire ~/.bitcoin folder.

but if you insist on using bootstrap.dat, https://github.com/bitcoin/bitcoin/tree/master/contrib/linearize
legendary
Activity: 1484
Merit: 1004
March 22, 2015, 06:30:38 PM
#1
Hi

I recently did a new setup at home and want to put a nodes on it.
I already have a ubuntu with full bitcoin-qt running on it.
Could someone provide a nice step by step way to make my own bootstrap.dat so I can transfert it to my new server.

Thanks  Grin

Cheer

Valkir
Jump to: