class ValidatorLoader {

  public Map<BLSPublicKey, Validator> initializeValidators(
      ValidatorConfig config, final GlobalConfiguration globalConfiguration) {
    // Get validator connection info and create a new Validator object and put it into the
    // Validators map

    final Map<BLSPublicKey, Validator> validators = new HashMap<>();
    validators.putAll(createLocalSignerValidator(config, globalConfiguration));
    validators.putAll(createExternalSignerValidator(config));

    STATUS_LOG.validatorsInitialised(
        validators.values().stream()
            .map(Validator::getPublicKey)
            .map(BLSPublicKey::toAbbreviatedString)
            .collect(Collectors.toList()));
    return validators;
  }

  public  ValidatorLoader(final SlashingProtector slashingProtector, final AsyncRunner asyncRunner);

}