Author

Topic: Extra BTC withdrawn from wallet - unexpected? (Read 656 times)

vh
hero member
Activity: 699
Merit: 666
Good call.   I had forgotten I turned that on to be able to choose a custom change address.
HCP
legendary
Activity: 2086
Merit: 4361
You may need to enable the "Coin Control" features to see this.

Have a look in "Settings" -> "Options" -> "Wallet"... and tick the box that says "Enable coin control features". You should then get the "Inputs" button section showing up on the "Send" tab Smiley Not sure when exactly this feature was implemented, so it may or may not be in 0.13. I know it is definitely in 0.14.1 Wink
newbie
Activity: 4
Merit: 0
Hmm, doesn't appear to be in 0.13.2, but I'll be upgrading to 0.14.2 shortly so will keep an eye out for that.

Thanks again.
vh
hero member
Activity: 699
Merit: 666
I don't know starting what version, as I send with Bitcoin Core (0.14.1), there is a button that sais "Inputs" with a label indicating automatically selected.   If you click on that button, you can choose which inputs to use.   Otherwise the wallet will, as indicated, choose the most appropriate ones for you automatically (from possibly a change address).
newbie
Activity: 4
Merit: 0
Understood, thanks very much.
legendary
Activity: 3472
Merit: 4801
Thanks for your replies.

So if I understand this correctly, the next time I send a payment or transfer, the 0.04220857 BTC in the change wallet can be used to fund the transaction?

Thanks.

It is still available to your original wallet.  A "change wallet" is not a typical concept in Bitcoin.  I'm assuming you meant to say "change address".  In that case, yes, in the future your original wallet will choose that 0.04220857 BTC change output that was received at the change address to fund some other transaction.

Please don't use "wallet" and "address" interchangeably.  You will only confuse yourself and others.

A bitcoin wallet is a collection of one OR MORE addresses and the associated private keys needed to fund transactions with the bitcoins that are received at those addresses.

A bitcoin address is a single alphanumeric representation of a public key hash. It can be given to a sender so that they can properly structure a transaction that transfers control over some value to you.

Your wallet can and probably should eventually have hundreds of addresses.  It is a good practice to use a brand new address for EVERY transaction that you receive (which is why your wallet creates a brand new address to receive the "change" when you send bitcoins).
newbie
Activity: 4
Merit: 0
Thanks for your replies.

So if I understand this correctly, the next time I send a payment or transfer, the 0.04220857 BTC in the change wallet can be used to fund the transaction?

Thanks.
vh
hero member
Activity: 699
Merit: 666
Transactions are built upon previous transactions, where input = outputs.

The transactions you listed used the output from
https://blockchain.info/tx/0bb7c84fc787e64f134198726eaacf4ffd27fd8c993197de67ef0a7ae24634fa

as input and create two new outputs.

0.00950364 BTC to destination
0.04220857 BTC to a change address in your wallet
0.00049636 BTC as fee.
legendary
Activity: 3472
Merit: 4801
Hi all,

Had a strange transaction on one of my wallets today that I'm hoping someone can shed some light on.

I sent 0.01BTC from my Bitcoin-core wallet (0.13.2) to my Bittrex online wallet and 0.00950364 BTC turned up as expected (minus the 0.00049636 BTC fee), however blockchain.info now shows my Bitcoin-Core wallet as having withdrawn 0.05220857 BTC which is over five times the 0.01 BTC I sent out.  The transactions on my Bitcoin-Core wallet are still a few weeks behind, but it only shows the 0.01BTC being withdrawn.

https://blockchain.info/tx/cf68c7482ee1a92ac31073e3d2cc16b1d23c5f421dd8ea6414d56dfa5dd7f4fd

Any ideas where/why the extra was withdrawn from the wallet?

Thanks.

Blockchain.info doesn't know anything about your wallet.  All it knows about is addresses.  It can't tell with any certainty which addresses belong to which wallets.

What you are seeing is not "strange" at all.  It is exactly how bitcoin works, how it was designed to work, how it has always works.  You've just never paid close attention to the technical details in the past.  Most wallets abstract away those technical details so that you can just think of it like an account, and send and receive value without needing to know how it happens.

Payments that you've received are each tracked separately on the blockchain and are not "merged" simply by sending them to the same address or the same wallet. When a bitcoin transaction is created, the wallet software funds that transaction by choosing from specific payments that you received in the past. It lists these previously received payments as "inputs" supplying value to the transaction.

Then the wallet lists the "outputs", (effectively the addresses that you want to assign the value to and the amount that you want to assign to that address).  If the amount that you are sending is less than the amount of value that was provided to the transaction, then any excess value is a "transaction fee" that the miner can assign to himself as part of the block reward when he confirms your transaction.

If you don't want that entire excess amount to ALL go to transaction fees, then the wallet needs to assign the amount that you want to keep to an output in the transaction.  The wallet creates a new receiving address. It doesn't bother telling you about the address, since it is only used for sending this excess value back into the wallet, but the wallet software is aware of it and stores the private key along with all the other private keys in the wallet.dat file.  The wallet then creates an additional output in the transaction that sends the excess value to that new address.  In the future, the wallet will be able to reference that new receive amount when it wants to fund another transaction.

This new address and extra output in the transaction is commonly called a "change address" and "change output", because it's a bit like paying for a $5 item with a $20 bill.  In such an analogy, you would get $15 back to you in the form of "change" from the cashier.
newbie
Activity: 4
Merit: 0
Hi all,

Had a strange transaction on one of my wallets today that I'm hoping someone can shed some light on.

I sent 0.01BTC from my Bitcoin-core wallet (0.13.2) to my Bittrex online wallet and 0.00950364 BTC turned up as expected (minus the 0.00049636 BTC fee), however blockchain.info now shows my Bitcoin-Core wallet as having withdrawn 0.05220857 BTC which is over five times the 0.01 BTC I sent out.  The transactions on my Bitcoin-Core wallet are still a few weeks behind, but it only shows the 0.01BTC being withdrawn.

https://blockchain.info/tx/cf68c7482ee1a92ac31073e3d2cc16b1d23c5f421dd8ea6414d56dfa5dd7f4fd

Any ideas where/why the extra was withdrawn from the wallet?

Thanks.
Jump to: