Expand description

This crate is a minimal implementation of the Raft consensus protocol with a focus on readability/understandability. Do NOT use this in production.


Module for pretty printing state transitions, log updates, etc. No actual Raft-specific logic.

Module containing implementation for an event log. This is the basis for the replicated log at the core of Raft

Module containing definitions for all of the RPCs that Raft nodes use to communicate with each other.

Module containing majority of the logic for handling RPCs, managing state transitions, and the API