Bitcoin Forum
April 27, 2024, 10:46:00 PM *
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 803 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!
1714257960
Hero Member
*
Offline Offline

Posts: 1714257960

View Profile Personal Message (Offline)

Ignore
1714257960
Reply with quote  #2

1714257960
Report to moderator
1714257960
Hero Member
*
Offline Offline

Posts: 1714257960

View Profile Personal Message (Offline)

Ignore
1714257960
Reply with quote  #2

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

Posts: 1714257960

View Profile Personal Message (Offline)

Ignore
1714257960
Reply with quote  #2

1714257960
Report to moderator
1714257960
Hero Member
*
Offline Offline

Posts: 1714257960

View Profile Personal Message (Offline)

Ignore
1714257960
Reply with quote  #2

1714257960
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3374
Merit: 6551


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!