Skip to main content

Class: NodeInfoProtocolParamsMilestoneOpt

Defines changing protocol parameters in a milestone.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new NodeInfoProtocolParamsMilestoneOpt(targetMilestoneIndex, protocolVersion, params)

Parameters

NameTypeDescription
targetMilestoneIndexnumberThe milestone index at which these protocol parameters become active.
protocolVersionnumberThe to be applied protocol version.
paramsstringThe 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.

Returns

MilestoneOptionType

Inherited from

ProtocolParamsMilestoneOption.getType