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

getinfo() is going to be deprecated in Bitcoin Core 0.16 onwards #43

Closed
jamesmacwhite opened this issue Dec 10, 2017 · 1 comment
Closed

Comments

@jamesmacwhite
Copy link
Contributor

Just a heads up for the future. Possible reworking needed.

WARNING: getinfo is deprecated and will be fully removed in 0.16. Projects should transition to using getblockchaininfo, getnetworkinfo, and getwalletinfo before upgrading to 0.16

bitcoin/bitcoin#11382
bitcoin/bitcoin#11671

@cfahrni
Copy link

cfahrni commented Feb 26, 2018

quick workaround for 0.16:

pi@raspberrypi:/var/www/html $ diff php/functions.php php/functions.php.bak
54c54
<     $data = $bitcoin->getblockchaininfo();
---
>     $data = $bitcoin->getinfo();

there is more testing and reworking needed i suppose.

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

No branches or pull requests

2 participants