Difference between revisions of "Bootstrap.dat"
Lavajumper (talk | contribs) (→Download bootstrap.dat) |
Lavajumper (talk | contribs) (Updated checksums to the latest bootstrap file) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | '''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 [[ | + | 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. | + | # Download bootstrap.dat.zip or bootstrap.dat.gz from github. |
− | # Verify the integrity of bootstrap.dat. | + | # 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 | + | : ''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 | + | == Verify integrity == |
− | + | ===bootstrap.dat.gz=== | |
− | + | * MD5 : bd982ea50050e45172a48a98691624ff | |
− | + | * SHA1: 2f1bf61c1424c6c9573c9194bc551bf315134a2b | |
− | + | * SHA256: 105d6d9b1a88ee743936a38307399f0f53ef2b87442c863a644896a827f7a0e1 | |
− | + | ===bootstrap.dat.zip=== | |
+ | * MD5 : 1436e1acbd89510f9335281beb8ee781 | ||
+ | * SHA1: 7c1ad16ca7adbfcdd3b093b8529c2183b62027a8 | ||
+ | * SHA256: 2ada3376c4fdab93b51b1c4e837e8a15a0eac1a0edc4a45f6123818c34c7722e | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== Extract bootstrap.dat == | == Extract bootstrap.dat == | ||
− | + | * Linux: <code>gunzip bootstrap.dat.gz</code> | |
− | + | * 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.zip or .gz files. | |
== Copy bootstrap.dat to data directory == | == Copy bootstrap.dat to data directory == | ||
− | Copy '''bootstrap.dat''' to your [[ | + | 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>~/. | + | ; 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 | + | : 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 | + | {{:Data Directory}} |
== Related articles == | == Related articles == | ||
− | * [[Data | + | * [[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.
Contents
Overview
Regardless of your operating system use the following steps to make use of the bootstrap.dat file:
- Download bootstrap.dat.zip or bootstrap.dat.gz from github.
- Verify the integrity of bootstrap.dat.zip/gz with the checksums.
- Decompress to obtain bootstrap.dat.
- Put it into the Sexcoin datadir. This is the same folder that contains wallet.dat and the blocks folder.
- 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 runls -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 pressWinKey+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 |