mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 14:52:17 +00:00
Renamed sync_info.syncing to sync_info.catching_up.
This commit is contained in:
parent
3e1baf68f8
commit
8554a6dcd8
@ -50,7 +50,7 @@ import (
|
|||||||
// "latest_app_hash": "0000000000000000",
|
// "latest_app_hash": "0000000000000000",
|
||||||
// "latest_block_height": 231,
|
// "latest_block_height": 231,
|
||||||
// "latest_block_time": "2018-04-27T23:18:08.459766485-04:00",
|
// "latest_block_time": "2018-04-27T23:18:08.459766485-04:00",
|
||||||
// "syncing": false
|
// "catching_up": false
|
||||||
// },
|
// },
|
||||||
// "validator_info": {
|
// "validator_info": {
|
||||||
// "address": "5875562FF0FFDECC895C20E32FC14988952E99E7",
|
// "address": "5875562FF0FFDECC895C20E32FC14988952E99E7",
|
||||||
@ -92,7 +92,7 @@ func Status() (*ctypes.ResultStatus, error) {
|
|||||||
LatestAppHash: latestAppHash,
|
LatestAppHash: latestAppHash,
|
||||||
LatestBlockHeight: latestHeight,
|
LatestBlockHeight: latestHeight,
|
||||||
LatestBlockTime: latestBlockTime,
|
LatestBlockTime: latestBlockTime,
|
||||||
Syncing: consensusReactor.FastSync(),
|
CatchingUp: consensusReactor.FastSync(),
|
||||||
},
|
},
|
||||||
ValidatorInfo: ctypes.ValidatorInfo{
|
ValidatorInfo: ctypes.ValidatorInfo{
|
||||||
Address: pubKey.Address(),
|
Address: pubKey.Address(),
|
||||||
|
@ -65,7 +65,7 @@ type SyncInfo struct {
|
|||||||
LatestAppHash cmn.HexBytes `json:"latest_app_hash"`
|
LatestAppHash cmn.HexBytes `json:"latest_app_hash"`
|
||||||
LatestBlockHeight int64 `json:"latest_block_height"`
|
LatestBlockHeight int64 `json:"latest_block_height"`
|
||||||
LatestBlockTime time.Time `json:"latest_block_time"`
|
LatestBlockTime time.Time `json:"latest_block_time"`
|
||||||
Syncing bool `json:"syncing"`
|
CatchingUp bool `json:"catching_up"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Info about the node's validator
|
// Info about the node's validator
|
||||||
|
Loading…
x
Reference in New Issue
Block a user