Commitment enum

Inheritance

Constructors

Commitment()
const

Values

processed → const Commitment

The node will query its most recent block. Note that the block may not be complete.

confirmed → const Commitment

The node will query the most recent block that has been voted on by supermajority of the cluster. -It incorporates votes from gossip and replay. -It does not count votes on descendants of a block, only direct votes on that block. -This confirmation level also upholds "optimistic confirmation" guarantees in release 1.3 and onwards.

finalized → const Commitment

The node will query the most recent block confirmed by supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<Commitment>
A constant List of the values in this enum, in order of their declaration.