Class: NodeInfoProtocolParamsMilestoneOpt
Defines changing protocol parameters in a milestone.
Hierarchy
↳
NodeInfoProtocolParamsMilestoneOpt
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new NodeInfoProtocolParamsMilestoneOpt(targetMilestoneIndex
, protocolVersion
, params
)
Parameters
Name | Type | Description |
---|---|---|
targetMilestoneIndex | number | The milestone index at which these protocol parameters become active. |
protocolVersion | number | The to be applied protocol version. |
params | string | The protocol parameters in binary form. Hex-encoded with 0x prefix. |
Inherited from
ProtocolParamsMilestoneOption.constructor
Properties
type
• Readonly
type: MilestoneOptionType
Inherited from
ProtocolParamsMilestoneOption.type
targetMilestoneIndex
• targetMilestoneIndex: number
The milestone index at which these protocol parameters become active.
Inherited from
ProtocolParamsMilestoneOption.targetMilestoneIndex
protocolVersion
• protocolVersion: number
The to be applied protocol version.
Inherited from
ProtocolParamsMilestoneOption.protocolVersion
params
• params: string
The protocol parameters in binary form. Hex-encoded with 0x prefix.
Inherited from
ProtocolParamsMilestoneOption.params
Methods
getType
▸ getType(): MilestoneOptionType
Get the type of milestone option.