All Projects

Ouroboros

Hybrid Bitcoin full node in Rust + Python

Rust Python

About

A high-performance Bitcoin full node combining Rust for the hot path and Python for scripting and extensibility. Features block sync, validation, and a full script interpreter.

Completion 100%

Tech stack

Language
Rust + Python
Storage
RocksDB (via Rust FFI)
Crypto
libsecp256k1 (C FFI)
Lines of code
43,743

Quick start

terminal
$ git clone https://github.com/hashhog/ouroboros.git
$ cd ouroboros
$ cargo build --release
$ ./target/release/ouroboros --network=testnet4

Features

✓ Wire serialization
✓ Cryptographic primitives
✓ Script interpreter
✓ P2P networking
✓ Block validation
✓ UTXO set management
✓ Header sync
✓ Block sync (IBD)
✓ Mempool
✓ RPC server
✓ Wallet
✓ Mining/block templates
✓ Script test vectors (1222/1222)
✓ Testnet4 sync