Skip to content

MicroBitcoinOrg/SnapshotToolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MicroBitcoin UTXO snapshot tool

Usage

To propery configure snapshot tool you have to set correct path to your MicroBitcoin blockchain directory in BLOCKCHAIN_DIR variable in config file. After that you shoul execute following commands:

Parse list of unspent UTXOs which will be saved to snapshot/unspent.json file.

python3 unspent.py

Parse UTXO set starting from SNAPSHOT_START to SNAPSHOT_END blocks and will be saved to snapshot/raw.json file.

python3 parser.py

Minify repeating UTXO set for each address into 1 record and save it to snapshot/utxo.json file.

python3 minify.py

Libraries

This toolkit is based on following libraries:

Also it requires following hashing libraries to operate:

About

Toolkit for making snapshot of MicroBitcoin UTXO set

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages