Bitcoin Forum
May 12, 2024, 12:44:30 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 806 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!
1715474670
Hero Member
*
Offline Offline

Posts: 1715474670

View Profile Personal Message (Offline)

Ignore
1715474670
Reply with quote  #2

1715474670
Report to moderator
1715474670
Hero Member
*
Offline Offline

Posts: 1715474670

View Profile Personal Message (Offline)

Ignore
1715474670
Reply with quote  #2

1715474670
Report to moderator
1715474670
Hero Member
*
Offline Offline

Posts: 1715474670

View Profile Personal Message (Offline)

Ignore
1715474670
Reply with quote  #2

1715474670
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
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: 6635


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!