Optional
consensus_consensus state
Any
contains an arbitrary serialized protocol buffer message along with a
URL that describes the type of the serialized message.
The JSON representation of an Any
value uses the regular
representation of the deserialized, embedded message, with an
additional field @type
which contains the type URL. Example:
package google.profile;
message Person {
string first_name = 1;
string last_name = 2;
{
"@type": "type.googleapis.com/google.profile.Person",
"firstName": value
which holds the custom JSON in addition to the @type
field. Example (for message [google.protobuf.Duration][]):
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
Optional
heightconsensus state height Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset
Generated using TypeDoc
ConsensusStateWithHeight defines a consensus state with an additional height field.