Skip to content

BlockBitOfficial/BlockBit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

⛏️ BlockBit

Bitcoin Mining Node with Integrated Stratum V1/V2 Pool

Run your own Bitcoin mining pool from a single application

License: MIT Version Bitcoin Core Stratum V1 Stratum V2 Build

Features β€’ Screenshots β€’ Quick Start β€’ Documentation β€’ Contributing


🎯 What is BlockBit?

BlockBit is a powerful Bitcoin Core v30.2 fork with a built-in Stratum V1/V2 mining pool server. It combines full node functionality with solo mining capabilities, allowing you to run your own professional mining pool without additional software.

πŸš€ One Application. Complete Mining Solution.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  BlockBit = Bitcoin Full Node + Mining Pool Server     β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  βœ… Full Blockchain Validation                          β”‚
β”‚  βœ… Integrated Stratum V1/V2 Pool                       β”‚
β”‚  βœ… Professional Mining Dashboard                       β”‚
β”‚  βœ… 5,000+ Concurrent Workers                           β”‚
β”‚  βœ… Solo Mining with Personalized Coinbase             β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

✨ Features

⛏️ Mining Pool

  • Dual Protocol Support
    • Stratum V1 (JSON-RPC)
    • Stratum V2 (Binary + Noise Encryption)
  • Solo Mining Mode
    • Personalized coinbase per worker
    • Direct payouts to miner addresses
  • Variable Difficulty (Vardiff)
    • Automatic difficulty adjustment
    • Optimized share submission rates
  • 44+ Configuration Options
    • Fine-grained pool control
    • Network-aware defaults

πŸ–₯️ Professional GUI

  • Real-Time Dashboard
    • Live hashrate & statistics
    • Network difficulty tracking
    • Block discovery alerts
  • Worker Management
    • 13-column detailed table
    • Protocol badges (V1/V2)
    • Per-worker charts
  • Security Checklist
    • Visual security indicators
    • Best practice compliance
  • Time-Series Monitoring
    • 800-sample history (~26 min)

πŸ”’ Security & Privacy

  • Stratum V2 Encryption
    • Noise NX protocol
    • AEAD ChaCha20Poly1305
    • Forward secrecy
  • TLS Support
    • BIP324-style encryption for V1
    • Encrypted mining traffic
  • Tor Integration
    • Hidden service support
    • Anonymous mining
  • Privacy Features
    • Log redaction
    • IP anonymization
    • Per-IP connection limits

⚑ High Performance

  • Scalable Architecture
    • Epoll-based networking
    • Multi-threaded design
    • Lock-free statistics
  • High Concurrency
    • 5,000+ simultaneous workers
    • 100+ PH/s capable
  • Efficient Validation
    • Duplicate share detection
    • Fast share processing
  • Low Latency
    • <10ms job distribution
    • Optimized network stack

πŸ“Έ Screenshots

🎨 Click to view GUI screenshots

Splash Screen

BlockBit Splash Screen

Modern splash screen with animated hash visualization


Setup Wizard

Wizard Step 1

Step 1: Welcome

Wizard Step 2

Step 2: Configuration

Wizard Step 3

Step 3: Start Mining

Easy 3-step setup wizard guides you through pool configuration


Main Dashboard

Main Dashboard

Mining Control Center

Pool Charts

Real-Time Performance Graphs

Service indicators β€’ Live statistics β€’ Performance monitoring β€’ Activity logs


Worker & Network Monitoring

Worker Stats

Detailed Worker Management

Network Stats

Bitcoin Network Statistics

13-column worker table β€’ Protocol badges β€’ Per-worker charts β€’ Network monitoring


Advanced Configuration

Server Settings

Server Settings

Difficulty Settings

Difficulty Settings

Connection Settings

Connection Settings

Comprehensive configuration β€’ 44+ options β€’ GUI-based pool management


πŸš€ Quick Start

Option 1: GUI (Recommended for Beginners)

# Clone the repository
git clone https://github.com/BlockBitOfficial/BlockBit.git
cd BlockBit

# Install dependencies (Ubuntu/Debian)
sudo apt install build-essential cmake libboost-all-dev libssl-dev \
    libevent-dev libsqlite3-dev qt6-base-dev

