Bitcoin Forum
November 09, 2024, 10:41:01 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Creating Bootstrap.dat on Ubuntu 14.XX  (Read 1335 times)
valkir (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1004



View Profile
March 22, 2015, 11: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

██     Please support sidehack with his new miner project Send to :

1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1452



View Profile
March 23, 2015, 12:14:07 AM
 #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

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
valkir (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1004



View Profile
March 23, 2015, 12:18:01 AM
 #3

Ok great! So I could only back up all the ./bitcoin folder and erase wallet.dat to start a new nodes.

Right ?

██     Please support sidehack with his new miner project Send to :

1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1452



View Profile
March 23, 2015, 12:23:10 AM
 #4

Yes.

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
valkir (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1004



View Profile
March 23, 2015, 01:18:18 AM
 #5

Thanks you grue!  Grin

What is or was the purpose of bootstrap.dat ?

██     Please support sidehack with his new miner project Send to :

1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1540


No I dont escrow anymore.


View Profile
March 23, 2015, 08: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.

Im not really here, its just your imagination.
spin
Sr. Member
****
Offline Offline

Activity: 362
Merit: 262


View Profile
March 23, 2015, 10: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.

If you liked this post buy me a beer.  Beers are quite cheap where I live!
bc1q707guwp9pc73r08jw23lvecpywtazjjk399daa
valkir (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1004



View Profile
March 23, 2015, 01:41:06 PM
 #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

██     Please support sidehack with his new miner project Send to :

1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
icanscript
Hero Member
*****
Offline Offline

Activity: 686
Merit: 502



View Profile
March 23, 2015, 10: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
spin
Sr. Member
****
Offline Offline

Activity: 362
Merit: 262


View Profile
March 24, 2015, 12:23:30 PM
 #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.

If you liked this post buy me a beer.  Beers are quite cheap where I live!
bc1q707guwp9pc73r08jw23lvecpywtazjjk399daa
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!