Post
Topic
Board Development & Technical Discussion
Merits 4 from 3 users
Re: How does a miner receives a transaction fee
by
DannyHamilton
on 24/01/2020, 18:07:44 UTC
⭐ Merited by gmaxwell (2) ,JollyGood (1) ,ETFbitcoin (1)
Each block has a coingen transaction for the block subsidy - so far so good.
But how does the miner gets the fees of transactions in a block?

Exactly the same way.

The "coingen transaction" of the block doesn't only have the block subsidy. It has the block subsidy + the transaction fees.

Is there a "getTransactionFees()" transaction?

Nope.  Just the "coingen transaction"