Bitcoin Forum
May 08, 2024, 12:14:42 AM *
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?
1715127282
Hero Member
*
Offline Offline

Posts: 1715127282

View Profile Personal Message (Offline)

Ignore
1715127282
Reply with quote  #2

1715127282
Report to moderator
1715127282
Hero Member
*
Offline Offline

Posts: 1715127282

View Profile Personal Message (Offline)

Ignore
1715127282
Reply with quote  #2

1715127282
Report to moderator
You can see the statistics of your reports to moderators on the "Report to moderator" pages.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715127282
Hero Member
*
Offline Offline

Posts: 1715127282

View Profile Personal Message (Offline)

Ignore
1715127282
Reply with quote  #2

1715127282
Report to moderator
1715127282
Hero Member
*
Offline Offline

Posts: 1715127282

View Profile Personal Message (Offline)

Ignore
1715127282
Reply with quote  #2

1715127282
Report to moderator
1715127282
Hero Member
*
Offline Offline

Posts: 1715127282

View Profile Personal Message (Offline)

Ignore
1715127282
Reply with quote  #2

1715127282
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6631


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!