Bitcoin Forum
May 21, 2024, 09:27:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How are transaction fees generated and disbursed?  (Read 153 times)
Chilwell (OP)
Sr. Member
****
Offline Offline

Activity: 574
Merit: 425


The Alliance Of Bitcointalk Translators - ENG>PID


View Profile WWW
March 09, 2023, 07:14:17 AM
 #1

This particular question is unclear to me: is it the wallet or the nodes that generate transaction fees? I understand that transaction fees are generated, but how? Please help me out.

R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT|
4,000+ GAMES
███████████████████
██████████▀▄▀▀▀████
████████▀▄▀██░░░███
██████▀▄███▄▀█▄▄▄██
███▀▀▀▀▀▀█▀▀▀▀▀▀███
██░░░░░░░░█░░░░░░██
██▄░░░░░░░█░░░░░▄██
███▄░░░░▄█▄▄▄▄▄████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█████████
▀████████
░░▀██████
░░░░▀████
░░░░░░███
▄░░░░░███
▀█▄▄▄████
░░▀▀█████
▀▀▀▀▀▀▀▀▀
█████████
░░░▀▀████
██▄▄▀░███
█░░█▄░░██
░████▀▀██
█░░█▀░░██
██▀▀▄░███
░░░▄▄████
▀▀▀▀▀▀▀▀▀
|
██░░░░░░░░░░░░░░░░░░░░░░██
▀█▄░▄▄░░░░░░░░░░░░▄▄░▄█▀
▄▄███░░░░░░░░░░░░░░███▄▄
▀░▀▄▀▄░░░░░▄▄░░░░░▄▀▄▀░▀
▄▄▄▄▄▀▀▄▄▀▀▄▄▄▄▄
█░▄▄▄██████▄▄▄░█
█░▀▀████████▀▀░█
█░█▀▄▄▄▄▄▄▄▄██░█
█░█▀████████░█
█░█░██████░█
▀▄▀▄███▀▄▀
▄▀▄
▀▄▄▄▄▀▄▀▄
██▀░░░░░░░░▀██
||.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
░▀▄░▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄░▄▀
███▀▄▀█████████████████▀▄▀
█████▀▄░▄▄▄▄▄███░▄▄▄▄▄▄▀
███████▀▄▀██████░█▄▄▄▄▄▄▄▄
█████████▀▄▄░███▄▄▄▄▄▄░▄▀
███████████░███████▀▄▀
███████████░██▀▄▄▄▄▀
███████████░▀▄▀
████████████▄▀
███████████
▄▄███████▄▄
▄████▀▀▀▀▀▀▀████▄
▄███▀▄▄███████▄▄▀███▄
▄██▀▄█▀▀▀█████▀▀▀█▄▀██▄
▄██▄██████▀████░███▄██▄
███░████████▀██░████░███
███░████░█▄████▀░████░███
███░████░███▄████████░███
▀██▄▀███░█████▄█████▀▄██▀
▀██▄▀█▄▄▄██████▄██▀▄██▀
▀███▄▀▀███████▀▀▄███▀
▀████▄▄▄▄▄▄▄████▀
▀▀███████▀▀
OFFICIAL PARTNERSHIP
FAZE CLAN
SSC NAPOLI
|
NotATether
Legendary
*
Offline Offline

Activity: 1610
Merit: 6753


bitcoincleanup.com / bitmixlist.org


View Profile WWW
March 09, 2023, 07:19:09 AM
 #2

The wallets generate the transaction fees for you based on their estimation of mempool (unconfirmed transaction volume) congestion across the network. Higher numbers of unconfirmed transactions will cause most wallets to apply higher fees in order for your transaction to be confirmed within the next block, or the next 5, 10, and so on.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Charles-Tim
Legendary
*
Offline Offline

Activity: 1554
Merit: 4907



View Profile
March 09, 2023, 07:19:41 AM
 #3

The transaction fee depends on how congested the mempool is and also the transaction weight or virtual size/byte of your transaction. If you want to estimate it in fiat, also depends on bitcoin price in that fiat.

Wallets have their own estimation algorithm, but you can as well also customize your transaction fee after checking the mempool to know how congested it is and also to know the fee rate needed for faster confirmation.

Minimizing bitcoin transaction fee

For mempool: https://mempool.space/
                          https://jochen-hoenicke.de/queue/#BTC,24h,weight

hosseinimr93
Legendary
*
Offline Offline

Activity: 2408
Merit: 5243



