Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: asbator on August 03, 2017, 06:56:52 AM



Title: Cant unlock wallet in console / cant dump private key
Post by: asbator on August 03, 2017, 06:56:52 AM
I have password with spaces, so i enclose them in "".
Answer is null (if i put wrong password it tells it wong so i type in correct pass).
Than when i try to dump dumpprivatekey it returns method not found.

I tried to import whole wallet into bitcoin-abc but it showed some error and balance is 0.

Help, please? :)


Title: Re: Cant unlock wallet in console / cant dump private key
Post by: asbator on August 03, 2017, 07:09:59 AM
Can it be because i installed bitcoin-abc and bitcoin-qt on same machine?
I separated install and wallet dirs though.


Title: Re: Cant unlock wallet in console / cant dump private key
Post by: asbator on August 03, 2017, 07:25:19 AM
ABC gives warning: Unknown block versions being mined! It's possible unknown rules are in effect
And bitcoin-qt doesnt want to synch at all now - just connecting to peers forever.
I'm so toasted.


Title: Re: Cant unlock wallet in console / cant dump private key
Post by: asbator on August 03, 2017, 07:36:35 AM
It seems like dumpprivatekey is removed from command line options. It's not in help file either.


Title: Re: Cant unlock wallet in console / cant dump private key
Post by: asbator on August 03, 2017, 08:06:13 AM
I started on new comp, changed password - same result.
New wallet - same result.
Anyone know how to export private keys now???


Title: Re: Cant unlock wallet in console / cant dump private key
Post by: asbator on August 03, 2017, 08:37:35 AM
dumpprivkey


Title: Re: Cant unlock wallet in console / cant dump private key
Post by: webwakko on December 27, 2017, 02:52:37 PM
Anyone else having issues when trying to dump the private key from the QT-wallet?
When I try to get the private key for the address in it, it returns :
Private key for address DfbVmexCDLhbsSEGEjSXPAQXGhE7ECKghb is not known (code -4)
Allthough this address is inside the wallet.


Title: Re: Cant unlock wallet in console / cant dump private key
Post by: ferumflex on December 27, 2017, 04:12:01 PM
As i understand, topic starter found correct command. You can check this page https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list

also to dump you need to enter public address

like

dumpprivkey <address>


Title: Re: Cant unlock wallet in console / cant dump private key
Post by: webwakko on December 27, 2017, 04:15:14 PM
dumpprivkey is the correct command...
And I actually did enter the correct address.. the only difference is, this is a wallet for an alt coin.. not bitcoin itself.
I have been searching the internet for weeks now.. but can't seem to find the correct group or dev team to solve this.


Title: Re: Cant unlock wallet in console / cant dump private key
Post by: HCP on December 28, 2017, 09:51:29 AM
Did you perhaps only import the "address"... and not the "private key" for address DfbVmexCDLhbsSEGEjSXPAQXGhE7ECKghb ?

On the main preview window, do you see "watch only" balances listed next to the "spendable" balances? Do you see the "eye" symbol next to transactions in your transaction history that involve that address? If so, there is a good chance that this address is a watching only address and your wallet simply does not contain the private key for it... ergo "Private key for address DfbVmexCDLhbsSEGEjSXPAQXGhE7ECKghb is not known (code -4)"



Title: Re: Cant unlock wallet in console / cant dump private key
Post by: webwakko on December 29, 2017, 10:04:47 AM
Did you perhaps only import the "address"... and not the "private key" for address DfbVmexCDLhbsSEGEjSXPAQXGhE7ECKghb ?
On the main preview window, do you see "watch only" balances listed next to the "spendable" balances? Do you see the "eye" symbol next to transactions in your transaction history that involve that address? If so, there is a good chance that this address is a watching only address and your wallet simply does not contain the private key for it... ergo "Private key for address DfbVmexCDLhbsSEGEjSXPAQXGhE7ECKghb is not known (code -4)"
let's start at the beginning :

I installed the wallet
That wallet has an address in it
when trying to run the command dumpprivkey, followed by that address, it's not giving me a private key for it.
Error : Private key for address DfbVmexCDLhbsSEGEjSXPAQXGhE7ECKghb is not known (code -4)
So , I assume that a wallet with only one address in it should have a private key for that address, no?

On the main window I have :

Spendable : xxx amount
Stake : 0 amount
unconfirmed : 0 amount
Where in the transaction list should I see this "eye" symbol, because I can only see (on the left) a circle that is checked.. for all of those transactions.



Title: Re: Cant unlock wallet in console / cant dump private key
Post by: HCP on December 29, 2017, 10:17:46 AM
Guess you'll need to take that up with the devs of this AltCoin wallet... If it is generating addresses without containing the private key, then that sounds like a rather serious bug!!?! :o


Title: Re: Cant unlock wallet in console / cant dump private key
Post by: webwakko on December 30, 2017, 06:09:27 PM
Guess you'll need to take that up with the devs of this AltCoin wallet... If it is generating addresses without containing the private key, then that sounds like a rather serious bug!!?! :o
yeah well.. that's the problem, those devs are pulling their hands off that they "just" rebranded the wallet (read: they don't have enough knowledge about it) & that I "should have taken a dump at start"..
in short: ignoring even the smallest responsibility about it and pointing the finger to the end user.. talking about some great support for their community :s
That's why i'm trying to reach out to everyone I can.. hoping this problem can get solved.
I even have a reward for the person that can offer me the solution