Export blockchain file

Use X-Cash Blockchain Export (xcash-blockchain-export) to create a raw file of the blockchain

Overview

This tool creates an export of the local blockchain version to a raw format.

This could be useful if you want to process blockchain efficiently with your custom tools, as the raw format is probably easier to work with than X-Cash's custom lmdb database. This can also be used to share the blockchain to others allowing them to download it quicker.

The tool works on your local copy of the blockchain and does not require xcashd running.

Syntax

./xcash-blockchain-export [options]

Example:

./xcash-blockchain-export --help

Running

Go to directory where you unpacked X-Cash.

./xcash-blockchain-export --stagenet --output-file=/tmp/blockchain.raw

Options

Help

Pick network

Logging

Specifying the log file path is not supported.

Input

Output

Last updated