$BlockUpgradeState
const
$BlockUpgradeState:object
Type declaration
description
readonly
description:"Fields relating to a protocol upgrade."
='Fields relating to a protocol upgrade.'
properties
readonly
properties:object
properties.current-protocol
readonly
properties.current-protocol:object
properties.current-protocol.description
readonly
properties.current-protocol.description: ”\[proto\] The current protocol version.” ='\\[proto\\] The current protocol version.'
properties.current-protocol.type
readonly
properties.current-protocol.type:"string"
='string'
properties.next-protocol
readonly
properties.next-protocol:object
properties.next-protocol.description
readonly
properties.next-protocol.description: ”\[nextproto\] The next proposed protocol version.” ='\\[nextproto\\] The next proposed protocol version.'
properties.next-protocol.type
readonly
properties.next-protocol.type:"string"
='string'
properties.next-protocol-approvals
readonly
properties.next-protocol-approvals:object
properties.next-protocol-approvals.description
readonly
properties.next-protocol-approvals.description: ”\[nextyes\] Number of blocks which approved the protocol upgrade.” ='\\[nextyes\\] Number of blocks which approved the protocol upgrade.'
properties.next-protocol-approvals.type
readonly
properties.next-protocol-approvals.type:"integer"
='integer'
properties.next-protocol-switch-on
readonly
properties.next-protocol-switch-on:object
properties.next-protocol-switch-on.description
readonly
properties.next-protocol-switch-on.description: ”\[nextswitch\] Round on which the protocol upgrade will take effect.” ='\\[nextswitch\\] Round on which the protocol upgrade will take effect.'
properties.next-protocol-switch-on.type
readonly
properties.next-protocol-switch-on.type:"integer"
='integer'
properties.next-protocol-vote-before
readonly
properties.next-protocol-vote-before:object
properties.next-protocol-vote-before.description
readonly
properties.next-protocol-vote-before.description: ”\[nextbefore\] Deadline round for this protocol upgrade (No votes will be consider after this round).” ='\\[nextbefore\\] Deadline round for this protocol upgrade (No votes will be consider after this round).'
properties.next-protocol-vote-before.type
readonly
properties.next-protocol-vote-before.type:"integer"
='integer'
required
readonly
required: readonly ["current-protocol"
]
type
readonly
type:"object"
='object'
Defined in
schemas.gen.ts:641