Efficiently read and extract data from Bitcoin Core blk files.
To build examples, run:
cargo build --examples --release
To run examples, use the following commands:
./target/release/examples/<example-name> /path/to/blk/dir <args>
or
cargo run --example <example-name> /path/to/blk/dir <args>
Usage: list-blocks <blk-dir> [--max-blocks <max-blocks>] [--max-files <max-block-files>]
list-blocks /path/to/blk/dir --max-blocks 10
list-non-standard-txs /path/to/blk/dir --max-blocks 100000