Bitcoin Forum
April 20, 2024, 03:28:24 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Bitcoin lost after export/import keys  (Read 1356 times)
w3ida (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
March 02, 2014, 10:35:40 PM
 #1

Hi,

I wanted to switch from bitcoin-qt to multibit. So, I exported all my private keys using dumpprivkey from bitcoin-qt. After importing them to multibit not all btc are shown.

Can anybody image what I did wrong?

Regards
1713583704
Hero Member
*
Offline Offline

Posts: 1713583704

View Profile Personal Message (Offline)

Ignore
1713583704
Reply with quote  #2

1713583704
Report to moderator
Every time a block is mined, a certain amount of BTC (called the subsidy) is created out of thin air and given to the miner. The subsidy halves every four years and will reach 0 in about 130 years.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713583704
Hero Member
*
Offline Offline

Posts: 1713583704

View Profile Personal Message (Offline)

Ignore
1713583704
Reply with quote  #2

1713583704
Report to moderator
silvestar
Legendary
*
Offline Offline

Activity: 1134
Merit: 1002



View Profile
March 02, 2014, 10:45:32 PM
 #2

Some of your bitcoin is on your change addresses (hidden to you in qt)
w3ida (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
March 02, 2014, 10:47:02 PM
 #3

Ok. Any idea how I could access them?
silvestar
Legendary
*
Offline Offline

Activity: 1134
Merit: 1002



View Profile
March 02, 2014, 10:50:15 PM
 #4

Ok. Any idea how I could access them?

Do you still have your bitcoin-qt wallet.dat or any backup?
w3ida (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
March 02, 2014, 10:50:50 PM
 #5

Yes
silvestar
Legendary
*
Offline Offline

Activity: 1134
Merit: 1002



View Profile
March 02, 2014, 10:52:13 PM
 #6

Yes

Then it is extremely simple, just send all your bitcoin using qt to an address on your multibit wallet (either an imported one or a newly generated one).

w3ida (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
March 02, 2014, 10:55:36 PM
 #7

Then it is extremely simple, just send all your bitcoin using qt to an address on your multibit wallet (either an imported one or a newly generated one).

But then I have to wait until the bitcoin-qt blockchain is fully downloaded, right?! To avoid that, I wanted to switch the client. ;-)
silvestar
Legendary
*
Offline Offline

Activity: 1134
Merit: 1002



View Profile
March 02, 2014, 10:56:50 PM
 #8

Then it is extremely simple, just send all your bitcoin using qt to an address on your multibit wallet (either an imported one or a newly generated one).

But then I have to wait until the bitcoin-qt blockchain is fully downloaded, right?! To avoid that, I wanted to switch the client. ;-)

Try this then.
Upload your wallet.dat here (https://blockchain.info/wallet/import-wallet) and send all your bitcoin to an address on your new multibit wallet.
w3ida (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
March 02, 2014, 11:34:52 PM
 #9

There is no possibility to export the "keys" of the change addresses to import them to multibit? I do not feel comfortable to upload them to a 3rd party.
silvestar
Legendary
*
Offline Offline

Activity: 1134
Merit: 1002



View Profile
March 02, 2014, 11:52:49 PM
 #10

There is no possibility to export the "keys" of the change addresses to import them to multibit?

You can try pywallet then.
https://github.com/jackjack-jj/pywallet
w3ida (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
March 03, 2014, 09:48:28 AM
 #11

Thanks! Unfortunately it does not work.

Is there a possibility to export the changed addresses via console?
Wanesst
Sr. Member
****
Offline Offline

Activity: 421
Merit: 250



View Profile
March 03, 2014, 10:40:52 AM
 #12

I'm in the same situation. Are some of my bitcoin is on my change addresses, or they are lost?

w3ida (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
March 03, 2014, 10:45:39 AM
 #13

If you have a backup of your wallet.dat they are still there
silvestar
Legendary
*
Offline Offline

Activity: 1134
Merit: 1002



View Profile
March 03, 2014, 12:44:06 PM
 #14

Thanks! Unfortunately it does not work.

Is there a possibility to export the changed addresses via console?


Enter "listunspent" in the RPC console, it should give you all addresses with positive balance.
You can then export/import each private key one by one, but it will take lots of time and clicking if you have hundreds of change addresses. Smiley
w3ida (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
March 03, 2014, 01:40:02 PM
 #15

I just had a few addresses so this should work for me. :-)
I will test it today and give a reply.

So first enter listunspent and then using dumpprivkey to get the keys for the addresses?!


w3ida (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
March 03, 2014, 01:51:31 PM
 #16

btw: I already tried to use listaddressgroupings but I was unable to export the privkey for every address (only for my "real"-addresses but not for the change addresses)
w3ida (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
March 03, 2014, 02:21:26 PM
 #17

Ok, I tried it but I am not able to dumpprivkey the change-addresses. Bitcoinqt always gives me an error.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3360
Merit: 4570



View Profile
March 03, 2014, 03:47:26 PM
 #18

Ok, I tried it but I am not able to dumpprivkey the change-addresses. Bitcoinqt always gives me an error.

This should work.  I've done it many times.

Is your wallet password protected?  If so, you'll need to use walletpassphrase before using dumpprivkey.

Are you certain that you are copying the addresses from listunspent correctly?
w3ida (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
March 03, 2014, 03:52:02 PM
 #19


This should work.  I've done it many times.

Is your wallet password protected?  If so, you'll need to use walletpassphrase before using dumpprivkey.

Are you certain that you are copying the addresses from listunspent correctly?


Yes, the wallet is encrypted. I'll try it again. :-)

Thanks for your help!
cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
March 03, 2014, 04:59:48 PM
 #20

Then it is extremely simple, just send all your bitcoin using qt to an address on your multibit wallet (either an imported one or a newly generated one).

But then I have to wait until the bitcoin-qt blockchain is fully downloaded, right?! To avoid that, I wanted to switch the client. ;-)

You might have to wait until it syncs anyway to use listunspent.

Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
Pages: [1] 2 »  All
  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!