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

Update Drand to use HTTP with the new endpoint #591

Merged
merged 6 commits into from
Jul 30, 2020
Merged

Update Drand to use HTTP with the new endpoint #591

merged 6 commits into from
Jul 30, 2020

Conversation

ec2
Copy link
Member

@ec2 ec2 commented Jul 30, 2020

Summary of changes
Changes introduced in this pull request:

  • Update Drand to use HTTP with the new endpoint
  • Remove all the protobuf and GRPC stuff

Reference issue to close (if applicable)

Closes
#585

Other information and links

period: i32,
genesis_time: i32,
hash: String,
#[serde(rename = "groupHash")]
Copy link
Contributor

Choose a reason for hiding this comment

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

is this really the case that they camel case this but not public_key and genesis_time?

Edit: I don't see this field on the docs: https://drand.love/developer/http-api/#info are those out of date?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure whats up with the docs, but heres the endpoint if you wanna see for yourself. It threw me off as well lol https://pl-eu.testnet.drand.sh/info

Copy link
Contributor

Choose a reason for hiding this comment

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

Well, that wasn't thought through very well hahaha

blockchain/beacon/tests/drand.rs Outdated Show resolved Hide resolved
@ec2 ec2 merged commit 52a5ace into main Jul 30, 2020
@ec2 ec2 deleted the ec2/drand-update branch July 30, 2020 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants