Commit class

Commit contains the evidence that a block was committed by a set of validators.

Inheritance

Constructors

Commit({BigInt? height, int? round, required BlockID blockID, required List<CommitSig> signatures})
Commit.deserialize(List<int> bytes)
factory
Commit.fromRpc(Map<String, dynamic> json)
factory

Properties

blockID BlockID
final
fieldIds List<int>
List of field IDs corresponding to the values.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
height BigInt?
final
round int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signatures List<CommitSig>
final
toHex String
Gets the hexadecimal representation of the protocol buffer data.
no setterinherited
typeUrl String
no setteroverride
values List
List of dynamic values to be encoded.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toAny() Any
inherited
toBuffer() List<int>
Converts the protocol buffer data to a byte buffer.
inherited
toJson() Map<String, dynamic>
Converts the data to a JSON representation.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited