Project Name: VeriChain 2.0
Repo: MeridianAlgo/verify-node
Status: Pre-Alpha (Architecture Validation)
A purpose-built, ultra-lightweight blockDAG node designed to solve content provenance and decentralized stablecoin issuance.
- Language: Rust (async
tokio,libp2p,sled) - Consensus: Vesper (Leaderless, round-less PoS BlockDAG)
- Storage: Embedded Sled DB (No external dependencies)
- Networking: Libp2p Gossipsub
- Rust (latest stable)
- Git
cargo run --releaseTo run a local cluster of 3 nodes:
./scripts/spawn_cluster.ps1The node will start, generate keys, initialize storage in data/, and begin producing blocks (visualized with a real-time spinner).
This roadmap outlines the path from the current skeletal implementation to a production-ready testnet.
- [x] Full Vesper Parent Selection: Implement VRF-weighted random walk over current tips.
- [x] Temporal Density Weight: Implement
W = stake * e^(-lambda * avg_delta_t)with caching. - [x] Weight Memoization: Efficient cumulative weight calculation and invalidation.
- [x] Virtual Ordering: Deterministic linearization via Pivot Chain & Causal Rank.
- [x] Tip Set Management: Persistent storage and automatic promotion/demotion logic.
- [x] Genesis Block: Bootstrap logic for cold starts.
- [x] Block Validation: Full pipeline (signatures, parents, metadata bounds, timestamps).
- [x] Re-org Handling: Rollback support in Sled via state deltas.
- [x] Rate Limiting: Block proposal limits based on stake.
- [x] Finality Detector: Depths-based probabilistic finality.
- [x] pHash Anchoring:
img_hash&imagecrate integration for visual similarity. - [x] Lineage Trees: Parent/Child content tracking with bi-directional indexing.
- [x] Dynamic Trust Score: Stake-weighted aggregation of attestations.
- [ ] Validation: Conflict detection for attestations.
- [x] Challenge Txs: Slash false attestations.
- [x] Phash Bloom Filter: Fast existence checks for content indexing.
- [ ] Metadata Bounds: Enforce size limits in validation pipeline.
- [x] Proofs: Exportable Merkle paths.
- [x] Supply Tracking: Persisted in Sled.
- [x] Gated Minting: Trust Score thresholds.
- [x] Proportional Minting: Formula refinement and algorithmic rebalancing.
- [x] Burn Logic: Reduce supply and balance.
- [x] Transfers & Persistence: Persistent account balances and transfer primitive.
- [x] Fee Burn Logic: Fees removed from circulation.
- [x] Bootstrap: Fixed peer seeds & bootnode dialing.
- [x] Gossipsub: Immediate broadcast and receiver validation.
- [ ] Peer Scoring: Reputation management.
- [x] Sync Protocol: Request/Response for history.
- [x] Local Testnet: Script for multi-node spawn (
spawn_cluster.ps1).
- [x] Slashing: Double-proposal detection.
- [x] Stake Aging: Prevent nothing-at-stake attacks.
- [x] Min Stake: Thresholds for network participation.
- [x] Signature Verification Batching: Transaction signatures + Batch validation.
- [x] Merkle Proofs: Efficient state & transaction inclusion proofs.
- [x] DoS Protection: Fees/PoW stub.
- [x] Benchmarks: Criterion for TPS/Latency.
- [ ] Integration Tests: Large-scale DAG simulation.
- [ ] Documentation: Full architecture diagrams.