miniraft.state
Represents a view of the cluster to a RaftNode. This is passed in, allowing the RaftNode (whos responsibility is to maintain its own state) to communicate with the rest of the cluster and control its timeouts
the timer to use when in follower state
the timer to use while in leader state
Represents a view of the cluster to a RaftNode. This is passed in, allowing the RaftNode (whos responsibility is to maintain its own state) to communicate with the rest of the cluster and control its timeouts