Pages:
Author

Topic: Who receives the Bitcoin transaction fee and how does it technically work? (Read 413 times)

full member
Activity: 236
Merit: 117
Who receives this fee and how does it technically work?

I think this thread gives you a better idea about how a Bitcoin transaction fee technically works - Bitcoin Transaction Fees - Everything in one by @hd49728. You can refer to this article to understand better.
legendary
Activity: 2310
Merit: 10758
There are lies, damned lies and statistics. MTwain
I have a question about this mining thing. All bitcoin generated from mining goes to coinbase exchange and from there are distributed to pools and miners?
Coinbase Exchange has nothing to do with it (the exchange’s name is probably based on what follows, but that’s all).

Each Bitcoin block contains a first transaction that is used to claim the block reward from mining and transaction fees. That TX is called the Coinbase Transaction, where the input is a sole blank input known as Coinbase.
sr. member
Activity: 1106
Merit: 310
fee's are given to miners in the network, as payment they are given to them by the number of hashing power they have so the more miners you have you recieved more payment than those who have less miner,
to understand more here is the link below hope this helps
https://www.bitcoinmining.com/bitcoin-mining-fees/
newbie
Activity: 14
Merit: 0
I have a question about this mining thing. All bitcoin generated from mining goes to coinbase exchange and from there are distributed to pools and miners?
copper member
Activity: 2324
Merit: 2142
Slots Enthusiast & Expert
Oh come on guys! You got jebaited by game-protect. She was just trolling to get her signature and avatar displayed in this section.

@GP before you ask, kindly open and read this faq https://bitcoin.org/en/faq

It should save everyone's time.
legendary
Activity: 2940
Merit: 3030
Maybe you should try to do some research by yourself , Google will help you on that !  Cheesy

Miner fees :

What is the difference between miners and nodes?

There is already a thread about that:
https://bitcointalksearch.org/topic/difference-between-miners-and-nodes-1734235

Also you can read that here :

Quote
A full node is a complete copy of the blockchain and is able to verify all transactions since the beginning. This requires about 140GB of drive space (currently).

A pruning node is one that has verified all prior transactions; however, it has deleted all blocks below a certain space requirement, but still has a copy of the UXTO set. It's almost useless to the community, but takes less resources on the computer (can be under 1GB of drive space).

A miner on the other hand creates blocks in the blockchain which the nodes keep. Basically, the miner works on transactions by coming up with the best combination (hash) to store that information. Miners spend about 10 minutes working on a problem, but nodes keep that result forever after in the database and verify it with others. Miners don't need to know about prior blocks (except for the prior one) with very few exceptions.
Source : https://bitcoin.stackexchange.com/questions/59220/what-is-the-difference-between-a-miner-and-a-full-node

Just google it and maybe you should do more research on the Basics for Bitcoin and related things to it !
hero member
Activity: 1344
Merit: 507
What is the minimum relay fee and who receives it and how?

What is the difference between miners and nodes?
legendary
Activity: 2912
Merit: 2066
Cashback 15%
Great explanation Twitchy!

Now the only unclear thing is the relay fees / nodes?

If the miners confirm the transactions in blocks, for what are the nodes necessary?

Connectivity, resilience and verification.

If only mining pools where to run nodes they could be relatively easily isolated from the rest of the network, be it by accident (e.g. large to mid-scale network outages) or by malicious intent (e.g. DDoS attacks, governmental interference). One effect of this would be a higher orphan rate (ie. miners forking of the main chain by accident), leading to (1) decreased security due to less effective usage of hashing power and (2) decreased reliability of confirmations due to higher risk of chain splits and reorgs. Especially the latter has significant practical implications since low confirmation transactions would be prone to "disappear". Also, bluntly speaking, it's easier to block a few dozen servers rather than a few thousands.

Apart from why the network profits from having as many nodes as possible it's more secure to run a node of your own if you process a lot of transactions (eg. as a merchant, payment provider or currency exchange). Rather than having to trust a third party on what they say what the blockchain looks like, look for yourself. Or as the old adage goes: Don't trust, verify.
hero member
Activity: 1344
Merit: 507
Great explanation Twitchy!

Now the only unclear thing is the relay fees / nodes?

If the miners confirm the transactions in blocks, for what are the nodes necessary?
legendary
Activity: 2520
Merit: 2015
Join the world-leading crypto sportsbook NOW!
Where is the fee I pay (when sending BTC) stored until the miner possibly gets it?

You might say it's stored within your unconfirmed transaction, which is probably sitting in the mempool of various miners. Until the transaction is actually confirmed on the blockchain, the fee hasn't really been paid.
Even after my BTC transaction is confirmed by miners the blockchain does not show to what BTC address the fee went!

