Bitcoin Forum
May 05, 2024, 09:27:07 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Miner spending  (Read 566 times)
TKeenan (OP)
Hero Member
*****
Offline Offline

Activity: 874
Merit: 1000



View Profile
May 30, 2015, 06:53:59 PM
 #1

Lets say I reference a transaction output of 1 bitcoin in my new transaction I intend to send to Alice.  I send Alice .5 bitcoin and I take as change .499 leaving .001 as the mining fee.  Both Alice and I will reference those outputs as new inputs on our next transaction.  But how does the miner reference his .001 when he wants to spend that?  He can't point to an output of a transaction hash.  How is this miner fee reference in future transactions?
1714944427
Hero Member
*
Offline Offline

Posts: 1714944427

View Profile Personal Message (Offline)

Ignore
1714944427
Reply with quote  #2

1714944427
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714944427
Hero Member
*
Offline Offline

Posts: 1714944427

View Profile Personal Message (Offline)

Ignore
1714944427
Reply with quote  #2

1714944427
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
May 30, 2015, 08:05:43 PM
 #2

The transaction fee is included as part of the coinbase transaction. If you look at any block's transactions, you will see that the coinbase transaction is little over 25 BTC. The extra on top of the 25 are all of the transaction fees. This way the miner can spend those Bitcoins.

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!