# Build BlockBit
cmake -B build -DBUILD_GUI=ON
cmake --build build -j$(nproc)

# Launch GUI
./build/src/qt/blockbit-qt

β†’ Navigate to the Mining tab and click "Start Pool"


Option 2: Command Line (Advanced Users)

# Build daemon
cmake -B build -DBUILD_DAEMON=ON
cmake --build build -j$(nproc)

# Start pool with Stratum V1
./build/src/blockbitd -stratum -stratumbind=0.0.0.0:3333

# Or with both V1 and V2
./build/src/blockbitd -stratum -stratumbind=0.0.0.0:3333 \
                       -stratumv2 -stratumv2bind=0.0.0.0:3336

# Check pool status
./build/src/blockbit-cli getpoolinfo

Connect Your Miners

Stratum V1:

URL: stratum+tcp://your-server-ip:3333
Username: your-bitcoin-address
Password: workername

Stratum V2:

URL: stratum2+tcp://your-server-ip:3336

Example with cgminer:

cgminer --url stratum+tcp://192.168.1.100:3333 \
        --user bc1qyourbitcoinaddresshere \
        --pass worker1

πŸ“š Documentation

πŸ“– Comprehensive Guides

Complete configuration reference

β€’ 44+ Options
β€’ Security Guide
β€’ Performance Tuning
β€’ Troubleshooting

Interface usage guide

β€’ Dashboard Tour
β€’ Worker Management
β€’ Settings Reference
β€’ Monitoring Tips

V2 technical reference

β€’ Noise Protocol
β€’ Key Management
β€’ Message Types
β€’ Security Model

Additional Documentation:


πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                     BlockBit Architecture                   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                                                             β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚         Bitcoin Core v30.2 Foundation             β”‚   β”‚
β”‚  β”‚  β€’ Blockchain Validation  β€’ Wallet                β”‚   β”‚
β”‚  β”‚  β€’ P2P Network            β€’ RPC Interface         β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚                          β–²                                  β”‚
β”‚                          β”‚                                  β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚          Integrated Mining Pool Layer             β”‚   β”‚
β”‚  β”‚                                                     β”‚   β”‚
β”‚  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”‚   β”‚
β”‚  β”‚  β”‚  Stratum V1     β”‚    β”‚  Stratum V2      β”‚      β”‚   β”‚
β”‚  β”‚  β”‚  Port 3333      β”‚    β”‚  Port 3336       β”‚      β”‚   β”‚
β”‚  β”‚  β”‚  JSON-RPC       β”‚    β”‚  Binary+Noise    β”‚      β”‚   β”‚
β”‚  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β”‚   β”‚
β”‚  β”‚                                                     β”‚   β”‚
β”‚  β”‚  β€’ Variable Difficulty   β€’ Share Validation        β”‚   β”‚
β”‚  β”‚  β€’ Worker Management     β€’ Block Submission        β”‚   β”‚
β”‚  β”‚  β€’ Statistics Tracking   β€’ Security Features       β”‚   β”‚
β”‚  β”‚                                                     β”‚   β”‚
β”‚  β”‚  (~6,000 lines of C++ code)                        β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚                          β–²                                  β”‚
β”‚                          β”‚                                  β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚            Qt6 Mining GUI Layer                   β”‚   β”‚
β”‚  β”‚                                                     β”‚   β”‚
β”‚  β”‚  β€’ Real-Time Dashboard    β€’ Worker Management      β”‚   β”‚
β”‚  β”‚  β€’ Performance Graphs     β€’ Security Checklist     β”‚   β”‚
β”‚  β”‚  β€’ Settings Editor        β€’ Activity Logs          β”‚   β”‚
β”‚  β”‚                                                     β”‚   β”‚
β”‚  β”‚  (~3,800 lines of C++ code)                        β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚                                                             β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Code Statistics:

  • Total: ~410,000 lines (including Bitcoin Core base)
  • Mining Pool: ~6,000 lines (src/stratum/)
  • Mining GUI: ~3,800 lines (src/qt/mining*.cpp)
  • Documentation: ~2,000 lines (4 comprehensive guides)

