Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hexresearch/bitcoin-utxo
Library and application that builds bitcoin UTXO from genesis block
https://github.com/hexresearch/bitcoin-utxo
Last synced: 3 days ago
JSON representation
Library and application that builds bitcoin UTXO from genesis block
- Host: GitHub
- URL: https://github.com/hexresearch/bitcoin-utxo
- Owner: hexresearch
- Created: 2021-03-04T16:53:46.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-18T07:16:00.000Z (almost 2 years ago)
- Last Synced: 2024-08-02T20:44:36.500Z (3 months ago)
- Language: Rust
- Size: 151 KB
- Stars: 3
- Watchers: 8
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://rustup.rs/) either by entering nix shell in the repo or by official way.
2) rustup toolchain install nightly
3) rustup default nightly