Author

Topic: Dumping private keys gives me an error (Read 152 times)

member
Activity: 70
Merit: 10
May 21, 2020, 04:06:59 AM
#4
I figured out. The only thing I did not understand was that the Bitcoin Core had changed the file structure for wallet.dat and I had placed my wallet file in a wrong folder.  Grin Everything worked out now. Thanks again for the help! This topic can be closed.
member
Activity: 70
Merit: 10
Thanks! That worked. But now I am facing a new problem. The wallet dump seems to contain tons of lines but I cannot locate my BTC address that I used for this wallet anywhere in it. The address I have is starting with number 1 but all the addresses I can see in the dump are starting with number 3.  Huh

What I am really trying to achieve is to be able to get the private key of my wallet that contains some BTC so I can import it with another wallet that does not require downloading the whole blockchain to be able to function. When I tried:

dumpprivkey mybtcaddress

I get back:

Private key for address mybtcaddress is not known (code -4)
legendary
Activity: 1876
Merit: 3132
But I get back: Cannot open wallet dump file (code -8)

Your forgot about inverted commas. You should also choose a different location. I couldn't dump my wallet directly to the C drive (probably due to lack of permissions). Try the following command (replace USERNAME with your username).

Code:
dumpwallet "C:\Users\USERNAME\Desktop\dump.txt"

member
Activity: 70
Merit: 10
Hey guys and girls. I am trying to get my private keys from old Bitcoin core wallet by dumping the wallet file with following console commands:

- walletpassphrase "my walletpassphrase here" 600
* walletpassphrase(…)
* null

and then:

- dumpwallet C:\dump.txt

But I get back: Cannot open wallet dump file (code -8)

What do I do wrong?
Jump to: