Bitcoin Forum
December 12, 2024, 08:33:07 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: why deepbit address sends btc to himself?  (Read 580 times)
BRules (OP)
Sr. Member
****
Offline Offline

Activity: 293
Merit: 250


View Profile
November 13, 2012, 01:46:34 AM
 #1

like: http://blockchain.info/tx/75a8373b98892ef09181bf66fd924bdc72348b3badf411635c7837f5f2b861b6

why not only send the 0.01 BTC to the other address?

DannyHamilton
Legendary
*
Offline Offline

Activity: 3514
Merit: 4894



View Profile
November 13, 2012, 04:16:36 AM
 #2

This is how bitcoin works.  Anytime you spend/send bitcoin you have to spend previous outputs in their entirety as inputs.  If the total of the inputs ends up being more than you want to spend, then you have to send the extra back to yourself as a new output.

If at the time of that transaction deepbit happened to have an output valued at 0.01 BTC, then they could perhaps have simply spent that one output.  Instead they spent an output that was valued at 3.25397458 BTC.  Having used that output as the input to their transaction, they created 2 new outputs sending 0.01 BTC to an address, and the remaining change back to the original address as a new output.
BRules (OP)
Sr. Member
****
Offline Offline

Activity: 293
Merit: 250


View Profile
November 13, 2012, 04:43:47 AM
 #3

again, thank you very much for the info

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!