monero-blockchain-export - Reference¶
Nowadays, there is little usage for raw blockchain export / import. In the past the p2p blockchain download was much slower. Back than blockchain.raw file was used to speed up the process of bootstrapping a node.
The tool dumps local blockchain to raw format, known as the
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 Monero's custom lmdb database.
The tool works on your local copy of the blockchain. It does not require
Go to directory where you unpacked Monero.
./monero-blockchain-export --stagenet --output-file=/tmp/blockchain.raw
| ||Enlist available options.|
|(missing)||By default |
| ||Export stagenet blockchain.|
| ||Export testnet blockchain.|
Specifying the log file path is not supported.
| || |
| ||Full path to data directory. This is where the blockchain, log files, and p2p network memory are stored. For defaults and details see data directory.|
| ||The default and only valid value is |
| ||Specify output file path. The default is |
| ||Output in blocks.dat format.|
| ||Only export up to this block number. By default do the full export (value |