-
Notifications
You must be signed in to change notification settings - Fork 35.7k
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
Why is getinfo being removed? #11382
Comments
See #8780 for further details. |
From PR #8780:
There is an open PR #10871 to implement getinfo in the bitcoin-cli client. If you find |
@jnewbery I'm using the bitcoin-cli client, I'll take a look at the code. Thanks for the instant reply! |
Why not leave it for legacy purposes, what's the harm? Much code probably uses this command. It can be put to deprecated list or something, but I don't really understand the argumentation of removing it entirely. |
@kangasbros Guaranteeing that its output remains consistent will become increasingly difficult as subsystems (wallet and blockchain, in particular) become more independent. |
Maybe leave the fields out that are difficult to keep consistent? I can't believe leaving the whole function outright out is the best decision. |
If we have to break backward compatibility anyway, what is the point in keeping it? Anything relying on it needs to change anyway. Also see #10871 to still get the convenience for users who want a quick overview. |
Closing, this is happening and has been explained sufficiently. |
"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",
Why? This command gives me a concise summary of the running node. getnetworkinfo is too detailed, getwalletinfo doesn't apply, and getblockchainifo is a redundant command. Why force the use of three commands (that already exist) when one command is doing good? I've never understood this principal.
The text was updated successfully, but these errors were encountered: