class ValidatorApiHandler implements ValidatorApiChannel {

  @VisibleForTesting
  boolean isSyncActive() {
    final SyncState syncState = syncStateTracker.getCurrentSyncState();
    return syncState.isStartingUp() || (syncState.isSyncing() && headBlockIsTooFarBehind());
  }

  public  ValidatorApiHandler(
      final CombinedChainDataClient combinedChainDataClient,
      final SyncStateTracker syncStateTracker,
      final StateTransition stateTransition,
      final BlockFactory blockFactory,
      final AggregatingAttestationPool attestationPool,
      final AttestationManager attestationManager,
      final AttestationTopicSubscriber attestationTopicSubscriber,
      final EventBus eventBus,
      final DutyMetrics dutyMetrics,
      final PerformanceTracker performanceTracker);

}