Difference between revisions of "Bootstrap Downloader"
(→Usage) |
(→Usage) |
||
Line 7: | Line 7: | ||
== Usage == | == Usage == | ||
+ | The bootstrap-downloader can be started with the '''bootstrap-downloader.bat''' (windows) and '''bootstrap-downloader''' (linux/mac). | ||
+ | |||
+ | By default, the bootstrap-downloader will download the '''mainnet''' block files inside the '''nodecore/bin''' folder from the '''distributed package'''. | ||
+ | |||
+ | |||
+ | === Program Options === | ||
The following program options are available: | The following program options are available: | ||
Line 26: | Line 32: | ||
|} | |} | ||
+ | |||
+ | === Environment Variables === | ||
The following environment variables are available: | The following environment variables are available: | ||
Revision as of 08:16, 4 June 2020
See: NodeCore_0.4.8_ReleaseNotes
Contents
Overview
The bootstrap-downloader is a new tool which can be used to download all block files, or missing block files, and an updated nodecore.dat from the VeriBlock mirrors, so that you can sync a full node much quicker than from peers. When doing an incremental update, it checks all existing block files for corruption and will replace them along with downloading any missing (newer) files that you may not have.
Usage
The bootstrap-downloader can be started with the bootstrap-downloader.bat (windows) and bootstrap-downloader (linux/mac).
By default, the bootstrap-downloader will download the mainnet block files inside the nodecore/bin folder from the distributed package.
Program Options
The following program options are available:
Option | Description | Example |
-n | Specify the target network | -n testnet |
-d | Specify the target data directory | -d /nodecore_data |
Environment Variables
The following environment variables are available:
Name | Description | Example |
DOWNLOADER_LOG_LEVEL | Specify log level for the application | DOWNLOADER_LOG_LEVEL=DEBUG |
Please remember, the usage of the bootstrap-downloader is optional and is not necessary to run a NodeCore instance, also it is not intended to be the main way to maintain your NodeCore installation.
Note: The bootstrap-downloader will update the files which are on the target data directory (including the nodecore.dat file) so please, stop any NodeCore instance using the targeted data directory before its use.
TestNet
See: TestNet#Bootstrap
Expected console output
At the start, the downloader will check how many files are available on the trusted host, after that, the local files are checked (this operation may take several minutes if it's ran over an existing data folder, the speed will depend on your disk), as the last step, the tool will download all the necessary files individually.