Bitcoin Forum
May 04, 2024, 05:33:28 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Question on Transaction Fee and TX input/output, technically  (Read 1159 times)
iacz489 (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
July 13, 2014, 12:19:40 AM
 #1

As we know Bitcoin currently has a minimum transaction fee threshold of 0.0001 BTC (10^4 Satoshi). During the process I make analysis of transactions within the recent two years, I found many transactions that has an (input sum-output sum) lower than 0.0001BTC, which is not considered a valid transaction fee (therefore 0 transaction fee).
For example, the tx with ID ef375a852af090f092426c3dc9e8879eef512c338cbf30b83951cff9196c9862   has only 519 more satoshi in the input sum than the outputs, so this single transaction is considered a 0-fee transaction.
My QUESTION is, in the above case, what happens to the difference of 519 Satoshi? Is this still claimed by the miner, or this tiny amount of money simply goes destroyed?
1714800808
Hero Member
*
Offline Offline

Posts: 1714800808

View Profile Personal Message (Offline)

Ignore
1714800808
Reply with quote  #2

1714800808
Report to moderator
"If you don't want people to know you're a scumbag then don't be a scumbag." -- margaritahuyan
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
azeteki
Member
**
Offline Offline

Activity: 96
Merit: 10

esotericnonsense


View Profile WWW
July 13, 2014, 12:43:13 AM
 #2

The transaction fee 'minimum' is a node-level construct. It applies to relaying of transactions.

Miners do not have to consider this. They are free to set fee policy as they wish.

The fee does exist. It is just considered as zero for relaying purposes.

I am not sure how transaction fee relay rules functioned in September 2012. Under the current system this transaction would not be relayed and would have to be submitted to, or produced by, a miner directly.

An interesting quirk is that miners are also free to choose not to claim fees, in which case they are indeed destroyed.
A miner can produce a block with a coinbase of 0 BTC if they so wished, I believe. It would just be a rather irrational choice.

iacz489 (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
July 13, 2014, 12:48:39 AM
 #3

So you mean that if such a transaction is submitted to a miner who is willing to confirm it, this 519 Satoshi will belong to the miner still?
I guess this should sound stupid but I just want details clarified. Thank you.
azeteki
Member
**
Offline Offline

Activity: 96
Merit: 10

esotericnonsense


View Profile WWW
July 13, 2014, 01:19:20 AM
 #4

So you mean that if such a transaction is submitted to a miner who is willing to confirm it, this 519 Satoshi will belong to the miner still?
I guess this should sound stupid but I just want details clarified. Thank you.

If said miner chooses to claim it (as any rational miner should), yes.

DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4615



View Profile
July 13, 2014, 01:21:35 AM
 #5

So you mean that if such a transaction is submitted to a miner who is willing to confirm it, this 519 Satoshi will belong to the miner still?

Yes.  Miners in current times reliably claim as part of their block reward all transaction fees from all transactions that they confirm.

Note, that the protocol does not REQUIRE that the miner claim the entire reward that they are due.  If a miner wants to claim a smaller reward (and be less profitable?), they can do so and the unclaimed portion of the reward will simply cease to exist.

There was a time in the early days of bitcoin where a bug in someone's mining code caused the miner to claim a smaller reward.  Therefore there are slightly less bitcoins in existence than there otherwise could be.
iacz489 (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
July 13, 2014, 02:24:21 AM
 #6


I was a bit confused by your saying miners "claim" their reward. I know miners claim the mining rewarding by generation transactions with outputs to their own addresses. But as to the transaction fees, does it simply work in the way that the
transaction fee=input sum-output sum
and this difference goes as money belong to the block of specific miners?
I might be making mistakes and please correct me if I did. Thanks.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4615



View Profile
July 13, 2014, 02:47:40 AM
 #7


I was a bit confused by your saying miners "claim" their reward. I know miners claim the mining rewarding by generation transactions with outputs to their own addresses. But as to the transaction fees, does it simply work in the way that the
transaction fee=input sum-output sum
and this difference goes as money belong to the block of specific miners?
I might be making mistakes and please correct me if I did. Thanks.

Miners claim their reward by creating a generation transaction that has no inputs and that assigns one or more outputs.

The protocol limits the value of the sum of the outputs in the generation transaction to be less than or equal to the sum of the block subsidy (currently 25 BTC) AND the transaction fees of all transactions that the miner includes in the block.

The sum of the transaction fees of all transactions in the block can be calculated as the sum of all inputs in the block minus the sum of all non-generation outputs in the block.  Another way to look at it is that the sum of all output in the block (including the generation transaction) must be less than or equal to the sum of the block subsidy AND all the inputs in the block.
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
July 13, 2014, 01:44:28 PM
 #8

As we know Bitcoin currently has a minimum transaction fee threshold of 0.0001 BTC (10^4 Satoshi).
It most certantly does not.

In any case, many (most?) miners do "regard" fees below some threshold as zero in order to prevent people from jumping the queue just by paying an infinitesimal fee... but they still collect it all the same, they just treat it as zero when prioritizing.
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!