class FastSyncValidationPolicy implements ValidationPolicy {

  @Override
  public HeaderValidationMode getValidationModeForNextBlock() {
    final HeaderValidationMode mode =
        Math.random() < targetFullValidationRate ? fullValidationMode : lightValidationMode;
    fastSyncValidationCounter.labels(mode.name()).inc();
    return mode;
  }

  public  FastSyncValidationPolicy(
      final float targetFullValidationRate,
      final HeaderValidationMode lightValidationMode,
      final HeaderValidationMode fullValidationMode,
      final LabelledMetric<Counter> fastSyncValidationCounter);

}