Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: ZoladkowaGorzka on January 30, 2013, 01:23:14 PM



Title: Bootstrap.dat on Ubuntu issue
Post by: ZoladkowaGorzka on January 30, 2013, 01:23:14 PM
I couldn't find any thread to help me out.

On virgin system(no bitcoin client installed) - ubuntu
Downloaded client from bitcoin.org, downloaded bootstrap.dat from http://eu2.bitcoincharts.com/blockchain/
put it into .bitcoin directory
even tried to run it
Code:
xxx@xxx:~/.bitcoin$ ./bootstrap.dat
bash: ./bootstrap.dat: could not run the binary file
found on forum that:
Bitcoin-Qt feature is:
Quote
* Import $DataDir/bootstrap.dat automatically, if it exists.
I run the bitcoin-qt client and to my horror it started downloading all the blocks, which wasn't the outcome I wanted to achieve.
Did I do sth wrong?
What shall I do?


Title: Re: Bootstrap.dat on Ubuntu issue
Post by: K1773R on January 30, 2013, 05:45:06 PM
I couldn't find any thread to help me out.

On virgin system(no bitcoin client installed) - ubuntu
Downloaded client from bitcoin.org, downloaded bootstrap.dat from http://eu2.bitcoincharts.com/blockchain/
put it into .bitcoin directory
even tried to run it
Code:
xxx@xxx:~/.bitcoin$ ./bootstrap.dat
bash: ./bootstrap.dat: could not run the binary file
found on forum that:
Bitcoin-Qt feature is:
Quote
* Import $DataDir/bootstrap.dat automatically, if it exists.
I run the bitcoin-qt client and to my horror it started downloading all the blocks, which wasn't the outcome I wanted to achieve.
Did I do sth wrong?
What shall I do?

According to the help of bitcoind:
Code:
$ bitcoind --help 2>&1 | grep mport
  -loadblock=<file>      Imports blocks from external blk000?.dat file
therefore
Code:
bitcoind -loadblock=bootstrap.dat


Title: Re: Bootstrap.dat on Ubuntu issue
Post by: ZoladkowaGorzka on January 31, 2013, 06:15:03 AM
I couldn't find any thread to help me out.

On virgin system(no bitcoin client installed) - ubuntu
Downloaded client from bitcoin.org, downloaded bootstrap.dat from http://eu2.bitcoincharts.com/blockchain/
put it into .bitcoin directory
even tried to run it
Code:
xxx@xxx:~/.bitcoin$ ./bootstrap.dat
bash: ./bootstrap.dat: could not run the binary file
found on forum that:
Bitcoin-Qt feature is:
Quote
* Import $DataDir/bootstrap.dat automatically, if it exists.
I run the bitcoin-qt client and to my horror it started downloading all the blocks, which wasn't the outcome I wanted to achieve.
Did I do sth wrong?
What shall I do?

According to the help of bitcoind:
Code:
$ bitcoind --help 2>&1 | grep mport
  -loadblock=<file>      Imports blocks from external blk000?.dat file
therefore
Code:
bitcoind -loadblock=bootstrap.dat

Thank you vary much for help.
Can I stop the process and resume it later or it will start all over again?


Title: Re: Bootstrap.dat on Ubuntu issue
Post by: K1773R on January 31, 2013, 09:20:54 AM
I couldn't find any thread to help me out.

On virgin system(no bitcoin client installed) - ubuntu
Downloaded client from bitcoin.org, downloaded bootstrap.dat from http://eu2.bitcoincharts.com/blockchain/
put it into .bitcoin directory
even tried to run it
Code:
xxx@xxx:~/.bitcoin$ ./bootstrap.dat
bash: ./bootstrap.dat: could not run the binary file
found on forum that:
Bitcoin-Qt feature is:
Quote
* Import $DataDir/bootstrap.dat automatically, if it exists.
I run the bitcoin-qt client and to my horror it started downloading all the blocks, which wasn't the outcome I wanted to achieve.
Did I do sth wrong?
What shall I do?

According to the help of bitcoind:
Code:
$ bitcoind --help 2>&1 | grep mport
  -loadblock=<file>      Imports blocks from external blk000?.dat file
therefore
Code:
bitcoind -loadblock=bootstrap.dat

Thank you vary much for help.
Can I stop the process and resume it later or it will start all over again?
yes u can.