Bitcoin Forum
May 09, 2024, 10:44:13 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Wallet decryption with bitcoin-cli.  (Read 805 times)
p100 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
April 13, 2017, 09:45:25 AM
 #1

I'm trying send passphrase via bitcoin-cli using script. When passphrase is wrong, bitcoin-cli prints code -14. How do I know that wallet has been decrypted? What is the code? Thanks!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


View Profile WWW
April 13, 2017, 01:39:24 PM
 #2

It returns null if successful.

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!