class ScoringCalculator {

    public boolean hasGoodReputation(PeerScoring scoring) {
        //TODO(lsebrie): implement empty messages as responses so timeout can be handled as it should
        return  scoring.getEventCounter(EventType.INVALID_BLOCK) < 1 &&
                scoring.getEventCounter(EventType.INVALID_MESSAGE) < 1 &&
                scoring.getEventCounter(EventType.INVALID_HEADER) < 1;
    }

}