class VoteTallyUpdater {

  public void updateForBlock(final BlockHeader header, final VoteTally voteTally) {
    if (epochManager.isEpochBlock(header.getNumber())) {
      voteTally.discardOutstandingVotes();
      return;
    }
    final Optional<ValidatorVote> vote = blockInterface.extractVoteFromHeader(header);
    vote.ifPresent(voteTally::addVote);
  }

  public  VoteTallyUpdater(final EpochManager epochManager, final BlockInterface blockInterface);

}