Bitcoin Forum

Bitcoin => Electrum => Topic started by: waduhek on January 30, 2018, 10:59:13 AM



Title: Sweeping from Bitcoin Core Private Key, Wrong Amount?
Post by: waduhek on January 30, 2018, 10:59:13 AM
Hey guys, I've been out of the loop for a few years and I've just been trying to move my BTC from my old Bitcoin Core wallet on my old Windows PC (which I updated to Bitcoin Core 0.15) to my Linux laptop. I prefer to use Electrum since I don't think I'll have enough storage to sync the entire blockchain after a few years, and it's a pain to sync on our slow internet. I've followed this guide below but I'm a little confused once I import my private keys. I have around 9 BTC in my old wallet, but when I sweep my key it says it will be sweeping 49mBTC? Surely this can't be right.

https://en.bitcoin.it/wiki/Transferring_coins_from_Bitcoin-Qt_to_Electrum

Is there something I'm missing? Is it just a visual glitch? Thanks in advance :)


Title: Re: Sweeping from Bitcoin Core Private Key, Wrong Amount?
Post by: ranochigo on January 30, 2018, 11:21:13 AM
Bitcoin Core sends the change to a new address, which is called a change address. Those aren't displayed on the UI itself but its hidden and its balance is shown.

Go to console (Help>Debug Console>Console) and key in
Code:
listaddressgroupings
. This will list all the addresses that were generated with your wallet file.


Title: Re: Sweeping from Bitcoin Core Private Key, Wrong Amount?
Post by: waduhek on February 11, 2018, 06:07:40 AM
Thanks, look like that did the trick. Turns out I had several addresses - exporting the private key for each and then sweeping into electrum worked fine.