Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
e904123
Initial plan
Copilot Dec 1, 2025
08236b5
Address PR review comments with code improvements and fixes
Copilot Dec 1, 2025
381d473
Address code review feedback: add BalanceOverflow error and use debug…
Copilot Dec 1, 2025
2985e8f
Merge pull request #22 from Steake/copilot/sub-pr-21
Steake Dec 2, 2025
5267eaf
Initial plan
Copilot Dec 2, 2025
62eb023
Resolve merge conflicts: RC1 base with economic system features prese…
Copilot Dec 2, 2025
2a62c18
Address PR review comments: fix logging, unsafe code, dead code, and …
Copilot Dec 2, 2025
ea5d308
Address PR review comments: fix logging, error handling, VRF chaining…
Copilot Dec 3, 2025
089e011
Fix code review issues: improve error handling and lock poisoning rec…
Copilot Dec 3, 2025
ce64f51
Add comprehensive NOT_IMPLEMENTED analysis and implementation specifi…
Copilot Dec 3, 2025
ee5ab1e
Implement Phase 1 & 2: Transaction sending, system metrics, node ID e…
Copilot Dec 3, 2025
34d88d1
Complete Phase 3: Block metrics, pending block support, transaction c…
Copilot Dec 3, 2025
767b726
Address code review feedback: constants, error handling, lock poisoning
Copilot Dec 3, 2025
c17a059
Complete Phase 4: Merkle verification, network deprecation, productio…
Copilot Dec 3, 2025
f03ff40
Update GitHub Actions workflows to use ubuntu-latest-xl for larger di…
Copilot Dec 3, 2025
0b28716
Address code review: security improvements, VRF race fix, DoS protect…
Copilot Dec 3, 2025
4d748f8
Add gas price/limit upper bounds validation for DoS protection
Copilot Dec 3, 2025
aa3e67b
Update RC-1 release notes with security improvements and feature flag…
Copilot Dec 3, 2025
724ff98
Update IMPLEMENTATION_SPEC.md to reflect RC1 complete status
Copilot Dec 3, 2025
b7d7225
Merge pull request #24 from Steake/copilot/sub-pr-21-again
Steake Dec 3, 2025
a52b28b
Initial plan
Copilot Dec 4, 2025
c878d17
Resolve merge conflicts in favor of production-hardened code, tidy pr…
Copilot Dec 4, 2025
04a03c2
Merge pull request #25 from Steake/copilot/sub-pr-21-another-one
Steake Dec 4, 2025
4b54d23
Initial plan
Copilot Dec 4, 2025
df9e212
Merge rc1 into feature branch: resolve conflicts in favor of producti…
Copilot Dec 4, 2025
fbe4197
Merge pull request #26 from Steake/copilot/sub-pr-21-yet-again
Steake Dec 4, 2025
e4e5952
Merge rc1 into feature/economic-system-and-rewards
claude Dec 4, 2025
a68defe
Merge resolved conflicts from feature/economic-system-and-rewards
claude Dec 4, 2025
e8fb1bf
Merge pull request #28 from Steake/claude/resolve-merge-conflicts-01S…
Steake Dec 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
benchmark:
name: Run Benchmarks
runs-on: ubuntu-latest
runs-on: ubuntu-latest-xl
steps:
- uses: actions/checkout@v4

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest-xl, macos-latest, windows-latest]
rust: [stable]
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:

fmt:
name: Rustfmt
runs-on: ubuntu-latest
runs-on: ubuntu-latest-xl
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -63,7 +63,7 @@ jobs:

clippy:
name: Clippy
runs-on: ubuntu-latest
runs-on: ubuntu-latest-xl
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -73,7 +73,7 @@ jobs:

build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-latest-xl
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -86,7 +86,7 @@ jobs:

security:
name: Security Audit
runs-on: ubuntu-latest
runs-on: ubuntu-latest-xl
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -99,7 +99,7 @@ jobs:

