class LeaderState implements EpochState {

    public void addEndorsementFrom(int remoteNodeId) {
        VoterState voterState = ensureValidVoter(remoteNodeId);
        voterState.hasEndorsedLeader = true;
    }

    protected  LeaderState(int localId, int epoch, long epochStartOffset, Set<Integer> voters);

}