Bitcoin Forum
June 22, 2024, 08:11:51 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain.info wallet import "reversed" my transaction change.  (Read 942 times)
dbbit (OP)
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
September 13, 2013, 10:41:40 AM
Last edit: November 08, 2017, 05:34:27 PM by dbbit
 #1

I've imported a bitcoin-qt wallet.dat into blockchain.info.

For some reason, blockchain.info ignore the "change" that you get as part of a transaction. So now the balance is way off.

E.g if you look at:
https://blockchain.info/tx/2f2b2b49523fe9c964115efdf7fc2254caa52dba33055f1ab500cccae900ccbd

I spent BTC 0.25 from an address with BTC 1 in it, so I got BTC 0.75 in change. Yeah, BlockChain.info just see it as I spent BTC 1. Uhh...  Roll Eyes

So I think somehow blockchain.info missed the "return addresses" (what are these called anyway?) during the import.

How do I fix it?


PS: Why are the return addresses for the change unique addresses, and not just the originating address?
dbbit (OP)
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
September 13, 2013, 11:30:30 AM
 #2

Figured it out.

pywallet.py --dumpwallet

Then paste the output into "Import Wallet" in blockchain.info.
Mitchell
Copper Member
Legendary
*
Offline Offline

Activity: 3962
Merit: 2207


Verified awesomeness ✔


View Profile WWW
September 13, 2013, 11:45:39 AM
 #3

So I think somehow blockchain.info missed the "return addresses" (what are these called anyway?) during the import.

PS: Why are the return addresses for the change unique addresses, and not just the originating address?

They are called change addresses and are used to increase security and anonymity.

.
Duelbits
            ▄████▄▄
          ▄█████████▄
        ▄█████████████▄
     ▄██████████████████▄
   ▄████▄▄▄█████████▄▄▄███▄
 ▄████▐▀▄▄▀▌████▐▀▄▄▀▌██

 ██████▀▀▀▀███████▀▀▀▀█████

▐████████████■▄▄▄■██████████▀
▐██████████████████████████▀
██████████████████████████▀
▀███████████████████████▀
  ▀███████████████████▀
    ▀███████████████▀
.
         ▄ ▄▄▀▀▀▀▄▄
         ▄▀▀▄      █
         █   ▀▄     █
       ▄█▄     ▀▄   █
      ▄▀ ▀▄      ▀█▀
    ▄▀     ▀█▄▄▄▀▀ ▀
  ▄▀  ▄▀  ▄▀

Live Games

   ▄▄▀▀▀▀▀▀▀▄▄
 ▄▀ ▄▄▀▀▀▀▀▄▄ ▀▄
▄▀ █ ▄  █  ▄ █ ▀▄
█ █   ▀   ▀   █ █  ▄▄▄
█ ▀▀▀▀▀▀▀▀▀▀▀▀▀ █ █   █
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█  █▄█
█ ▀▀█  ▀▀█  ▀▀█ █  █▄█

Slots
.
        ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄
        █         ▄▄  █
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄       █
█  ▄▄         █       █
█             █       █
█   ▄▀▀▄▀▀▄   █       █
█   ▀▄   ▄▀   █       █

Blackjack
|█▀▀▀▀▀█▄▄▄
       ▀████▄▄
         ██████▄
▄▄▄▄▄▄▄▄█▀    ▀▀█
████████▄        █
█████████▄        █
██████████▄     ▄██
█████████▀▀▀█▄▄████
▀▀███▀▀       ████
   █          ███
   █          █▀
▄█████▄▄▄ ▄▄▀▀
███████▀▀▀
.
                 NEW!                  
SPORTS BETTING 
|||
[ Đ ][ Ł ]
AVAILABLE NOW

Advertisements are not endorsed by me.
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1255


May Bitcoin be touched by his Noodly Appendage


View Profile
September 13, 2013, 12:24:48 PM
 #4

https://en.bitcoin.it/wiki/Change

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3430
Merit: 4669



View Profile
September 13, 2013, 01:08:34 PM
 #5

Figured it out.

pywallet.py --dumpwallet

Then paste the output into "Import Wallet" in blockchain.info.

Another option would have been to send the entire balance from your -QT wallet to a single receive address in your -QT wallet prior to importing.  That way none of the balance would have been associated with a "change" address.  I'm surprised that the import doesn't recognize "change" addresses.  Hopefully Piuk fixes that in the near future.  It sure seems like an oversight on his part.
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!