Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: CaptainBeck on June 15, 2014, 01:56:14 PM



Title: Transaction Info
Post by: CaptainBeck on June 15, 2014, 01:56:14 PM
https://blockchain.info/tx/629770e3c120ad24cbe3512f7af2cdc06a675cf535cc1839921a179bce4b7b8b

So i made a payment from old wallets which i keep on the core client. The 0.0175 BTC pay was the real transaction, but there was a second payment made that my wallet client didnt show but the block did for 0.01000326 BTC. Is this something i should be worried about before i move more out of this old wallet??


Title: Re: Transaction Info
Post by: shorena on June 15, 2014, 01:58:53 PM
Thats your change. If you enable coin control its more clear


Title: Re: Transaction Info
Post by: CaptainBeck on June 15, 2014, 02:00:54 PM
Coin Control???

So the wallet on the client shows only 0.0175 left the account, but the online trackers show that 0.2750326 left the account, and is now in a second address, how can i access that, or will be sent back?


Title: Re: Transaction Info
Post by: shorena on June 15, 2014, 02:07:04 PM
Coin Control???

https://bitcoinfoundation.org/2014/03/19/whats-new-in-bitcoin-core-0-9-0/

https://bitcoinfoundation.org/blog/wp-content/uploads/2014/03/coin_control_dialog.png


Maybe you dont have it if you are using a version prior to 0.9.0.

So the wallet on the client shows only 0.0175 left the account, but the online trackers show that 0.2750326 left the account, and is now in a second address, how can i access that, or will be sent back?

https://blockchain.info/address/14kCuHXCrsxuynNCn4jBmU1B46w78B2EUY

blockchain.info sees 0.66983844 BTC. Maybe start it with "-rescan".

Edit: I didnt answer the question, sorry. The change address is one of the addresses that is allready in your wallet.dat but not shown yet. So its yours and you can spend. The client just tried to hide this from you to make the use a little easier IIRC.


Title: Re: Transaction Info
Post by: joshraban76 on June 15, 2014, 02:09:20 PM
As shorena said, if the problem still exist, used the "-rescan" command line.

It will help you to sort that thing out.


Title: Re: Transaction Info
Post by: CaptainBeck on June 15, 2014, 02:12:19 PM
"-rescan"  in the command line will surely just show me that 0.275 will be removed, it wont give me the missing BTC. This is only a worry because i want to remove all the BTC on several wallets kept on that client, and dont want to lose just under half of all of it. 


Title: Re: Transaction Info
Post by: BookLover on June 15, 2014, 03:10:03 PM
Read this:https://en.bitcoin.it/wiki/Change (https://en.bitcoin.it/wiki/Change)

It will explain your situation.


Title: Re: Transaction Info
Post by: CaptainBeck on June 15, 2014, 03:23:52 PM
Thank you very much, I had a feeling this was a change address thing.

I dont use the core client for wallets, these are old wallets on a distance computer which i was planning on moving, so thought i'd do some small stuff first just to see how the wallets work.

I had a slight worry that there was a virus adding other transactions in every time i made a pay which i dont want when i'm about to send all the money out of there.

So in the core client, how do i see these change addresses??


Title: Re: Transaction Info
Post by: joshraban76 on June 15, 2014, 03:48:24 PM
Thank you very much, I had a feeling this was a change address thing.

I dont use the core client for wallets, these are old wallets on a distance computer which i was planning on moving, so thought i'd do some small stuff first just to see how the wallets work.

I had a slight worry that there was a virus adding other transactions in every time i made a pay which i dont want when i'm about to send all the money out of there.

So in the core client, how do i see these change addresses??

If you are using a version of 0.9.0 or above, you won't be able to see it.


Title: Re: Transaction Info
Post by: CaptainBeck on June 15, 2014, 03:49:42 PM
Lol, sadly i changed that computer over to the new client just before making the transaction.

