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

HTTP REST API? #200

Open
adamkrellenstein opened this issue Dec 24, 2014 · 6 comments
Open

HTTP REST API? #200

adamkrellenstein opened this issue Dec 24, 2014 · 6 comments
Assignees

Comments

@adamkrellenstein
Copy link

With 0.10.0, Bitcoin Core will start providing an unauthenticated HTTP REST API for public blockchain data (which is all btcd handles). See bitcoin/bitcoin#2844. Is it planned to add such a capability to btcd?

@davecgh
Copy link
Member

davecgh commented Dec 24, 2014

We haven't really discussed it yet, but, unless it's horrible like the existing RPC interface, we will likely adopt it as well. We do not want a repeat of the mess that is the current Bitcoin Core JSON-RPC API.

@wallclockbuilder
Copy link
Member

I will love to work on this task. Hope no one else is working on it.

@davecgh
Copy link
Member

davecgh commented Jan 12, 2016

Awesome! As discussed in IRC, I'll post some more details over the coming days, but the general plan here is to do this in the following stages:

  • Create an overall design for the API. This should focus on things such as deciding on the URL naming scheme, versioning semantics, which formats should be made available (I'm thinking binary, hex, and JSON), and which port(s) to use
  • Implement the infrastructure for the API.
  • Implement each new command as an individual pull request. This will facilitate easier reviews and deployment of each command as it is finished.

@wallclockbuilder
Copy link
Member

Sounds good. Looking forward to the details.

@0xmichalis
Copy link
Contributor

This would be nice.

@Zatvobor
Copy link

any updates? @wallclockbuilder, are you still working on that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants