Import blockchain file
Use X-Cash Blockchain Import (xcash-blockchain-import) to import a raw file of the blockchain
Overview
The tool imports a bootstrap file blockchain.raw
to your full node to be used as thelmdb
blockchain.
This could be useful if you want to decouple download from verification for any reason (like testing performance in isolation), or if you have a limited speed connection. Updated version of the blockchain.raw
file can be found on X-Cash communities.
For best practices, you should use your own trusted blockchain.raw
file that you exported earlier.
Also note that importing blockchain.raw
will in most cases not speed up the process over syncing up from p2p network. This is because usual bottlenecks are disk IO and verification, not the download itself.
The tool works on your local files and does not require xcash
running.
Syntax
./xcash-blockchain-import [options]
Example:
./xcash-blockchain-import --help
Running
Go to directory where you unpacked X-Cash.
./xcash-blockchain-import --stagenet --input-file=/tmp/blockchain.raw
Options
Help
Pick network
Logging
Specifying the log file path is not supported
Input
Output
Performance
Last updated