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

    Type Alias DumpConfig

    Configures how to dump state to external storage.

    type DumpConfig = {
        credentials_file?: string | null;
        iteration_delay?: DurationAsStdSchemaProvider | null;
        location?: ExternalStorageLocation;
        restart_dump_for_shards?: ShardId[] | null;
    }
    Index

    Properties

    credentials_file?: string | null

    Location of a json file with credentials allowing access to the bucket.

    iteration_delay?: DurationAsStdSchemaProvider | null

    How often to check if a new epoch has started. Feel free to set to None, defaults are sensible.

    Specifies where to write the obtained state parts.

    restart_dump_for_shards?: ShardId[] | null

    Use in case a node that dumps state to the external storage gets in trouble.