Problem creating my own bootstrap file

ugofantocci

New Member
Oct 1, 2018
3
0
1
56
Hello dear friends at Dash forum!

I am trying to create my own script to be used for quick installation of Dash on several Ubuntu machines, all of them with Ubuntu 16.

I am trying to create my own bootstrap file, so I let one wallet instance fully synchronize and then I create a tar.gz file with the blocks and chainstate subdirectories, to be then extracted on secondary wallet installations.

I am used to this procedure which has never given me any problem at all with other coins, including some Dash-based alt coins.

However, whenever I extract the file into the new secondary installation and then run the daemon, dashd crashes and refuses to run.

In debug.log I have this error:

2019-03-15 11:45:08 LoadBlockIndexDB: spent index disabled

2019-03-15 11:45:08 LoadBlockIndexDB: hashBestChain=000000000000001d42d0755efe3707b238bbac3b410cf042f1d355b87daeb877 height=1036077 date=2019-03-13 16:13:06 progress=0.998841

2019-03-15 11:45:08 init message: Verifying blocks...

2019-03-15 11:45:08 Verifying last 6 blocks at level 3

2019-03-15 11:45:08 [0%]...*** Found EvoDB inconsistency, you must reindex to continue

2019-03-15 11:45:08 Error: Error: A fatal internal error occurred, see debug.log for details

2019-03-15 11:45:08 Shutdown requested. Exiting.

2019-03-15 11:45:08 scheduler thread interrupt

2019-03-15 11:45:08 PrepareShutdown: In progress...

2019-03-15 11:45:09 Shutdown: done


How can I resolve this problem, or, otherwise, how can I import the official bootstrap files without having to use a masternode script like dashman which is not what I need?

Thanks a lot for your help!

Kind Regards, Ugo
 

flare

Administrator
Dash Core Team
Moderator
May 18, 2014
2,286
2,404
1,183
Germany
Hello dear friends at Dash forum!

how can I import the official bootstrap files without having to use a masternode script like dashman which is not what I need?
Simply download the latest bootstrap from https://github.com/UdjinM6/dash-bootstrap#for-mainnet and unzip it to you datadir - that should give you a bootstrap.dat file. Wipe everything else (files/directories) from the datadir (except wallet.dat and dash.conf of course) and start your wallet. It will still take some time to parse the full bootstrap, but should be way faster than downloading.

Holger