Bitcoin Forum
November 07, 2024, 01:54:04 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to recover bitcoin through private address. Bitcoin "lost" in out of sync.  (Read 861 times)
Ilanoh (OP)
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
March 01, 2017, 01:09:35 PM
Last edit: March 01, 2017, 01:28:51 PM by Ilanoh
 #1

 Hi guys,

I bought some bitcoin on Coinbase, and then I sent them to my bitcoin core wallet.

I then opened my bitcoin wallet, and I saw that it was out of date and that the blocks were not downloaded since I haven't opened it for years.

I updated my wallet, thinking it will speed up the process, but now my bitcoin core wallet doesn't show the adresses I used with the last version to receive bitcoin...

My computer is very slow, and doesn't have a lot of gb.
So I will never catch up enough block to see my bitcoin appears in my wallet. It will always stay out of sync.

So I have bitcoin "lost" because of the out of sync, that will never catch up...

I thought that I could dumppriv my address and import it into Electrum to get my bitcoin. Will this work ?

But to dumpriv I need the public address right ?
And I don't know it anymore...

Is there a way to work this out...
I'm thinking about going back to Coinbase or Kraken the time I buy a new computer where I can properly install bitcoin core.

Thanks guys Smiley

Update :

I tried dumpprivkey with an address I used, that I remembered but I can a "Invalid Bitcoin address (code -5)"

I don't know what to do...
HI-TEC99
Legendary
*
Offline Offline

Activity: 2772
Merit: 2846



View Profile
March 01, 2017, 01:30:03 PM
 #2

You can use the dumpwallet command in Bitcoin core to get all the private keys in your wallet. The quote below explains it.


the command is dumpwallet you can use it from the terminal and you must give it a full path, e.g.

dumpwallet c:\mykeys.txt

If you have set a password you need to unlock the wallet first. The below command will unlock it for 60 seconds.

walletpassphrase PASSWORD 60

They will be exported unencrypted(!) so be careful.


After you get a list of private keys you can download the electrum wallet, then import them into it. Follow the steps in the quote below to do that.


Download electrum 2.6.4 portable from here (because the latest 2.7 versions are buggy).

https://download.electrum.org/2.6.4/electrum-2.6.4-portable.exe

Create a new folder and copy electrum-2.6.4-portable.exe into it, then double click it to start the wallet.

An install wizard window should open. At the top of it select the "Restore a wallet or import keys" option, then click the "next" button.

Another window will open with a box in it that you can type your private key into.

After that click the "next" button and another series of windows should open. Leave each window's settings as they are and click the "next" button in each one until the wallet opens.

You can leave the password boxes blank, the electrum wallet can work without a password, and its password is not the same as your multibit wallet's password.

When the wallet opens it should sync within minutes and show your Bitcoins. You can use it to send them wherever you like.


MadGamer
Legendary
*
Offline Offline

Activity: 1568
Merit: 1031


View Profile
March 01, 2017, 01:33:52 PM
 #3

I suggest using the listreceivedbyaddress command. It will list the addresses that received transactions, If you want to list everything then set the first argument to 0 and second to true. If you need more info then I recommend taking a look at the wiki regarding the calls list.
Ilanoh (OP)
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
March 01, 2017, 01:38:09 PM
 #4

Thanks Madgamer, I write listreceivedbyaddress <0> [true] but I get an "Error: Error parsing JSON:<0>"

Thanks Hi-Tec I will also try this...

Update : I tried listreceivedbyaddress [1] [true], it's running and I get a "JSON value is not an integer as expected (code -1)"

Update 2 : Same with listreceivedbyaddress [1] [false].

I went on coinbase to check to which address I use to have sent the bitcoins and I tried the dumpprivkey... But same as before, I get Invalid bitcoin address...
MadGamer
Legendary
*
Offline Offline

Activity: 1568
Merit: 1031


View Profile
March 01, 2017, 01:49:10 PM
Last edit: March 01, 2017, 02:04:06 PM by MadGamer
 #5

Thanks Madgamer, I write listreceivedbyaddress <0> [true] but I get an "Error: Error parsing JSON:<0>"

Thanks Hi-Tec I will also try this...

Update : I tried listreceivedbyaddress [1] [true], it's running and I get a "JSON value is not an integer as expected (code -1)"

Update 2 : Same with listreceivedbyaddress [1] [false].

I went on coinbase to check to which address I use to have sent the bitcoins and I tried the dumpprivkey... But same as before, I get Invalid bitcoin address...

You don't need to use the <> and [ ], this should be the command you run:

Code:
listreceivedbyaddress 0 true

I have just tested it and It works just fine. All information's listed should be easy to understand and read.
Ilanoh (OP)
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
March 01, 2017, 02:00:07 PM
 #6

Ok thanks a lot, I'm working on it,

I get back to you if it's ok or not !
Ilanoh (OP)
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
March 01, 2017, 02:08:01 PM
 #7

Hey guys,

Thanks a lot it works,

I'm so happy !!
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!