SyncInformation class
When the client is currently syncing its blockchain with the network, this representation can be used to find information about at which block the node was before the sync, at which node it currently is and at which block the node will complete its sync.
Constructors
- SyncInformation(int? startingBlock, int? currentBlock, int? finalBlock)
Properties
- currentBlock → int?
-
The field represents the index of the block used in the synchronisation
currently in progress.
startingBlock is the block at which the sync started, currentBlock is
the block that is currently processed and finalBlock is an estimate of
the highest block number this synchronisation will contain.
When the client is not syncing at the moment, these fields will be null
and isSyncing will be false.
final
- finalBlock → int?
-
The field represents the index of the block used in the synchronisation
currently in progress.
startingBlock is the block at which the sync started, currentBlock is
the block that is currently processed and finalBlock is an estimate of
the highest block number this synchronisation will contain.
When the client is not syncing at the moment, these fields will be null
and isSyncing will be false.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSyncing → bool
-
Indicates whether this client is currently syncing its blockchain with
other nodes.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startingBlock → int?
-
The field represents the index of the block used in the synchronisation
currently in progress.
startingBlock is the block at which the sync started, currentBlock is
the block that is currently processed and finalBlock is an estimate of
the highest block number this synchronisation will contain.
When the client is not syncing at the moment, these fields will be null
and isSyncing will be false.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited