BitShares Forum

Main => Technical Support => Topic started by: JakeThePanda on February 23, 2014, 12:17:33 am

Title: PTS Private Key
Post by: JakeThePanda on February 23, 2014, 12:17:33 am
Can someone please help me?  I'm trying to use the dumpprivkey command and it says my private key is unknown, code -4 or something.
Title: Re: PTS Private Key
Post by: ripplexiaoshan on February 23, 2014, 12:52:39 am
If your wallet is encrypted, you have to do
walletpassphrase "yourpassphrase" 600

then

dumpprivkey PtsAddressHere
Title: Re: PTS Private Key
Post by: JakeThePanda on February 23, 2014, 01:00:43 am
Thanks.  Do I just use the wallet lock command to lock it again?
Title: Re: PTS Private Key
Post by: Troglodactyl on February 23, 2014, 04:31:15 am
The 600 part is the number of seconds it will stay unlocked before re-locking automatically.  If you want you can use wallet lock to manually lock before then...
Title: Re: PTS Private Key
Post by: toast on February 23, 2014, 04:35:10 pm
or just quit the program, only encrypted version is ever on disk