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 validators/blocks/latest API endpoint #20

Merged
merged 1 commit into from Aug 31, 2022

Conversation

macladson
Copy link
Member

This PR adds an API endpoint at validators/blocks/latest.
This endpoint returns a list of each validator, their most recently proposed block and the best_guess_single for that block.

Usage examples can be seen in docs/validator_api.md

Copy link
Member

@michaelsproul michaelsproul left a comment

Choose a reason for hiding this comment

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

Thank you Mac this is awesome!

I'll deploy this today while I'm updating some other stuff on blockprint

@michaelsproul michaelsproul merged commit 3a05370 into sigp:main Aug 31, 2022
@macladson macladson deleted the latest-block branch September 2, 2022 00:33
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

2 participants