All Projects

Blockbrew

Bitcoin full node in Go

Go

About

A comprehensive Bitcoin full node in Go with P2P networking, consensus engine, script interpreter, wallet, RPC, mempool, and mining support.

Completion 93%

Tech stack

Language
Go
Storage
PebbleDB
Crypto
libsecp256k1 (C FFI)
Lines of code
80,985

Quick start

terminal
$ git clone https://github.com/hashhog/blockbrew.git
$ cd blockbrew
$ go build ./cmd/blockbrew
$ ./blockbrew -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