Get desktop application:
View/edit binary Protocol Buffers messages
Get the current state of the node
(message has no fields)
Sent by the leader of the election to all followers
The leader this heart beat is from
The current term of the leader
Response to a heart beat request
The follower who is responding
The term the heart beat is for
Resets the current state of a node to 'candidate'
(message has no fields)
(message has no fields)
Asks the node to resign as leader
(message has no fields)
True if the receiver is leader and stepped down
Set the peers this node will consider during the election. This is typically set by calling Node.SetPeers() but the implementor could choose to allow a remote entity to set the peer list via Node.ReceiveRPC(). This can be blocked by refusing to accept election.SetPeersRPC calls.
(message has no fields)
A vote request sent to all peers at the start of an election.
The candidate who is requesting the targets vote
The term this vote is for.
The candidate who responded
The term this vote response is for
If the Vote was granted by this node