Team Andrew Chan
Fault Tolerant Ledger
A replicated distributed ledger with leader election, adaptive consistency, anti-entropy repair, and failure recovery under network faults.

Video Demo
About this project
Fault Tolerant Ledger is a fault-tolerant distributed ledger built from scratch in C that demonstrates core distributed systems concepts under real-world failure scenarios. The system replicates state across multiple nodes, supports leader election and automatic failover, and provides strong, quorum, and eventual consistency models. A custom TCP-based RPC framework enables communication between nodes and clients, while anti-entropy repair mechanisms maintain consistency after failures and recovery. A key innovation of the project is adaptive consistency. Rather than operating under a fixed consistency model, the system dynamically escalates between eventual, quorum, and strong consistency in response to replication failures, network partitions, and conflicting writes. The project also includes configurable failure injection, benchmarking tools, and a live monitoring dashboard that visualizes cluster state, leader changes, replication status, and ledger health in real time.