Bitcoin Forum
September 27, 2024, 03:15:15 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Miner spending  (Read 570 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?
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3500
Merit: 6833


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!