Skip to content

PoC-Consortium/bitcoin-pocx

Repository files navigation

Bitcoin-PoCX

Bitcoin Core with Proof of Capacity neXt generation (PoCX) consensus integration.

Status: Testnet Phase Organization: Proof of Capacity Consortium License: MIT


Documentation

📘 Complete Technical Documentation - 8-chapter browseable guide covering all aspects of the system

📄 Whitepaper - Academic overview, design rationale, and architecture

Quick Links:


Quick Start

Clone with Submodules

git clone --recursive https://github.com/PoC-Consortium/bitcoin-pocx.git
cd bitcoin-pocx/bitcoin

Build with PoCX

cmake -B build -DENABLE_POCX=ON
cmake --build build -j$(nproc)

Run Node

# Node only
./build/bin/bitcoind

# With mining server enabled
./build/bin/bitcoind -miningserver

# Qt wallet
./build/bin/bitcoin-qt -server -miningserver

Build Requirements: Standard Bitcoin Core dependencies (see Bitcoin Core docs)


Repository Structure

bitcoin-pocx/                           # Main integration repository
├── bitcoin/                            # Bitcoin Core v30.0 + PoCX (submodule)
│   └── src/pocx/                      # PoCX implementation
├── pocx/                               # PoCX core framework (submodule, read-only)
├── docs/                               # Complete technical documentation
│   ├── index.md                       # Documentation hub
│   ├── whitepaper.md                  # Academic whitepaper
│   └── [1-8]-*.md                     # 8-chapter guide
└── README.md                           # This file

Submodule Repositories


What is Bitcoin-PoCX?

Bitcoin-PoCX integrates Proof of Capacity consensus into Bitcoin Core as a complete replacement for Proof of Work. Mining power derives from pre-generated plot files stored on disk rather than computational hashing, reducing energy consumption by several orders of magnitude.

Key Features:

  • Energy-efficient Proof of Capacity consensus
  • 120-second block time (2 minutes)
  • 10 BTC initial subsidy, halving every 1,050,000 blocks (~4 years)
  • ~21 million BTC total supply
  • Native C++ implementation in /src/pocx/
  • Feature-flagged integration (#ifdef ENABLE_POCX)
  • Time Bending algorithm for reduced block time variance
  • Forging assignment system (OP_RETURN-based delegation)
  • Dynamic compression scaling

Network Status:

  • Mainnet: Not yet launched
  • Testnet: Available for testing
  • Regtest: Fully functional for development

Mining

Bitcoin-PoCX uses external mining tools that connect via RPC:

  1. Generate plot files using pocx_plotter (reference implementation)
  2. Run Bitcoin-PoCX node with -miningserver flag
  3. Connect miner using pocx_miner (reference implementation)

See Chapter 3: Consensus and Mining and Chapter 7: RPC Reference for complete details.


Development

Build Commands

# Clone with submodules
git clone --recursive https://github.com/PoC-Consortium/bitcoin-pocx.git

# Build Bitcoin Core with PoCX
cd bitcoin-pocx/bitcoin
cmake -B build -DENABLE_POCX=ON
cmake --build build -j$(nproc)

# Run tests
./build/src/test/test_bitcoin

Windows Cross-Compilation

Build Windows installer from Linux:

# Install dependencies (Ubuntu/Debian)
sudo apt install g++-mingw-w64-x86-64-posix nsis

# Build depends
cd bitcoin-pocx/bitcoin/depends
make HOST=x86_64-w64-mingw32 -j$(nproc)

# Configure and build
cd ..
cmake -B build-win --toolchain depends/x86_64-w64-mingw32/toolchain.cmake
cmake --build build-win -j$(nproc)

# Create installer
cmake --build build-win --target deploy -j$(nproc)
# Output: build-win/bitcoin-pocx-win64-setup.exe

Developer Resources


Project Information

Bitcoin Core Base: v30.0 PoCX Framework: github.com/PoC-Consortium/pocx Integration Repository: github.com/PoC-Consortium/bitcoin-pocx

Attribution:

  • Plot format based on POC2 (Burstcoin) with security enhancements
  • Miner based on scavenger
  • Plotter based on engraver

Full attribution in Chapter 2: Plot Format.


License

Bitcoin-PoCX inherits Bitcoin Core's MIT license. See COPYING for details.


Support


Get Started: 📘 Read the Documentation →

About

Bitcoin Core with PoCX integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages