pub fn validator_address_cache_updater<C: ValidatorIndexToAccountIdConverter>(
    validator_address_cache: Option<ValidatorAddressCache>,
    key_owner_info_provider: C
) -> impl ValidatorAddressCacheUpdater
Expand description

Construct a struct that can be used to update validator_address_cache, if it is Some. If passed None, the returned struct will be a no-op.