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

V2 of block.get #62

Open
InoMurko opened this issue Jun 5, 2020 · 1 comment
Open

V2 of block.get #62

InoMurko opened this issue Jun 5, 2020 · 1 comment
Labels
api Related to the API enhancement New feature or request

Comments

@InoMurko
Copy link
Contributor

InoMurko commented Jun 5, 2020

Redesign this endpoint, because it is absolutely horrible on full blocks.

@achiurizo achiurizo added enhancement New feature or request api Related to the API labels Jun 17, 2020
@InoMurko
Copy link
Contributor Author

so here’s a thing.
childchain v2 “block.get” is bad, it’s like… very bad. we know it's bad.

I propose that for version 2 of block.get we actually use a CDN to distribute block data. this means, that:

REQUEST
GET block.get?hash=f2iq2lkjakaskdjsdkfjajsjajaja

RESPONSE
HTTP/1.1 302 Found
Location: http://our-cdn-of-choice.com/f2iq2lkjakaskdjsdkfjajsjajaja

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Related to the API enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants