bitcoin-cli does'nt have "getnewaddress" method #15570

issue altobenz opened this issue on March 9, 2019
  1. altobenz commented at 10:42 PM on March 9, 2019: none

    I have installed bitcoin core running on my local machine. I want to create a new address using bitcoin-cli, executing a command as follows then an error message was displayed. How can I solve it?

    $ bitcoin-cli getnewaddress
    error code: -32601
    error message:
    Method not found
    

    The version of bitcoin-core is as follows.

    $ bitcoin-cli -version
    Bitcoin Core RPC client version v0.18.0.0-742f7dd97
    

    The machine running bitcoin core is virtual machine on VirtualBox on Windows7. The guest OS is ubuntu server and version is as follows.

    $ uname -a
    Linux ubuntu 4.15.0-45-generic [#48](/bitcoin-bitcoin/48/)-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
    
  2. fanquake commented at 12:37 AM on March 11, 2019: member

    How did you compile Core? My guess is that Berkeley DB wasn't available at compile time, or that you've inadvertently configured/run with --disable-wallet.

  3. fanquake added the label Questions and Help on Mar 11, 2019
  4. promag commented at 5:33 PM on March 12, 2019: member

    What is the output of $ bitcoin-cli listwallets?

  5. altobenz commented at 10:16 PM on March 12, 2019: none
    $ bitcoin-cli listwallets
    error code: -32601
    error message:
    Method not found
    
    

    Thank you for your comment. I will try recompile the source codes. It seems that Berkeley DB wasn't available.

  6. promag commented at 10:21 PM on March 22, 2019: member

    @altobenz then I guess you can close this?

  7. fanquake closed this on Mar 22, 2019

  8. DrahtBot locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-15 15:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me