tronprotocol / tips

TRON Improvement Proposals
222 stars 188 forks source link

Reward SRs with the transaction fees charged for bandwidth and Energy #196

Closed renchenchang closed 3 years ago

renchenchang commented 3 years ago

Background:

With the development of the TRON network, the TRON network ecosystem has become increasingly prosperous. At the same time, SR (Super Representatives) also need to consume more resources to maintain the entire network, which includes higher hardware demand and higher maintenance cost. The current rewards given to each SR include 16 TRX for block production and 160 TRX for voting. Compared with other public blockchains, the TRON network currently lacks the mechanism for rewarding SR with transaction fees. The transaction fee of the TRON network is mainly caused by energy and bandwidth consumption. Currently, all the transaction fee is transferred to the black hole account.

Inflation comparison

EOS: 1% ETH: 4.2% TRX: 1.6% (without transaction fee reward) TRX: 1.85%(with transaction fee reward)

TRON inflation is far lower than Ethereum.

Motivation:

In order to further improve the stability and efficiency of the TRON network, it is proposed to increase the rewards for SRs. The transaction fees charged by energy and bandwidth consumption can be rewarded to SR, and they are distributed to voters like rewards for producing block. Transaction fees will increase the enthusiasm of SR to maintain the network. At the same time, the transaction fee mechanism can effectively prevent SR from producing blank blocks that contain 0 transactions.

Present condition of transaction fees

These days, there will be 2,000,000 transactions and $17000 fee every day on average. It means every transaction will cost $0.0085 and SR will be rewarded $0.6 for producing a block if SR can package 70 transactions into a block. If transaction fees increase, the fee reward to SR will be very considerable. On the other hand, transactions will decrease if transaction fees increase. We also analyze transaction value distributions. Take USDT for example, 53.6% of USDT transaction values are more than $100, 28.4% of USDT transaction values are more than $1 and less than 100$, only 18% of USDT transaction values are less than $1. So it has only a little effect on transactions if transaction fees increase.

Reasonable solutions:

Reasonable solutions are as follows:

  1. Real-time reward method: Each time the SR produces a block, the transaction fee in the block is rewarded to the SR.
  2. Average reward method: After N blocks are produced in the network, the transaction fees in these N blocks are evenly rewarded to SRs, which can prevent SR from only packaging transactions with higher fees.

    Note:

    For the fees of timeout smart contract transaction, it should continue to transfer them to the black hole account to avoid malicious SRs from deliberately setting the transaction overtime to obtain high fees.

bondibox commented 3 years ago

If you believe Justin is against this then you have been selected to send up to 100 BTC to the following address and I will send back DOUBLE what you sent me...

Are we really supposed to believe that Tron Foundation slipped in tests like "Test deploy contract with energy fee to sr" "trans with multi sign and fee to sr" "Test create account with netFee to sr"

and a parameter getAllowTransactionFeePool

And this was all against Justin's wishes? Or it was unbeknownst to him? Great. Either he's gaslighting us, or the company he's running has gone rogue.