Bitcoin Forum
June 06, 2024, 04:55:10 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: listunspent - method not found  (Read 71 times)
fabiolino73 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
April 03, 2023, 09: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 ?
fabiolino73 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
April 03, 2023, 12:33:20 PM
 #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 ?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!