paxakos 0.1.0

Rust implementation of Paxos consensus algorithm
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub trait Tracer<R, C, I>: std::fmt::Debug + Send
where
    R: crate::RoundNum,
    C: crate::CoordNum,
    I: crate::Identifier,
{
    fn record_promise(&mut self, round_num: R, coord_num: C, promise: Vec<(R, C, I)>);

    fn record_accept(&mut self, round_num: R, coord_num: C, log_entry_id: I);

    fn record_commit(&mut self, round_num: R, log_entry_id: I);
}