View Profile
March 09, 2023, 08:11:04 AM
Last edit: March 09, 2023, 08:24:33 AM by hosseinimr93
 #4

When you make a bitcoin transaction, you are the one who sets the transaction fee.
Since the block size is limited and miners can't include any number of transactions they want, they have to pick some transactions. To maximize their profit, they pick the transactions with higher fee rate.
Therefore, if you are in a hurry, you should use a high fee rate and if you are not in a hurry, you can set the fee rate as low as possible.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
nc50lc
Legendary
*
Offline Offline

Activity: 2422
Merit: 5614


Self-proclaimed Genius


View Profile
March 09, 2023, 08:12:05 AM
 #5

This particular question is unclear to me: is it the wallet or the nodes that generate transaction fees? I understand that transaction fees are generated, but how? Please help me out.
There's no particular entity that sets the transaction fee.
It's the wallet's estimation depending on different or unique factors; or what's set by the user.

For example, Electrum has 3 transaction fee sliders which work differently:
ETA which uses complex algorithm based from the newest blocks and mempool.
Mempool which is solely based from the size of your server's mempool.
Static which is a set pre-set values.

For generation of "fee", it's simply the difference between the inputs' and the output's amount.
The "fee rate" is the 'fee' divided by the transaction's virtual size.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1526
Merit: 7401


Farewell, Leo


View Profile
March 09, 2023, 06:58:36 PM
 #6

This particular question is unclear to me: is it the wallet or the nodes that generate transaction fees? I understand that transaction fees are generated, but how? Please help me out.
Fees aren't "generated". They're set. And they are set by the user. If you subtract the total value of outputs from the total value of inputs, you get the transaction fee.

1. Minimum 1 sat/vbyte fee rate due to default node policy which doesn't broadcast transaction with fee rate lower than it.
That was the case, until recently, though. Now most nodes will not accept 1 sat/vb, due to the exceeded memory usage. From a quick search at mempool.space, most nodes will purge anything < 2.53 sat/vb.

Just in case I'm confusing OP: Just because some nodes decide to purge some transactions due to exceeded memory usage, it doesn't mean they're invalid. A miner can normally include them in a block if addressed.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
seoincorporation
Legendary
*
Offline Offline

Activity: 3164
Merit: 2949


Top Crypto Casino


View Profile
March 09, 2023, 07:46:38 PM
 #7

This particular question is unclear to me: is it the wallet or the nodes that generate transaction fees? I understand that transaction fees are generated, but how? Please help me out.

Each time a user sends a transaction he pays the fees from his own coins. Let's say you want to send 1 bitcoin to a friend, then you have to spend 1btc+0.0001btc of fees making this a total transaction of 1.0001BTC.

The fees go as a reward to the miner who finds the block with the block prize, that block prize gets halved from time to time, and in the future the only reward the miners will get will be only the transaction fees.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
hosseinimr93
Legendary
*
Offline Offline

Activity: 2408
Merit: 5243



View Profile
March 09, 2023, 07:51:17 PM
 #8

Each time a user sends a transaction he pays the fees from his own coins. Let's say you want to send 1 bitcoin to a friend, then you have to spend 1btc+0.0001btc of fees making this a total transaction of 1.0001BTC.
Where did the 0.0001 BTC come from?
The fee rate is set the by the user and the required fee rate depends on how fast you want your transaction to be confirmed and how congested the network is.
Also, the transaction fee doesn't depend on the amount of bitcoin you send at all.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
MIner1448
Member
**
Offline Offline

Activity: 938
Merit: 13

Tontogether | Save Smart & Win Big


View Profile
March 15, 2023, 06:08:43 PM
 #9

Blockchain transaction fees are generated by users who send transactions across the network. When a user submits a transaction, they include a fee as an incentive for miners to include that transaction in a new block. The higher the fee, the more likely it is that the miner will include the transaction in the block.

In the Bitcoin blockchain, for example, the transaction fee is determined based on the size of the transaction and the current network load. The larger the transaction size and the busier the network, the higher the fee should be in order to attract the attention of miners and speed up transaction confirmation.

Transaction fee payments are made to miners who created a new block and included transactions in that block. On the bitcoin blockchain, for example, miners receive both a reward for creating a new block (which is currently 6.25 bitcoins) and for all fees collected from transactions included in that block.

Thus, transaction fees are the mechanism that provides the motivation for miners to confirm transactions and create new blocks on the blockchain.
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!