Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add IsBeaconSynced to node status #270

Open
lrettig opened this issue Sep 19, 2023 · 0 comments
Open

add IsBeaconSynced to node status #270

lrettig opened this issue Sep 19, 2023 · 0 comments

Comments

@lrettig
Copy link
Member

lrettig commented Sep 19, 2023

> grpcurl -plaintext localhost:9092 spacemesh.v1.NodeService.Status
{
  "status": {
    "connectedPeers": "1",
    "isSynced": true,
    "syncedLayer": {
      "number": 19386
    },
    "topLayer": {
      "number": 19389
    },
    "verifiedLayer": {
      "number": 19383
    }
  }
}

This currently includes isSynced but not IsBeaconSynced which can also block hare from running:

https://github.com/spacemeshos/go-spacemesh/blob/27c3dd7c2e2093bba9721fee789d54122783573c/hare/broker.go#L425-L428

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

No branches or pull requests

1 participant