Bitcoin Forum
June 22, 2024, 02:45:05 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: change address  (Read 611 times)
jubalix (OP)
Legendary
*
Offline Offline

Activity: 2618
Merit: 1022


View Profile WWW
February 14, 2014, 12:12:48 PM
 #1

is it that the second address of N addresses that I have is the change address for all transactions.

so say I have addresses 1- 5

1 has 1BTC
2 has 0BTC
3 has 1 BTC
4 has 3BTC
5 has 2BTC

If I send from 5 1 btc to some other address afterwards I would have


1 has 1BTC
2 has 1 BTC
3 has 1 BTC
4 has 3BTC
5 has 0 BTC

Is that right?Huh


then say I send 0.5 from 2 to 4

1 has 1BTC
2 has 0.5 BTC
3 has 1 BTC
4 has 3.5BTC
5 has 0 BTC

because 2 sends 0.5 to itself as it is the change address?


thanks in advance


Admitted Practicing Lawyer::BTC/Crypto Specialist. B.Engineering/B.Laws

https://www.binance.com/?ref=10062065
R2D221
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500



View Profile
February 14, 2014, 04:49:34 PM
 #2

The first one is correct.
For the second one I'm not entirely sure, but sending to yourself doesn't usually make sense (unless the address is in a different wallet).

Also, in both cases you are forgetting the fee (0.0001, I think...).

An economy based on endless growth is unsustainable.
roslinpl
Legendary
*
Offline Offline

Activity: 2212
Merit: 1199


View Profile WWW
February 14, 2014, 10:11:59 PM
 #3


Also, in both cases you are forgetting the fee (0.0001, I think...).

that is what I wanted to say just like now Smiley So I just quote.
jubalix (OP)
Legendary
*
Offline Offline

Activity: 2618
Merit: 1022


View Profile WWW
February 17, 2014, 01:08:36 AM
 #4

so address 2 is always the change address?

Admitted Practicing Lawyer::BTC/Crypto Specialist. B.Engineering/B.Laws

https://www.binance.com/?ref=10062065
R2D221
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500



View Profile
February 19, 2014, 08:41:17 PM
 #5

so address 2 is always the change address?
I believe Jim has confirmed this before, but I don't remember where's the post.

An economy based on endless growth is unsustainable.
jim618
Legendary
*
Offline Offline

Activity: 1708
Merit: 1066



View Profile WWW
February 20, 2014, 08:55:03 PM
 #6

Yes - that's right - the change always goes to the second address, if it is present.
If there is just one address in your wallet it uses that as the change address.

MultiBit HD   Lightweight desktop client.                    Bitcoin Solutions Ltd   Bespoke software. Consultancy.
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!