Interface RegistryEntityWhitelistConfig

EntityWhitelistConfig is a per-entity whitelist configuration.

interface RegistryEntityWhitelistConfig {
    max_nodes?: Map<number, number>;
}

Properties

Properties

max_nodes?: Map<number, number>

MaxNodes is the maximum number of nodes that an entity can register under the given runtime for a specific role. If the map is empty or absent, the number of nodes is unlimited. If the map is present and non-empty, the the number of nodes is restricted to the specified maximum (where zero means no nodes allowed), any missing roles imply zero nodes.