Skip to content

Library and application that builds bitcoin UTXO from genesis block

Notifications You must be signed in to change notification settings

hexresearch/bitcoin-utxo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitcoin-utxo

The small library that builds Bitcoin UTXO set from scratch by connecting to Bitcoin node over P2P protocol and parsing transaction from the genesis block.

Examples

Demo to calculate average days unspent:

cargo run --example days -- 89.245.85.72:8333

You can use any public bitcoin node.

Demo that calculates BIP158 filters, expect heavy load on system and I recommend using local node for speed:

cargo run --example filters -- 127.0.0.1:8333

How to install toolchain

Steps for new in rust ecosystem:

  1. Install rustup either by entering nix shell in the repo or by official way.
  2. rustup toolchain install nightly
  3. rustup default nightly

About

Library and application that builds bitcoin UTXO from genesis block

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •