Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#0007 Round Transaction Fees Up To 0.001 #8

Closed
backpacker69 opened this issue May 16, 2018 · 6 comments
Closed

#0007 Round Transaction Fees Up To 0.001 #8

backpacker69 opened this issue May 16, 2018 · 6 comments

Comments

@backpacker69
Copy link
Member

Currently transaction fees are rounded up to nearest 1 hundredth of PPC and any small transaction under 1024 bytes must pay at least 0.01 PPC to be included in the block. Transaction of 1025 bytes must pay at least 0.02 PPC to be considered, etc.

It is proposed to have fee rounding changed in such way that all transactions will pay exact proportional to size fee for the right to be included in the block, at unchanged rate of 0.01 PPC per kilobyte, with 0.001 PPC minimum.

Effectively, transactions up to 102 bytes will pay minimal fee of 0.001 PPC. Transactions of bigger size will pay unrounded fee proportional to their byte size.

@peerchemist
Copy link
Member

I fully agree with this proposal, however RFC got me wondering.
For example as a drawback you list the following: Fewer peercoins will be burned as fees.. I do not think that's a drawback.

@saeveritt
Copy link
Member

Fewer Peercoins burned as a result of modifying the fee precision is a negligible short term effect in my opinion. In the long term this, coupled with RFC#0008, will result in more Peercoins burned as the network will be more viable to those wishing to utilize the increased op_return size. It is also considerably more fair in terms of paying for the exact amount of data you wish to store on the chain. I agree with this proposal.

@youngpascal
Copy link
Member

RFC #0007

@hrobeers
Copy link
Contributor

Rounding should be done by ceiling, not closest value IMO.

Shouldn't we increase the resolution even more? We talked about having a minimum fee relay rule, Which could still effectively make 0.001PPC the minimum without having it hard coded in the protocol?

@peerchemist
Copy link
Member

src/rpcblockchain.cpp: nTransactionFee = (nTransactionFee / CENT) * CENT; // round to cent

@d5000
Copy link

d5000 commented May 18, 2018

Full support here, as transaction size - and not transaction number - is the main bottleneck in blockchains. In the future, I would support a lower minimum (or a variable) fee, but as a short-term measure this is reasonable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants