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 100%

Mainnet sync

Initial Block Download
51.6%
Block height
488,000
Sync rate
~7,700 blk/hr
ETA to tip
~59 hours
Test vectors
1222/1222

Tech stack

Language
Go
Storage
PebbleDB
Crypto
libsecp256k1 (C FFI)
Lines of code
84,530

Quick start

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