πŸ”§ Configuration Examples

Solo Mining Pool (Default)
blockbitd -stratum \
  -stratumbind=0.0.0.0:3333 \
  -stratumsig="/BlockBit/" \
  -stratumstartdiff=65536

Each worker mines to their own Bitcoin address specified in the username field.

Pool with Fee
blockbitd -stratum \
  -stratumbind=0.0.0.0:3333 \
  -stratumfee=2.0 \
  -stratumfeeaddress=bc1qyour_fee_address_here

Coinbase splits: 98% to miner, 2% to fee address.

Maximum Security Configuration
blockbitd -stratum \
  -stratumbind=0.0.0.0:3333 \
  -stratumv2 \
  -stratumv2bind=0.0.0.0:3336 \
  -stratumtls \
  -stratumtlsbind=0.0.0.0:3334 \
  -stratumredactlogs \
  -stratumtor \
  -stratumtorbind=127.0.0.1:3335 \
  -stratummaxconnectionsperip=5 \
  -stratumauthtimeout=30

Enables all security features: V2, TLS, Tor, log redaction, connection limits.

High-Performance Pool (>10 TH/s)
blockbitd -stratum \
  -stratumbind=0.0.0.0:3333 \
  -stratumstartdiff=131072 \
  -stratumtargetshares=4 \
  -stratumretargetinterval=5 \
  -stratuminterval=15 \
  -stratummaxrecvbuffer=131072 \
  -stratummaxworkers=1000

Optimized for large pools with high hashrate.


πŸ“Š Key Configuration Options

Option Description Default
-stratum Enable Stratum pool server Disabled
-stratumbind Bind address for Stratum V1 0.0.0.0:3333
-stratumstartdiff Starting difficulty 65536 (mainnet)
-stratumv2 Enable Stratum V2 server Disabled
-stratumv2bind Bind address for Stratum V2 0.0.0.0:3336
-stratumfee Pool fee percentage 0.0%
-stratummaxworkers Maximum workers (0=unlimited) 0
-stratumredactlogs Anonymize IPs in logs Disabled

See all 44+ options β†’


πŸ›‘οΈ Security Best Practices

βœ… Recommended

  • Enable Stratum V2 for encryption
  • Use TLS if V2 not supported
  • Enable log redaction
  • Set per-IP connection limits
  • Configure authentication timeout
  • Use firewall rules
  • Run Tor for anonymity
  • Regular backups

❌ Avoid

  • Exposing RPC publicly
  • Using default ports without firewall
  • Skipping security updates
  • Ignoring worker anomalies
  • Disabling connection limits
  • Running as root
  • Weak RPC passwords
  • Missing pool key backups

Read full security guide β†’


πŸ“ˆ Performance Stats

Metric Capability
Concurrent Workers 5,000+
Pool Hashrate 100+ PH/s
Job Distribution <10ms latency
Share Validation 50,000+ shares/sec
Bandwidth (V2) 70% less than V1
CPU Usage Minimal (efficient design)

🀝 Contributing

We welcome contributions! BlockBit is open source and community-driven.

Ways to Contribute

πŸ› Report Bugs β€’ πŸ’‘ Suggest Features β€’ πŸ“ Improve Docs β€’ πŸ’» Submit Code β€’ πŸ§ͺ Test Features

Read Contributing Guide β†’


πŸ“œ License

BlockBit is released under the MIT License. See COPYING for details.

Based on Bitcoin Core v30.2

Original Bitcoin Core copyright Β© 2009-2024 The Bitcoin Core developers


🌟 Community & Support

GitHub Release License

Get Help

πŸ“– Documentation β€’ πŸ’¬ Discussions β€’ πŸ› Issue Tracker

Stay Updated

⭐ Star this repo to stay updated with new releases!


πŸš€ Ready to Start Mining?

Download the latest release and launch your own Bitcoin mining pool today!

Download Latest View Documentation Join Discussions


⛏️ BlockBit - Mine Bitcoin Your Way

Professional mining pool software for everyone

Built with ❀️ by the BlockBit Team

GitHub β€’ Documentation β€’ Releases