utxo-scanner

Crates.ioutxo-scanner
lib.rsutxo-scanner
version0.4.0
sourcesrc
created_at2023-02-18 23:53:11.928253
updated_at2023-03-26 16:50:50.640014
descriptionScans the chainstate LevelDB database of, Bitcoin Core and extracts all UTXOs into either a RocksDB database, CSV file, or both.
homepage
repositoryhttps://github.com/mdizak/rust-utxo-scanner
max_upload_size
id788554
size21,346
(mdizak)

documentation

README

UTXO Scanner

Scans the chainstate LevelDB from Bitcoin Core, extracts all UTXOs, and places them in RocksDB, a CSV file or both.

Usage

use utxo_scanner

//Scan for all UTXOs
let stats = utxo_scanner::scan("/path/to/.bitcoin", true, Some("/path/to/desired.csv"));

println!("Total Txs: {}", stats.count);
println!("Total Amount: {}", stats.amount);
println!("Total Secs: {}", stats.total_secs);

// Remove RocksDB and start fresh
utxo_scanner::reset_rocksdb


https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata
Commit count: 6

cargo fmt