Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

Problem creating my own bootstrap file

Discussion in 'Daemon and QT Wallet Support' started by ugofantocci, Mar 15, 2019.

  1. ugofantocci

    ugofantocci New Member

    Joined:
    Oct 1, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. flare

    flare Administrator
    Dash Core Team Moderator

    Joined:
    May 18, 2014
    Messages:
    2,287
    Likes Received:
    2,426
    Trophy Points:
    1,183
    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
     
  3. ugofantocci

    ugofantocci New Member

    Joined:
    Oct 1, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Thanks @flare ! I will try what you suggest.
     

Share This Page