Find the block number that the transaction was included in => Find who mined that block => Find their address (it will receive the block reward of BTC12.5 + fees.

For example:

Here's the tx that h4ns sent the $210 you scammed : https://www.blockchain.com/btc/tx/88cea5e9935103e173e25483c1db298ab8ae7d9fa12e5572788134bb2cdb3c3f

It was included in block 573956: https://www.blockchain.com/btc/block/573956

Which was mined by BTCTOP (they don't always have a name), and they received BTC13.09600094 (BTC12.5 block reward + BTC0.596000939 in fees) which was sent to 1Hz96kJKF2HLPGY15JWLB5m9qGNxvt8tHJ in this tx: https://www.blockchain.com/btc/tx/c0d4ecea9d3005a2cb27e139c940624a9e583661e94a75a3ba5b336f5c4e4a74
hero member
Activity: 1344
Merit: 507
Where is the fee I pay (when sending BTC) stored until the miner possibly gets it?

You might say it's stored within your unconfirmed transaction, which is probably sitting in the mempool of various miners. Until the transaction is actually confirmed on the blockchain, the fee hasn't really been paid.
Even after my BTC transaction is confirmed by miners the blockchain does not show to what BTC address the fee went!
legendary
Activity: 1666
Merit: 1196
STOP SNITCHIN'
The miner who verifies my transaction to another BTC address will get the relay fee?
More specifically, the miner who includes your transaction in a valid block may collect the transaction fee.
Where is the fee I pay (when sending BTC) stored until the miner possibly gets it?

You might say it's stored within your unconfirmed transaction, which is probably sitting in the mempool of various miners. Until the transaction is actually confirmed on the blockchain, the fee hasn't really been paid.
legendary
Activity: 2954
Merit: 4158
Both, my wallet and the blockchain states fee and does not diversify between relay fee and transaction fee.

If the fee is split in relay and transaction fee, who receives the relay fee and technically how and who receives the transaction fee and technically how?

The reference client take the transaction fee as a metric to see what is the minimum transaction fee for the client to include the transaction into their mempool. They term that as a minimum 'relay' fee. The node does not take a cut from the transaction fee.

The nodes say for how much they are willing to relay the transaction, but do not receive the relay fee?

If yes, who receives the relay fee and technically how?
Relay fee = transaction fee. Its just that the reference client choose to call it a 'relay' fee. The miner will still take the full transaction fee.
hero member
Activity: 1344
Merit: 507
The miner who verifies your transaction will get the fee.
The miner who verifies my transaction to another BTC address will get the relay fee?

More specifically, the miner who includes your transaction in a valid block may collect the transaction fee.
Where is the fee I pay (when sending BTC) stored until the miner possibly gets it?


For OP, there is a difference between relay fee and transaction fee.
Both, my wallet and the blockchain states fee and does not diversify between relay fee and transaction fee.

If the fee is split in relay and transaction fee, who receives the relay fee and technically how and who receives the transaction fee and technically how?


For the relay fee, it is termed as such for the nodes as a parameter. This is the minimum fee for which the nodes are willing to relay the transaction. Nodes do not take a cut from this. For transaction fees, the miners take the entire transaction fee.
The nodes say for how much they are willing to relay the transaction, but do not receive the relay fee?

If yes, who receives the relay fee and technically how?
legendary
Activity: 2954
Merit: 4158
Miners usually pick the transactions with higher fee. But there is a factor called priority based on which the transactions are mined. The formula is as follows:
priority = sum(input_value_in_base_units * input_age)/size_in_bytes
Miner usually don't actually look at the priority nowadays. There is no reason for them to look at the priority when the mempool is always filled and that fees are the determining factor as to which transaction gets included in the block. In addition, the priority system is irrelevant with the mempool being filled all the time and has already been deprecated.

For OP, there is a difference between relay fee and transaction fee. For the relay fee, it is termed as such for the nodes as a parameter. This is the minimum fee for which the nodes are willing to relay the transaction. Nodes do not take a cut from this. For transaction fees, the miners take the entire transaction fee.
legendary
Activity: 1666
Merit: 1196
STOP SNITCHIN'
The miner who verifies your transaction will get the fee.
The miner who verifies my transaction to another BTC address will get the relay fee?

More specifically, the miner who includes your transaction in a valid block may collect the transaction fee.

How does this technically work?

The Bitcoin Wiki article I linked in this post explains it.

To what BTC address will the miner get the relay fee?

An address the miner specifies in the coinbase transaction of a block. Usually, the entire block reward -- which includes all transaction fees -- will be sent to this address. Any portion of the block reward not claimed this way is permanently destroyed.

The blockchain states that a fee for the BTC transaction was reduced from the amount I sent, but does not state the fee BTC receiver address?

A transaction fee does not constitute a discrete bitcoin transaction paid to the miner. The miner collects the transaction fees from every transaction in the block and pays them to himself in a single coinbase transaction.

Look at the coinbase transaction of any block. The output address is the bitcoin address that received all the transaction fees.
hero member
Activity: 1344
Merit: 507
The miner who verifies your transaction will get the fee.
The miner who verifies my transaction to another BTC address will get the relay fee?

How does this technically work?

To what BTC address will the miner get the relay fee?

The blockchain states the fee that was reduced from the amount I sent, but does not state the receiver address to where the fee went?
legendary
Activity: 1666
Merit: 1196
STOP SNITCHIN'
Transaction fees are usually collected by the miner who produces the block. Any uncollected fees are permanently destroyed. From the Bitcoin Wiki:
I was under the impression that in many cases it's the pool operator who keeps the transaction fees.

In the above example, the "miner" could be a pool operator, sure. It could also be a solo miner. The distinction doesn't really matter to the OP's question.

Only a certain number of pools share the transaction fees with the people mining with them.

This situation won't last forever. I expect miners to increasingly demand shared fee revenue from pools. It's only rational because the block subsidy drops and transaction fees rise over time. Miners who contribute hash rate without demanding their full share of the block reward are just being irrational.
member
Activity: 103
Merit: 10
When I send BTC from one address to another address I have to pay a fee.

Who receives the transaction fee and how does it technically work?

The miner who verifies your transaction will get the fee. In simple word it can be explained as, this fee is the salary paid to the miner for the job of mining. The fee of all the transactions user verified and helped entering correct data to the blockchain will be honored with a mining fee.

Mining fee = Mined coins + Fee sent in the transactions that were confirmed.

Miners usually pick the transactions with higher fee. But there is a factor called priority based on which the transactions are mined. The formula is as follows:
priority = sum(input_value_in_base_units * input_age)/size_in_bytes

hero member
Activity: 2408
Merit: 516
What of the transaction fee paid with exchange coin on exchanges? That reward doesnt go to the so called miners' are exchanges can also serving the role of miners with reduced fund?
Pages:
Jump to: