Sync the XTRABYTES and XFUEL wallets faster with the bootstrap.dat file

  1. XTRABYTES
    Well-Known Member Staff Member
    Messages:
    251
    Likes Received:
    262
    Trophy Points:
    63
    January 6, 2018 at 04:53
    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 or the XFUEL 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 or XFUEL 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**


    Step 1:


    Download the bootstrap.dat files (Blockchain updated in 09/12/2019)

    Step 2:


    Regardless of what wallet you are using, the bootstrap process is the same for both the XTRABYTES and the XFUEL wallets.

    NOTE: The downloaded bootstrap.dat file has been compacted by a file archiver utility, using the ZIP format. A ZIP Compressed file is the most widely used archive format available.
    In Windows and macOS Operating systems, ZIP files are handled internally, without the need for any extra software.
    A file archiver utility is not installed by default in most Linux distributions, but it can be easily installed. Free file utilities are available such as Unzip.
    To install Unzip just type in a terminal window: sudo apt install unzip (Ubuntu and Debian) or sudo yum install unzip (CentOS and Fedora)).
    Running the unzip command will extract all files from the specified ZIP file to the current directory: unzip filename.zip or unzip filename.zip -d /path/to/directory (to choose another directory or folder).
    • Extract (unzip) the content of the downloaded file to a folder.

    • With the XTRABYTES\XFUEL wallet closed, manually copy or move the bootstrap.dat file you have just unziped to the XTRABYTES\XFUEL 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\XFUEL 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.

    NOTE: A new feature has been introduced in version 1.4.0.0 of the XTRABYTES wallet. This feature makes it possible to find the data directory in seconds.

    This feature is currently only available on the XTRABYTES wallet.
    • In the troubleshooting section, under the Help tab, it is possible to see the directory path where the XTRABYTES wallet.dat file is installed.

    Linux:
    • ~/.xtrabytes/

    • ~/.xfuel/
    NOTE: You can run ls -a to see directories that start with a dot. You can also search for the directory by using the find command.

    Example: : find / -name wallet.dat -print 2>/dev/null

    MacOS:
    • $HOME/Library/Application Support/xtrabytes/
      or
    • /Users/username/Library/Application Support/xtrabytes/


    • $HOME/Library/Application Support/xfuel/
      or
    • /Users/username/Library/Application Support/xfuel/
    NOTE: On a mac the files can be hidden. Press Command + Shift + . to temporarily unhide the files

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


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

    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 or xfuel 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




    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 or XFUEL 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.

    NOTE: If your wallet stays hidden during the process, or appears to have frozen, there are ways to check the import progress.
    • In the XTRABYTES\XFUEL folder, you can see the file blk000*.dat increase in size as a sign that the import process is working.
    • Monitor the debug.log file using this method.

    This file will be updated regularly.

    Latest bootstrap Download:


    09/12/2019:
    Wallets and bootstrap links
     
    Last edited by a moderator: Dec 9, 2019 at 7:53 PM
    Ziki, fish313 and nickdegre like this.
  2. XTRABYTES
    Well-Known Member Staff Member
    Messages:
    251
    Likes Received:
    262
    Trophy Points:
    63
    January 7, 2018 at 06:12
    OP Updated with optional method to make block import faster (Step 3).
     
  3. Jamo
    Member
    Messages:
    71
    Likes Received:
    21
    Trophy Points:
    8
    January 9, 2018 at 06:03
    Last edited: Jan 18, 2018
  4. Ziki
    New Member
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    January 14, 2018 at 03:40
    Thanks working like a charm
     
  5. Fred Cailloux
    New Member
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    February 12, 2018 at 05:20
    Did work perfectly! Thanks. Question: Can I remove that Bootstrap.dat file from the folder once the sync is complete?
     
  6. Jamo
    Member
    Messages:
    71
    Likes Received:
    21
    Trophy Points:
    8
    February 13, 2018 at 07:02
  7. akissz
    New Member
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    April 18, 2018 at 02:18
    The download link for the dat file on this page is missing the file on the server. How come?
     
  8. Supreme
    Administrator Staff Member
    Messages:
    102
    Likes Received:
    46
    Trophy Points:
    28
    April 19, 2018 at 01:12
    We will update bootstrap.dat ASAP, sorry for inconvenience.
     
    akissz likes this.
  9. akissz
    New Member
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    April 20, 2018 at 03:57
    The dat file processed ok. But the program is not syncing with network. Program does not connect. The program has a upside-down triangle with red mark in the bottom right corner.
     
  10. jcpbs
    Administrator Staff Member
    Messages:
    29
    Likes Received:
    14
    Trophy Points:
    8
    July 8, 2019 at 02:14
    OP has been updated. Bootstrap Date: 22 June 2019.