NebulousLabs / Sia

Blockchain-based marketplace for file storage. Project has moved to GitLab: https://gitlab.com/NebulousLabs/Sia
https://sia.tech
MIT License
2.71k stars 440 forks source link

Add id fields to /consensus/blocks endpoint #3028

Closed ChrisSchinnerl closed 6 years ago

ChrisSchinnerl commented 6 years ago

This PR adds various ID fields to the JSON block returned by the /consensus/blocks/... endpoint.

lukechampine commented 6 years ago

ok, LGTM. Need to update the API docs

DavidVorick commented 6 years ago

Need to extend the /consensus/blocks test to check that the id fields are all being set correctly.