GraphQlProtocolConfigs
Namespace: IotaSdk
Information about the configuration of the protocol. Constants that control how the chain operates. These can only change during protocol upgrades which happen on epoch boundaries.
public record class GraphQlProtocolConfigs : System.IEquatable`1[[IotaSdk.GraphQlProtocolConfigs, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → GraphQlProtocolConfigs
Implements IEquatable<GraphQlProtocolConfigs>
Attributes NullableContextAttribute, NullableAttribute
Properties
ProtocolVersion
The protocol is not required to change on every epoch boundary, so the protocol version tracks which change to the protocol these configs are from.
public ulong ProtocolVersion { get; init; }
Property Value
FeatureFlags
List all available feature flags and their values. Feature flags are a form of boolean configuration that are usually used to gate features while they are in development. Once a flag has been enabled, it is rare for it to be disabled.
public GraphQlProtocolConfigFeatureFlag[] FeatureFlags { get; init; }
Property Value
GraphQlProtocolConfigFeatureFlag[]
Configs
List all available configurations and their values. These configurations can take any value (but they will all be represented in string form), and do not include feature flags.
public GraphQlProtocolConfigAttr[] Configs { get; init; }
Property Value
Constructors
GraphQlProtocolConfigs(UInt64, GraphQlProtocolConfigFeatureFlag[], GraphQlProtocolConfigAttr[])
Information about the configuration of the protocol. Constants that control how the chain operates. These can only change during protocol upgrades which happen on epoch boundaries.
public GraphQlProtocolConfigs(ulong ProtocolVersion, GraphQlProtocolConfigFeatureFlag[] FeatureFlags, GraphQlProtocolConfigAttr[] Configs)
Parameters
ProtocolVersion UInt64
The protocol is not required to change on every epoch boundary, so the protocol version
tracks which change to the protocol these configs are from.
FeatureFlags GraphQlProtocolConfigFeatureFlag[]
List all available feature flags and their values. Feature flags are a form of boolean
configuration that are usually used to gate features while they are in development. Once a
flag has been enabled, it is rare for it to be disabled.
Configs GraphQlProtocolConfigAttr[]
List all available configurations and their values. These configurations can take any value
(but they will all be represented in string form), and do not include feature flags.