Difference between revisions of "Bootstrap.dat"

From Sexcoin Wiki
Jump to: navigation, search
(Download bootstrap.dat)
(Updated checksums to the latest bootstrap file)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{lowercase}}'''bootstrap.dat''' allows a new Sexcoin client (not synced) to rapidly import the initial [[block]]s 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.
+
'''bootstrap.dat''' allows a new Sexcoin client (not synced) to rapidly import the initial [[block]]s 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 [[litecoin.conf|-dbcache=1000]] command line parameter which uses an additional 1GB of RAM for the database index cache. Sexcoin v0.8.5.2+ with SSE2 PoW validation can make import even faster if you have SSD drives.
+
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 [[sexcoin.conf|-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 ==
 
== Overview ==
 
Regardless of your operating system use the following steps to make use of the bootstrap.dat file:
 
Regardless of your operating system use the following steps to make use of the bootstrap.dat file:
  
# Download bootstrap.dat.xz from mirrors or torrent.
+
# Download bootstrap.dat.zip or bootstrap.dat.gz from github.
# Verify the integrity of bootstrap.dat.xz with the checksums.
+
# Verify the integrity of bootstrap.dat.zip/gz with the checksums.
 
# Decompress to obtain bootstrap.dat.
 
# Decompress to obtain bootstrap.dat.
 
# Put it into the Sexcoin datadir.  This is the same folder that contains wallet.dat and the blocks folder.
 
# Put it into the Sexcoin datadir.  This is the same folder that contains wallet.dat and the blocks folder.
Line 14: Line 14:
 
== Download bootstrap.dat ==
 
== Download bootstrap.dat ==
 
You can download bootstrap.dat from the following location:
 
You can download bootstrap.dat from the following location:
: ''Sexcoin bootstrap file created 2017.07.01''
+
: ''Sexcoin bootstrap file created 2020-12-08''
  
 
; Direct downloads : [https://github.com/sexcoin-project/sexcoin-bootstrap/releases Sexcoin-bootstrap Project]
 
; Direct downloads : [https://github.com/sexcoin-project/sexcoin-bootstrap/releases Sexcoin-bootstrap Project]
  
== Verify integrity - For Torrent ==  
+
== Verify integrity ==
For the torrented copy of bootstrap.dat.xz:
+
===bootstrap.dat.gz===
; CRC-32 : 03ba4288
+
* MD5 : bd982ea50050e45172a48a98691624ff
; MD4 : cfe24a00d9d5de0e343fc3d727de6cf1
+
* SHA1: 2f1bf61c1424c6c9573c9194bc551bf315134a2b
; MD5 : c81dc36666f6179fac197e3d4dc0852f
+
* SHA256: 105d6d9b1a88ee743936a38307399f0f53ef2b87442c863a644896a827f7a0e1
; SHA-1 : ee390fd544c8378a82684b5963c20b30f308ebaf
+
===bootstrap.dat.zip===
 +
* MD5 : 1436e1acbd89510f9335281beb8ee781
 +
* SHA1: 7c1ad16ca7adbfcdd3b093b8529c2183b62027a8
 +
* SHA256: 2ada3376c4fdab93b51b1c4e837e8a15a0eac1a0edc4a45f6123818c34c7722e
  
== Verify integrity - For Direct Download ==
 
For the SexcoinNode direct link for bootstrap.dat.xz:
 
; MD5 : 3b983b4943dfec16ec5e4d0ec28f8dec
 
; SHA1: dc59d08b64893c18f5b0528d1f0d3abf75253fcc
 
; SHA256: c4d0f9b166fb3a7d6a0e924a84e1a0da98b9dbab6667e7cd862fb84b94d8a7f0
 
  
 
== Extract bootstrap.dat ==
 
== Extract bootstrap.dat ==
; Linux: <code>xz -d bootstrap.dat.xz</code>
+
* Linux: <code>gunzip bootstrap.dat.gz</code>
; Mac: You can obtain xz from MacPorts or http://macpkg.sourceforge.net/.
+
* Mac: You can obtain zip from MacPorts or http://macpkg.sourceforge.net/.
; Windows: [http://www.7-zip.org/ 7Zip] is a free utility that can decompress .xz files. The latest version of [http://www.rarlabs.com/download.htm WinRAR] also supports .xz files.
+
* Windows: [http://www.7-zip.org/](7Zip) is a free utility that can decompress.zip or .gz files.
  
 
== Copy bootstrap.dat to data directory ==
 
== 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.
+
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 <code>~/.litecoin/</code> by default. You can run <code>ls -a</code> to see directories that start with a dot.
+
; Linux: Sexcoin's data directory is located in <code>~/.sexcoin/</code> by default. You can run <code>ls -a</code> to see directories that start with a dot.
 
: You can also search for the directory with the following command: <code>find / -name wallet.dat -print 2>/dev/null</code>
 
: You can also search for the directory with the following command: <code>find / -name wallet.dat -print 2>/dev/null</code>
  
Line 45: Line 43:
  
 
; Windows: Go to <code>Start>Run</code> (or press <code>WinKey+R</code>) and run: <code>explorer %APPDATA%\Sexcoin</code>
 
; Windows: Go to <code>Start>Run</code> (or press <code>WinKey+R</code>) and run: <code>explorer %APPDATA%\Sexcoin</code>
: sexcoin's [[#Data directory chart|data directory]] will open. "AppData" and "Application Data" are hidden by default in Windows.
+
: sexcoin's [[#Data Directory chart|data directory]] will open. "AppData" and "Application Data" are hidden by default in Windows.
  
 
=== Data directory location ===
 
=== Data directory location ===
{{:Data directory}}
+
{{:Data Directory}}
  
 
== Related articles ==
 
== Related articles ==
* [[Data directory]]
+
* [[Data Directory]]
 
* [[Sexcoin]]
 
* [[Sexcoin]]
 
* [[sexcoin.conf]]
 
* [[sexcoin.conf]]

Latest revision as of 23:13, 5 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