1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Helpful Sync the XTRABYTES wallet faster with the bootstrap.dat file

Discussion in 'Wallets' started by XTRABYTES, Jan 6, 2018.

  1. XTRABYTES

    XTRABYTES Well-Known Member

    Messages:
    121
    Likes Received:
    258
    Trophy Points:
    18
    Wallets can take a while to download and sync the blockchain. This process can be sped up by using the bootstrap.dat file in the XTRABYTES data directory.

    What is bootstrap.dat and what does it do?
    To speed up the process of having the complete and up to date blockchain, instead of having your wallet syncing it block by block, a file called bootstrap.dat file can be used. The bootstrap.dat file contains the latest blockchain information needed to have your wallet synced and up to date. By copying it to your XTRABYTES folder, the wallet will pick it up and import the content, reducing the time needed for syncing.

    Follow these steps:

    ** Remember** Always backup your wallet.dat file before any changes **Remember**

    Step1:
    - Download the bootstrap.dat file (Blockchain updated in 06/01/2018)

    Step2:
    - With the XTRABYTES wallet closed, manually copy or move the bootstrap.dat file you have just downloaded to the XTRABYTES data folder.
    - (OPTIONAL) Even though there is no need, you can delete all files and folders, except the wallet.dat file, for a clean update/installation. Or just create a new folder and copy all the XTRABYTES folder content to it, in case you need the files again.

    ** Remember** Always backup your wallet.dat file before any changes **Remember**

    Below you can find the respective folder for each operating system.

    Linux:

    ~/.xtrabytes/

    MacOS:

    $HOME/Library/Application Support/xtrabytes/
    or
    /Users/username/Library/Application Support/xtrabytes/

    Windows:

    %APPDATA%\xtrabytes
    or
    C:\Users\<user_name>\AppData\Roaming\xtrabytes

    Step 3:
    - Start your wallet. It should start indexing/updating the blocks shortly after, saving you hours of waiting.
    -(Optional) To further increase the process speed of importing the blocks, and depending on your computer's hardware, a command line can be used. By adding the command line: -dbcache=1000, it will use an extra 1gb memory to speed up the process. Keep in mind that it might not be compatible with some computers in regards to the required/needed RAM that is available to the user.

    You need to run the command inside the folder where your xtrabytes wallet is. Use CMD in Windows or the Terminal window in Mac/Linux.

    Example of the command line :

    Windows (cmd): xtrabytes-qt.exe -dbcache=1000
    Mac (terminal): open ./xtrabytes-Qt.app --args -dbcache=1000
    Linux (terminal): ./xtrabytes-qt -dbcache=1000


    NOTES: After it finishes the syncing process, the bootstrap.dat file will be automatically renamed to bootstrap.dat.old. You can safely delete the file if you wish.
    Every time you copy a new bootstrap.dat file to the XTRABYTES folder, the wallet will update the blocks acordingly. If there is nothing to update, it will be ignored. It will, again, rename itself to the .dat.old name and overwrite any previous files.
    If your wallet stays hidden during the process, there is a way to check the import progress. In the XTRABYTES folder, you can see the file blk000*.dat increase in size as a sign that the import process is working.

    This file will be updated regularly.

    Latest bootstrap Download:


    06/01/2017:
    Bootstrap.dat
    checksum MD5: CFD05CE765A9E33BB42863A5E3D9A1F2
     
    Last edited by a moderator: Jan 7, 2018
    Ziki, fish313 and nickdegre like this.
  2. XTRABYTES

    XTRABYTES Well-Known Member

    Messages:
    121
    Likes Received:
    258
    Trophy Points:
    18
    OP Updated with optional method to make block import faster (Step 3).
     
  3. Jamo

    Jamo Member

    Messages:
    64
    Likes Received:
    15
    Trophy Points:
    8
    I tried using the bootstrap file (on Mac), but the Xtrabytes app froze. Maybe I should have left it running longer to see what happened... This was without using the dbcache=1000 command.
     
  4. Ziki

    Ziki New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Thanks working like a charm
     

Share This Page