Browse Source

Renamed sync_info.syncing to sync_info.catching_up.

pull/1797/head
Samuel Sarle 6 years ago
parent
commit
8554a6dcd8
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      rpc/core/status.go
  2. +1
    -1
      rpc/core/types/responses.go

+ 2
- 2
rpc/core/status.go View File

@ -50,7 +50,7 @@ import (
// "latest_app_hash": "0000000000000000",
// "latest_block_height": 231,
// "latest_block_time": "2018-04-27T23:18:08.459766485-04:00",
// "syncing": false
// "catching_up": false
// },
// "validator_info": {
// "address": "5875562FF0FFDECC895C20E32FC14988952E99E7",
@ -92,7 +92,7 @@ func Status() (*ctypes.ResultStatus, error) {
LatestAppHash: latestAppHash,
LatestBlockHeight: latestHeight,
LatestBlockTime: latestBlockTime,
Syncing: consensusReactor.FastSync(),
CatchingUp: consensusReactor.FastSync(),
},
ValidatorInfo: ctypes.ValidatorInfo{
Address: pubKey.Address(),


+ 1
- 1
rpc/core/types/responses.go View File

@ -65,7 +65,7 @@ type SyncInfo struct {
LatestAppHash cmn.HexBytes `json:"latest_app_hash"`
LatestBlockHeight int64 `json:"latest_block_height"`
LatestBlockTime time.Time `json:"latest_block_time"`
Syncing bool `json:"syncing"`
CatchingUp bool `json:"catching_up"`
}
// Info about the node's validator


Loading…
Cancel
Save