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 support for 0.12 #4

Merged
merged 1 commit into from
Feb 19, 2016
Merged

Conversation

ruimarinho
Copy link
Owner

Differences from 0.11:

  • Username-only authentication is no longer possible without read access to the random cookie file generated by bitcoind when -rpcpassword is not set (see https://github.com/bitcoin/bitcoin/pull/6388/files). This is the output of bitcoin-cli when connecting without -rpcpassword and without access to the cookie file:

    error: Could not locate RPC credentials. No authentication cookie could be found, and no rpcpassword is set in the configuration file (/root/.bitcoin/bitcoin.conf)
    

    Technically, it is possible to send a request via Basic Authentication by reading the cookie file on the server and using the predefined username __cookie__, although that defeats the purpose of not having a password set in the first place.

    Support for sending requests with username-only will remain while 0.11 is maintained.

  • Some HTTP errors, such as 401 Unauthorized no longer rely on a message on the body. Instead, a proper status code and message are set.

  • HTTPS has been removed. Instead, stunnel or other similar techniques must be used instead. Support for sending HTTPS requests will remain while 0.11 is maintained.

  • The server response header is no longer available.

  • The mediantime property was added to the getBlockByHash() call.

  • The size property was added to the getTransactionByHash() call.

  • The getMemoryPoolContent() and getMemoryPoolInformation() calls no longer return 404 when no information is available. Instead, they now return a proper empty object.

@ruimarinho ruimarinho force-pushed the enhancement/add-support-for-0-12 branch from 11fcda7 to 441c4b9 Compare February 19, 2016 01:29
ruimarinho added a commit that referenced this pull request Feb 19, 2016
@ruimarinho ruimarinho merged commit 191f5c0 into master Feb 19, 2016
@ruimarinho ruimarinho deleted the enhancement/add-support-for-0-12 branch February 19, 2016 01:35
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.

1 participant