coverage:
name: Code Coverage
runs-on: ubuntu-latest
runs-on: ubuntu-latest-xl
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
- os: ubuntu-latest-xl
target: x86_64-unknown-linux-gnu
artifact_name: bitcell-linux-x86_64
- os: macos-latest
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
release:
name: Upload Release Assets
needs: build
runs-on: ubuntu-latest
runs-on: ubuntu-latest-xl
if: github.event_name == 'release'
permissions:
contents: write
Expand Down
68 changes: 41 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[![Rust](https://img.shields.io/badge/rust-1.82%2B-orange.svg)](https://www.rust-lang.org/)
[![License](https://img.shields.io/badge/license-MIT%2FApache--2.0-blue.svg)](LICENSE)
[![Status](https://img.shields.io/badge/status-alpha-yellow.svg)](https://github.com/Steake/BitCell)
[![Status](https://img.shields.io/badge/status-RC1-green.svg)](https://github.com/Steake/BitCell)

> _"We don't mine blocks. We cultivate them in a Conway garden where only the fittest gliders survive."_

Expand Down Expand Up @@ -174,9 +174,14 @@ Three independent circuits:
**v0.1**: Individual Groth16 proofs
**Future**: Recursive aggregation via Plonk/STARK

## Economics (Deterministic Payouts)
## Economics (Bitcoin-Style Halving)

```
Initial block reward: 50 CELL
Halving interval: 210,000 blocks (~4 years)
Maximum halvings: 64 (subsidy reaches 0)
Total supply: ~21 million CELL

block_reward = base_subsidy(h) + tx_fees + contract_fees

Distribution:
Expand Down Expand Up @@ -252,13 +257,17 @@ BitCell/
│ ├── bitcell-ebsl/ # Evidence tracking, trust scores, slashing
│ ├── bitcell-zkp/ # Groth16 circuits (battle, exec, state)
│ ├── bitcell-consensus/ # Blocks, tournament protocol, fork choice
│ ├── bitcell-state/ # State management, bonds, accounts
│ ├── bitcell-state/ # State management, bonds, accounts (RocksDB)
│ ├── bitcell-zkvm/ # Private smart contract execution
│ ├── bitcell-economics/ # Rewards, fees, treasury
│ ├── bitcell-network/ # P2P, gossip, compact blocks
│ └── bitcell-node/ # Miner/validator/light client nodes
├── docs/ # Architecture, specs, tutorials
├── benches/ # Performance benchmarks
│ ├── bitcell-economics/ # Rewards, fees, treasury, halving
│ ├── bitcell-network/ # libp2p, gossip, DHT, compact blocks
│ ├── bitcell-node/ # Miner/validator nodes, JSON-RPC, WebSocket
│ ├── bitcell-wallet/ # CLI wallet
│ ├── bitcell-wallet-gui/ # GUI wallet with tournament visualization
│ ├── bitcell-admin/ # Admin console with metrics
│ └── bitcell-simulation/ # Network simulation and testing
├── docs/ # Architecture, specs, release notes
├── scripts/ # Development and testing scripts
└── tests/ # Integration tests
```

Expand Down Expand Up @@ -302,33 +311,38 @@ We're in alpha. Things break. PRs welcome.

## Roadmap

### v0.1 (Current: Alpha)
### v0.1 ✅ (Alpha)
- [x] Core crypto primitives (ECDSA, VRF, ring sigs, commitments)
- [x] CA engine with battles (1024×1024 grid, Conway rules, energy)
- [x] EBSL trust scores (evidence tracking, decay, slashing)
- [ ] ZK circuits (battle verification, execution, state)
- [ ] Consensus structures (blocks, tournament, fork choice)
- [ ] P2P networking (gossip, compact blocks)
- [ ] Local testnet

### v0.2 (Beta)
- [ ] ZKVM execution
- [ ] Smart contract deployment
- [ ] State management
- [ ] Full validator implementation
- [ ] Public testnet
- [ ] Explorer

### v0.3 (Candidate)
- [x] ZK circuits (battle verification, execution, state constraints)
- [x] Consensus structures (blocks, tournament, fork choice)
- [x] P2P networking (libp2p-based gossip, DHT)
- [x] Local testnet

### v0.2 ✅ (Beta)
- [x] ZKVM execution framework
- [x] Smart contract deployment (basic)
- [x] State management with RocksDB persistence
- [x] Full validator implementation
- [x] GUI Wallet with tournament visualization
- [x] Admin console with metrics

### v0.3 (Current: Release Candidate 1)
- [x] JSON-RPC and WebSocket APIs
- [x] Block reward halving mechanism (Bitcoin-style economics)
- [x] Transaction processing and mempool
- [x] Comprehensive economic parameters
- [x] Security improvements (DoS protection, gas limits)
- [ ] Light clients
- [ ] Bridge to Ethereum
- [ ] DeFi primitives
- [ ] Governance system
- [ ] Security audit

### v1.0 (Mainnet)
- [ ] Production-ready zkSNARKs
- [ ] Optimized CA performance
- [ ] Production-ready zkSNARKs (recursive aggregation)
- [ ] Governance system
- [ ] Security audit
- [ ] Optimized CA performance (SIMD/GPU)
- [ ] Mobile wallets
- [ ] Full documentation
- [ ] 🚀 Launch
Expand Down
2 changes: 0 additions & 2 deletions README.old.md

This file was deleted.

Loading