Fields relating to a protocol upgrade.
Creates a new
(proto) The current protocol version.
(nextproto) The next proposed protocol version.
(nextyes) Number of blocks which approved the protocol upgrade.
(nextswitch) Round on which the protocol upgrade will take effect.
(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.
Generated using TypeDoc