Difference between revisions of "NodeCore Bootstrap File"

From Veriblock Wiki
Jump to: navigation, search
Line 10: Line 10:
 
The latest bootstrap is available from:  
 
The latest bootstrap is available from:  
  
https://testnet.explore.veriblock.org/api/stats/download
+
https://explore.veriblock.org/api/stats/download
  
 
This includes checksums for the zip/tar files, as well as the unzipped nodecore.dat file itself:
 
This includes checksums for the zip/tar files, as well as the unzipped nodecore.dat file itself:

Revision as of 22:26, 9 April 2019

See: NodeCore_QuickStart, HowTo_run_NodeCore

Overview

Syncing NodeCore from scratch could take a long time. While this is always an option, sometimes people may want a faster way.

There is a bootstrap file, which provides this nodecore.dat file.

The latest bootstrap is available from:

https://explore.veriblock.org/api/stats/download

This includes checksums for the zip/tar files, as well as the unzipped nodecore.dat file itself:

{
  ...
  "bootstrapfile_zip":  "http://mirror1.veriblock.org/nodecore-bootstrap-270000.zip",
  "bootstrapfile_tar":  "http://mirror1.veriblock.org/nodecore-bootstrap-270000.tar.gz",
  "bootstrapfile_zip_checksum":  "26f217aa7dc91e14e61dbf9ba085b515",
  "bootstrapfile_tar_checksum":  "d7283707364f923161ce1ccbf2aaab88",
  "bootstrapfile_nodecoredat_checksum":  "2bc879b95bc2be3f893f47f61686fa18",
  ...
}

How to use the bootstrap file

  1. Download it
  2. Unzip it (this provides a "nodecore.dat" file, which will be several GB)
  3. Place it in the "nodecore\bin\testnet" folder.
    1. If the "testnet" folder does not exist, then create it.
    2. If the "testnet" folder does exist, then ensure it is empty except for the wallet files. For example existing "nodecore.dat-shm" or "nodecore.dat-wal" could cause a conflict.

End result will be the file "nodecore\bin\testnet\nodecore.dat"

Checksum

The API also provides the corresponding checksum via md5sum. Run md5sum against the downloaded file (or the unzipped nodecore.dat file), and it should match the checksum in the API.

md5sum nodecore-bootstrap-XXXXX.tar.gz
40bff676ed8a07cf7a260a7af69abe7f  nodecore-bootstrap-XXXXX.tar.gz