SyncStatus
SyncStatus is used to provide additional context about an implementation's sync status. It is often used to indicate that an implementation is healthy when it cannot be queried until some sync phase occurs. If an implementation is immediately queryable, this model is often not populated.
Properties
Name | Type | Description | Required |
---|---|---|---|
current_index | Int64 (>= 0) | CurrentIndex is the index of the last synced block in the current stage. | True |
target_index | Int64 (>= 0) | TargetIndex is the index of the block that the implementation is attempting to sync to in the current stage. | False |
stage | String | Stage is the phase of the sync process. | False |
Example
{
"current_index": 100,
"target_index": 150,
"stage": "header sync"
}