NodeStatus class

Annotations
  • @JsonSerializable(fieldRename: FieldRename.kebab)

Constructors

NodeStatus({required int catchupTime, required int lastRound, required String lastVersion, required String nextVersion, required int nextVersionRound, required bool nextVersionSupported, required bool stoppedAtUnsupportedRound, required int timeSinceLastRound, String? catchpoint, int? catchpointAcquiredBlocks, int? catchpointProcessedAccounts, int? catchpointTotalAccounts, int? catchpointTotalBlocks, int? catchpointVerifiedAccounts, String? lastCatchpoint})
NodeStatus.fromJson(Map<String, dynamic> json)
factory

Properties

catchpoint String?
The current catchpoint that is being caught up to
final
catchpointAcquiredBlocks int?
The number of blocks that have already been obtained by the node as part of the catchup
final
catchpointProcessedAccounts int?
The number of accounts from the current catchpoint that have been processed so far as part of the catchup
final
catchpointTotalAccounts int?
The total number of accounts included in the current catchpoint
final
catchpointTotalBlocks int?
The total number of blocks that are required to complete the current catchpoint catchup
final
catchpointVerifiedAccounts int?
The number of accounts from the current catchpoint that have been verified so far as part of the catchup
final
catchupTime int
CatchupTime in nanoseconds
final
hashCode int
The hash code for this object.
no setterinherited
lastCatchpoint String?
The last catchpoint seen by the node
final
lastRound int
LastRound indicates the last round seen
final
lastVersion String
LastVersion indicates the last consensus version supported
final
nextVersion String
NextVersion of consensus protocol to use
final
nextVersionRound int
NextVersionRound is the round at which the next consensus version will apply
final
nextVersionSupported bool
NextVersionSupported indicates whether the next consensus version is supported by this node
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stoppedAtUnsupportedRound bool
StoppedAtUnsupportedRound indicates that the node does not support the new rounds and has stopped making progress
final
stringify bool
If set to true, the toString method will be overridden to output this instance's props.
no setter
timeSinceLastRound int
TimeSinceLastRound in nanoseconds
final

Methods

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

Operators

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