Skip to content

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

Open

Description

@jeanmonet

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/)

Activity

  1. mcelrath commented on Sep 23, 2020

    @mcelrath
    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...

  2. MentalNomad commented on Sep 24, 2020

    @MentalNomad

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ Proxy