Difference between revisions of "Bootstrap.dat"

From Sexcoin Wiki
Jump to: navigation, search
(Download bootstrap.dat)
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.
 
{{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.
  
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 18: Line 18:
 
; 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 : e4c2c3c5e41ca968932b06f9c7967a66
; MD4 : cfe24a00d9d5de0e343fc3d727de6cf1
+
* SHA1: 306e16e6a5d6f3a5bd7384f25dec0d1da12f1583
; MD5 : c81dc36666f6179fac197e3d4dc0852f
+
* SHA256: ea680573dea3ccc195877e825885c892ed76e3561a75de5d5c6fbefd4d814ec1
; SHA-1 : ee390fd544c8378a82684b5963c20b30f308ebaf
+
===bootstrap.dat.zip===
 +
* MD5 : bee6cb3497abc96e40c4dbe28e8b1cbc
 +
* SHA1: fd2efa122310bd7e042b68e71b0ef4feb022d26f
 +
* SHA256: c922aa523587f80b34069e66906dca26128db6e1904223bf3831e9e7c51506e4
  
== 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]]

Revision as of 19:58, 10 July 2017

Template:Lowercasebootstrap.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 2017.07.01
Direct downloads 
Sexcoin-bootstrap Project

Verify integrity

bootstrap.dat.gz

* MD5 : e4c2c3c5e41ca968932b06f9c7967a66
* SHA1: 306e16e6a5d6f3a5bd7384f25dec0d1da12f1583
* SHA256: ea680573dea3ccc195877e825885c892ed76e3561a75de5d5c6fbefd4d814ec1

bootstrap.dat.zip

* MD5 : bee6cb3497abc96e40c4dbe28e8b1cbc
* SHA1: fd2efa122310bd7e042b68e71b0ef4feb022d26f
* SHA256: c922aa523587f80b34069e66906dca26128db6e1904223bf3831e9e7c51506e4


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