All Projects

Rustoshi

Bitcoin full node from scratch in Rust

Rust

About

A pure Rust Bitcoin full node implementation built from the ground up, focusing on safety and performance with zero unsafe code.

Completion 100%

Mainnet sync

At Chain Tip
100%
Block height
945,075
Sync rate
At tip
Test vectors
1222/1222

Tech stack

Language
Rust
Storage
RocksDB
Crypto
libsecp256k1 (C FFI)
Lines of code
82,952

Quick start

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

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
Mainnet sync
BIP324 v2 transport