Bitcoin Forum
May 05, 2024, 10:03:38 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Wallet passphrase works in bitcoin-qt but not bitcoind  (Read 4562 times)
miscreanity (OP)
Legendary
*
Offline Offline

Activity: 1316
Merit: 1005


View Profile
April 03, 2012, 03:43:44 AM
 #1

A wallet has been encrypted using the GUI client, bitcoin-qt. I've been having an issue where I can unlock the wallet using bitcoin-qt normally, but not at the command line with bitcoind.

Example:
Code:
bitcoind walletpassphrase mYpAS$w0Rd 60
error: {"code":-14,"message":"Error: The wallet passphrase entered was incorrect."}

The password has been entered using escape characters, but error -14 persists. Both versions have been compiled from the latest git.
1714946618
Hero Member
*
Offline Offline

Posts: 1714946618

View Profile Personal Message (Offline)

Ignore
1714946618
Reply with quote  #2

1714946618
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714946618
Hero Member
*
Offline Offline

Posts: 1714946618

View Profile Personal Message (Offline)

Ignore
1714946618
Reply with quote  #2

1714946618
Report to moderator
1714946618
Hero Member
*
Offline Offline

Posts: 1714946618

View Profile Personal Message (Offline)

Ignore
1714946618
Reply with quote  #2

1714946618
Report to moderator
miscreanity (OP)
Legendary
*
Offline Offline

Activity: 1316
Merit: 1005


View Profile
April 10, 2012, 05:59:57 AM
 #2

Wallet version was 59900 - current version should be 60000.

With no Bitcoin software running, executing the following upgraded the wallet to version 60000.

Code:
bitcoind -upgradewallet

After that, changing the wallet password using bitcoin-qt then unlocking and resetting it using bitcoind successfully corrected the issue.
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!