Interface SyncStatus
public interface SyncStatus
The interface Sync status.
-
Method Summary
Modifier and TypeMethodDescriptionlongGet the height of the last block the synchronizer receivedlongGet the height of the highest known block.KnownStates is the number of states the node knows of so far, or empty if this is not known or not relevant.PulledStates is the number of state entries fetched so far, or empty if this is not known or not relevant.longGet the height of the block at which this synchronization attempt began.
-
Method Details
-
getStartingBlock
long getStartingBlock()Get the height of the block at which this synchronization attempt began.- Returns:
- height of the block at which this synchronization attempt began.
-
getCurrentBlock
long getCurrentBlock()Get the height of the last block the synchronizer received- Returns:
- the height of the last block the synchronizer received
-
getHighestBlock
long getHighestBlock()Get the height of the highest known block.- Returns:
- the height of the highest known block.
-
getPulledStates
-
getKnownStates
-