Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: kaizuki on August 30, 2013, 07:59:44 AM



Title: privkey and password
Post by: kaizuki on August 30, 2013, 07:59:44 AM
it can't export privkey after i add a password in my wallet,why?


Title: Re: privkey and password
Post by: domob on August 30, 2013, 08:24:04 AM
it can't export privkey after i add a password in my wallet,why?

Because the password is used to encrypt the private key.  You have to enter it (on the RPC console with "bitcoind walletpassphrase YOURPASSWORD UNLOCK-HOW-LONG") before performing any commands that need a private key so the key can be decrypted again.


Title: Re: privkey and password
Post by: kaizuki on August 30, 2013, 10:34:30 AM
it can't export privkey after i add a password in my wallet,why?

Because the password is used to encrypt the private key.  You have to enter it (on the RPC console with "bitcoind walletpassphrase YOURPASSWORD UNLOCK-HOW-LONG") before performing any commands that need a private key so the key can be decrypted again.
thx ;D