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

In RPC module, "getinfo" method doesn't seem to work #244

Open
jeanmonet opened this issue Sep 20, 2020 · 2 comments · May be fixed by #252
Open

In RPC module, "getinfo" method doesn't seem to work #244

jeanmonet opened this issue Sep 20, 2020 · 2 comments · May be fixed by #252

Comments

@jeanmonet
Copy link

Hi,

I noticed earlier today that the method getinfo() doesn't seem to work in the rpc module:

r = self._call('getinfo')

Should call('getinfo') be replaced by call('getblockchaininfo')? (https://bitcoincore.org/en/doc/0.20.0/rpc/blockchain/getblockchaininfo/)

@mcelrath
Copy link
Collaborator

The getinfo RPC call has been deprecated in favor of a bunch of more specific "info" calls including getblockchainfo. See also getnetworkinfo, getwalletinfo etc. Whether this works depends on the version of bitcoind it's talking to. We should probably add direct methods to reflect changes in bitcoind's rpc...

@MentalNomad
Copy link

including getblockchainfo

typo: getblockchaininfo

https://bitcoincore.org/en/doc/0.16.0/rpc/blockchain/getblockchaininfo/

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 a pull request may close this issue.

3 participants