But the client still has access to the new address, just doesnt show it??


Title: Re: Transaction Info
Post by: shorena on June 15, 2014, 04:40:17 PM
Lol, sadly i changed that computer over to the new client just before making the transaction.

But the client still has access to the new address, just doesnt show it??

Yes, the client has access to the address and (more importantly) to the public and private key that belongs to that address. So you can spend it and the change is part of your overall balance. So if you have an overall balance of .67, spend .175 (but there has been .025 change in that transaction) you will have an overall balance of .495 afterwards.

If you dont have coin control enabled you just spend coins from "some input". If you have coin controll enabled you can choose from which former input you want to spend the coins.

I am not 100% sure if it shows under the coin controll window as a possible input, but Id argue it should. The address should only be missing from your "addressbook".


Title: Re: Transaction Info
Post by: CaptainBeck on June 15, 2014, 04:45:07 PM
Cool,

Is it possible to just send the change back to the main account?? Or is that just pointless because their might be change again?? Or really the change doesnt need to be broken down again.


Title: Re: Transaction Info
Post by: shorena on June 15, 2014, 04:55:54 PM
Cool,

Is it possible to just send the change back to the main account?? Or is that just pointless because their might be change again?? Or really the change doesnt need to be broken down again.

Yes, with coin controll you can force changeaddress. So lets say you have an input with .2 and want to spend .175 to buy idk, cake.
You make a new TX and put the address, the label and amount for the cake person up. On the top you can pick a "custom change address"
As you can see here:

https://bitcoinspakistan.com/files/2014/03/coin_control_enabled.png

AFAIK This can be any bitcoin address, even one that you dont have the pub/priv. key for.

I just realized that I slightly missed your question. Let me try again ;)

So you want to send the change back to address X, correct?

Well if the change is shown as one of the inputs. Again I cant test that right now, but im pretty sure it does. You can handle it like any other input and spend it however you like. You will have to pay the usually fee however, since it will be a normal blockchain transaction.


Title: Re: Transaction Info
Post by: CaptainBeck on June 15, 2014, 04:58:53 PM
Ok I get you.

My windows client looks like it has less options but guess i;ve got to dive abit deeper into the client.


Title: Re: Transaction Info
Post by: shorena on June 15, 2014, 05:01:39 PM
Ok I get you.

My windows client looks like it has less options but guess i;ve got to dive abit deeper into the client.

Well this:

Lol, sadly i changed that computer over to the new client just before making the transaction.

But the client still has access to the new address, just doesnt show it??

sounded like you have 0.9.1 running now. There is a setting in the options menu somewhere that says "enable coin cointrol (advanced (or expert?) users only)"

If you enable that you will see a slightly different window for your next transaction.


Title: Re: Transaction Info
Post by: CaptainBeck on June 15, 2014, 05:04:20 PM
Thank you for the help on this.

I'm used to online wallets because I dont trust in keeping my home computer complete safe. The only client wallets I use are on a pretty safe work computer that i dont browse on.


Title: Re: Transaction Info
Post by: paythrough_team on June 16, 2014, 11:21:09 AM
Transaction information should be recorded on blockchain.


Title: Re: Transaction Info
Post by: CaptainBeck on June 16, 2014, 11:28:31 AM
Yup the information is recorded in the block chain, i posted a link to the transaction.

Yeah further inspection of the transaction it does state that only 0.0175 was transferred and the rest was kept.


Title: Re: Transaction Info
Post by: bridgeknocker on June 16, 2014, 06:45:44 PM
Which client?


Title: Re: Transaction Info
Post by: CaptainBeck on June 17, 2014, 11:39:17 PM
The old payment was made on the 0.8 something and my client is now 0.9 something.

Its all sorted now, the client was just wasnt showing the change address but including it in the total, changing the setting solved it.

Its only annoying because I normal keep an eye on all my address via blockchain so i dont have to be with the wallets on different machines.