Difference between revisions of "Bootstrap.dat"

From Sexcoin Wiki
Jump to: navigation, search
m (Update latest creation time of bootstrap file)
(Updated checksums to the latest bootstrap file)
 
Line 20: Line 20:
 
== Verify integrity ==
 
== Verify integrity ==
 
===bootstrap.dat.gz===
 
===bootstrap.dat.gz===
  * MD5 : e4c2c3c5e41ca968932b06f9c7967a66
+
  * MD5 : bd982ea50050e45172a48a98691624ff
  * SHA1: 306e16e6a5d6f3a5bd7384f25dec0d1da12f1583
+
  * SHA1: 2f1bf61c1424c6c9573c9194bc551bf315134a2b
  * SHA256: ea680573dea3ccc195877e825885c892ed76e3561a75de5d5c6fbefd4d814ec1
+
  * SHA256: 105d6d9b1a88ee743936a38307399f0f53ef2b87442c863a644896a827f7a0e1
 
===bootstrap.dat.zip===
 
===bootstrap.dat.zip===
  * MD5 : bee6cb3497abc96e40c4dbe28e8b1cbc
+
  * MD5 : 1436e1acbd89510f9335281beb8ee781
  * SHA1: fd2efa122310bd7e042b68e71b0ef4feb022d26f
+
  * SHA1: 7c1ad16ca7adbfcdd3b093b8529c2183b62027a8
  * SHA256: c922aa523587f80b34069e66906dca26128db6e1904223bf3831e9e7c51506e4
+
  * SHA256: 2ada3376c4fdab93b51b1c4e837e8a15a0eac1a0edc4a45f6123818c34c7722e
  
  

Latest revision as of 00:13, 6 February 2023

bootstrap.dat allows a new Sexcoin client (not synced) to rapidly import the initial blocks from a local file instead of slowly downloading blocks from random peers. This significantly reduces the time it takes to get a client synced with the current blockchain.

Simply having bootstrap.dat in Sexcoin's expected data directory will make your initial block sync much faster. The import process can be even faster if you use the -dbcache=1000 command line parameter which uses an additional 1GB of RAM for the database index cache. Sexcoin v0.10.4.0+ with SSE2 PoW validation can make import even faster if you have SSD drives.

Overview

Regardless of your operating system use the following steps to make use of the bootstrap.dat file:

  1. Download bootstrap.dat.zip or bootstrap.dat.gz from github.
  2. Verify the integrity of bootstrap.dat.zip/gz with the checksums.
  3. Decompress to obtain bootstrap.dat.
  4. Put it into the Sexcoin datadir. This is the same folder that contains wallet.dat and the blocks folder.
  5. Delete bootstrap.dat.old if you want to recover some storage space.

Download bootstrap.dat

You can download bootstrap.dat from the following location:

Sexcoin bootstrap file created 2020-12-08
Direct downloads 
Sexcoin-bootstrap Project

Verify integrity

bootstrap.dat.gz

* MD5 : bd982ea50050e45172a48a98691624ff
* SHA1: 2f1bf61c1424c6c9573c9194bc551bf315134a2b
* SHA256: 105d6d9b1a88ee743936a38307399f0f53ef2b87442c863a644896a827f7a0e1

bootstrap.dat.zip

* MD5 : 1436e1acbd89510f9335281beb8ee781
* SHA1: 7c1ad16ca7adbfcdd3b093b8529c2183b62027a8
* SHA256: 2ada3376c4fdab93b51b1c4e837e8a15a0eac1a0edc4a45f6123818c34c7722e


Extract bootstrap.dat

  • Linux: gunzip bootstrap.dat.gz
  • Mac: You can obtain zip from MacPorts or http://macpkg.sourceforge.net/.
  • Windows: [1](7Zip) is a free utility that can decompress.zip or .gz files.

Copy bootstrap.dat to data directory

Copy bootstrap.dat to your Data Directory. After Sexcoin has used bootstrap.dat, the file will be renamed to bootstrap.dat.old; at this point you can choose to delete it or keep it.

Linux
Sexcoin's data directory is located in ~/.sexcoin/ by default. You can run ls -a to see directories that start with a dot.
You can also search for the directory with the following command: find / -name wallet.dat -print 2>/dev/null
Mac
Sexcoin's data directory should be located in ~/Library/Application Support/Sexcoin/.
Windows
Go to Start>Run (or press WinKey+R) and run: explorer %APPDATA%\Sexcoin
sexcoin's data directory will open. "AppData" and "Application Data" are hidden by default in Windows.

Data directory location

Operating system Default data directory location Typical path to configuration file
Linux $HOME/.sexcoin/ /home/<username>/.sexcoin/sexcoin.conf
Mac $HOME/Library/Application Support/Sexcoin/ /Users/<username>/Library/Application Support/Sexcoin/sexcoin.conf
Windows %APPDATA%\Sexcoin\ XP -- C:\Documents and Settings\<username>\Application Data\Sexcoin\sexcoin.conf

Vista, 7 -- C:\Users\<username>\AppData\Roaming\Sexcoin\sexcoin.conf

Related articles