Skip to content

BlockUpgradeState

BlockUpgradeState: object

Fields relating to a protocol upgrade.

Type declaration

current-protocol

current-protocol: string

[proto] The current protocol version.

next-protocol?

optional next-protocol: string

[nextproto] The next proposed protocol version.

next-protocol-approvals?

optional next-protocol-approvals: number

[nextyes] Number of blocks which approved the protocol upgrade.

next-protocol-switch-on?

optional next-protocol-switch-on: number

[nextswitch] Round on which the protocol upgrade will take effect.

next-protocol-vote-before?

optional next-protocol-vote-before: number

[nextbefore] Deadline round for this protocol upgrade (No votes will be consider after this round).

Defined in

types.gen.ts:526