Lfan-ke/raft-moonbit/log does not have a README file
pub suberror LogCompactedpub struct RaftLog {
storage : &RaftStorage
unstable : Unstable
committed : UInt64
applying : UInt64
applied : UInt64
max_applying_ents_size : UInt64
applying_ents_size : UInt64
applying_ents_paused : Bool
}fn RaftLog::entries(self : RaftLog, i : UInt64, max_size : UInt64) -> Array[Entry] raise LogCompactedfn RaftLog::must_check_out_of_bounds(self : RaftLog, lo : UInt64, hi : UInt64) -> Unit raise LogCompactedfn RaftLog::slice(self : RaftLog, lo : UInt64, hi : UInt64, max_size : UInt64) -> Array[Entry] raise LogCompactedRaft consensus algorithm implemented in MoonBit.