Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Miner info height higher than blockchain height from API #938

Closed
shawaj opened this issue Jul 18, 2021 · 3 comments
Closed

Miner info height higher than blockchain height from API #938

shawaj opened this issue Jul 18, 2021 · 3 comments

Comments

@shawaj
Copy link
Contributor

shawaj commented Jul 18, 2021

Have noticed on occasion that the miner height from miner info height is higher than the blockchain height from the API - is there some lag in the API perhaps?

Screenshot_20210716-065534_Chrome

@densone
Copy link

densone commented Jul 20, 2021

@shawaj this is ok. The API has to consume data that goes through a transformation process so it's not as up to date as running the command directly against the blockchain.

@madninja
Copy link
Member

That's correct.. the status field in the api is based on gossip and not on-chain data. It is laggy and can be delayed for quite a while. We're trying to find ways to represent how in sync your hotspot is without having accurate data at all times.

@shawaj
Copy link
Contributor Author

shawaj commented Jul 20, 2021

That's no problem, we will put some error handling in the local diagnostics so this higher than 100 percentage doesn't confuse things 👍

Thanks very much

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants