public Peer(string id, RequestVoteDelegate requestVote, AppendEntriesDelegate appendEntries) { this.requestVote = requestVote; Id = id; this.appendEntries = appendEntries; CommitIndex = 1; }