Using the bootstrap files

Download and use bootstrap files to drastically speed up ZelNode and control wallet syncing

Notes:

  • The bootstrap file contains most of the current blockchain data in a downloadable zip file. You can use this data with your full node to more quickly sync your full node.

  • This method is much faster because you do not need to download every block over the p2p node network, which can take many hours or days depending on internet speed.

  • A full reindex of the chain data is needed for ZelNodes as you need to have txindex=1 in your zelcash.conf file, which requires a complete re-download of the chain data

  • Copy/paste the bootstrap folder into your data directory AFTER ZelCore/Swing forces a reindex so you don't end up reindexing twice with the txindex=1 parameter being added to the zelcash.conf file.

Using the Bootstrap

  1. Download the bootstrap zip file (txindex is enabled for this bootstrap) Bootstrap w/ txindex Download

  2. Unzip the bootstrap. There will be two folders, blocks and chainstate.

  3. Navigate to your \Zelcash\ data directory

    • Windows:C:\Users\YOURUSERNAME\AppData\Roaming\Zelcash

    • MacOS: ~/Library/Application Support/zelcash

    • Linux: ~/.zelcash/

  4. Copy the bootstrap folders and paste into your \Zelcash\ data directory. Overwrite the current blocks and chainstate folders if necessary.

  5. Launch the full node wallet. You will see that the heights and headers are already pretty close to the current block height. This will save many hours of syncing.

Last updated