Author

Topic: listunspent - method not found (Read 89 times)

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
April 04, 2023, 04:50:53 AM
#4
Thanks ETFbitcoin.

I didn't install with "--disable-wallet" and I'm on master

Code:
$ git branch -a
* master
  remotes/origin/0.21
  remotes/origin/22.x
  remotes/origin/23.x
  remotes/origin/24.x
  remotes/origin/HEAD -> origin/master
  remotes/origin/master


I see. But using master branch rather than stable tag/commit usually isn't recommended, unless you are contributor to Bitcoin Core source code.

build-unix.md says:

Code:
Berkeley DB is required for the legacy wallet:

    sudo dnf install libdb4-devel libdb4-cxx-devel

 Have I install that and then re-compile ?

Installing Berkeley DB 4.8 is optional and only needed if you want to load old wallet.dat file. If you already install libsqlite3-dev and follow guide on build-unix.md, you should've compiled Bitcoin Core with wallet feature.

Don't I lose chain data ?

No, Bitcoin Core should detect existing blockchain (and other) files. Just make sure Bitcoin Core use correct directory path.
newbie
Activity: 2
Merit: 0
April 03, 2023, 07:33:20 AM
#2
Thanks ETFbitcoin.

I didn't install with "--disable-wallet" and I'm on master

Code:
$ git branch -a
* master
  remotes/origin/0.21
  remotes/origin/22.x
  remotes/origin/23.x
  remotes/origin/24.x
  remotes/origin/HEAD -> origin/master
  remotes/origin/master



build-unix.md says:

Code:
Berkeley DB is required for the legacy wallet:

    sudo dnf install libdb4-devel libdb4-cxx-devel

 Have I install that and then re-compile ?

 Don't I lose chain data ?
newbie
Activity: 2
Merit: 0
April 03, 2023, 04:43:04 AM
#1
Hello,

I've installed bitcoin from scratch by "Compile and Install". Version v24.99.0-d4833e9c49b7.

The problem is when I run "bitcoin-cli listunspent" it return

error code: -32601
error message:
Method not found

Wallet RPCs tells "the wallet RPCs are only available if Bitcoin Core was built with wallet support, which is the default".

Missing options for configure ?
Jump to: