Bitcoin Forum
May 26, 2024, 03:47:13 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: confirmations on change address  (Read 734 times)
flower1024 (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1000


View Profile
September 11, 2012, 07:57:25 AM
 #1

hi,

just a small question:

if i send a transaction the change goes to another address (i am speaking about reference implementation).
why aren't there any confirmations needed? it seems to be a normal transaction.

what would happen if i use a wallet (e.g. blockchain.info) and use another partys address as a change address. would he need to wait for confirmations (i guess yes, because i dont see a way to distinguish between change and "real" transaction?
Revalin
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


View Profile
September 11, 2012, 08:38:06 AM
 #2

Waiting for confirmations isn't a network requirement.  It's just a trust issue.

You can automatically trust your own change.  You're not going to double-spend attack yourself, so there's no need to wait.

The "change" has no technical difference from the "payment".  It's just two outputs.  For example, consider these two transactions:

Address A has 1 BTC
You pay 0.75 BTC to B
You receive 0.25 BTC change to C

Address A has 1 BTC
You pay 0.75 BTC to B and 0.25 BTC to C
There is no change left over

The only difference is in the first, address C was automatically generated by your client; in the second, you entered it manually.  From a network and blockchain perspective these two transactions are identical, bit for bit.

      War is God's way of teaching Americans geography.  --Ambrose Bierce
Bitcoin is the Devil's way of teaching geeks economics.  --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
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!