Creates a new BlockUpgradeState
object.
Optional
nextOptional
nextOptional
nextOptional
next(proto) The current protocol version.
Optional
next(nextproto) The next proposed protocol version.
Optional
next(nextyes) Number of blocks which approved the protocol upgrade.
Optional
next(nextswitch) Round on which the protocol upgrade will take effect.
Optional
next(nextbefore) Deadline round for this protocol upgrade (No votes will be consider after this round).
Get an object ready for encoding to either JSON or msgpack.
Use true to indicate that the encoding can handle raw binary objects (Uint8Arrays). Use false to indicate that raw binary objects should be converted to base64 strings. True should be used for objects that will be encoded with msgpack, and false should be used for objects that will be encoded with JSON.
Static
from_Generated using TypeDoc
Fields relating to a protocol upgrade.