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 lastVerifiedBlockNumber to getStatus request #148

Merged
merged 1 commit into from
Jul 7, 2022

Conversation

primersion
Copy link

This change adds the lastVerifiedBlockNumber to the getStatus request, by fetching it from the witnesses params table and adding it if present. I think this is rather useful to immediately check the state of hive-engine nodes, without having to perform a second request.

Copy link
Collaborator

@bt-cryptomancer bt-cryptomancer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good. Approved for inclusion in next release.

@4Ykw
Copy link

4Ykw commented Jul 2, 2022

Tested this also and works:
http://[2407:7000:9cb7:b800:d9d3:d7c:db4b:a7cd]:5010

@bt-cryptomancer bt-cryptomancer merged commit 53d16b4 into hive-engine:hive-engine Jul 7, 2022
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

Successfully merging this pull request may close these issues.

None yet

3 participants