near-api-js - v7.4.0
    Preparing search index...

    Type Alias EpochSyncConfig

    type EpochSyncConfig = {
        epoch_sync_horizon_num_epochs?: number;
        timeout_for_epoch_sync?: DurationAsStdSchemaProvider;
    }
    Index
    epoch_sync_horizon_num_epochs?: number

    Number of epochs behind the network head beyond which the node will use epoch sync instead of header sync. At the consumption site, this is multiplied by epoch_length to get the horizon in blocks.

    timeout_for_epoch_sync?: DurationAsStdSchemaProvider

    Timeout for epoch sync requests. The node will continue retrying indefinitely even if this timeout is exceeded.