Neo: Native Contract - Allow multiplier factor inside policy

Created on 8 Jul 2019  路  11Comments  路  Source: neo-project/neo

From Shargon:
We should add a multiply factor inside policy native contract (1 by default). This could allow us to reduce the price without make a new release if the price go "to the moon"

discussion enhancement network-policy

All 11 comments

I think that all prices should be part of Policy contract... the reason is that, since we will abandon 10GAS fee rule, and all prices are effectively stored on the blockchain too, now all prices may vary as needed. Even small/specific changes are possible now, for example, reducing specific operation costs.
Anyway, the multiplier is a good feature in my opinion, because it's easier to adjust and easy to understand.

Are you talking about sys_fee or net_fee?

Both of them and Syscall prices

As I said before, sys_fee are distributed to neo holders. So it is a part of the protocol. Policy is only applied to net_fee. For net_fee, actually feePerByte is a factor.

And for syscalls?

I think we should do that for sysfees erik. Not necessarialy on Policy contract, like you said, it's focused on network fees, but perhaps a similar structure. Storing individual operation prices there, so that they can be adjusted in time (don't know exactly how yet...). If we dont start like this,it will be complicated to change them in the future... if they are stored somewhere in chain storage, its easy to keep track of prices in time (directly on code its not possible).

I think that a multiplier makes sense, but maybe we could have:
sys_fees_X
net_fees_X

It would be a dynamic way for consensus to easily increase net_fees_X during peak times.
But maybe sys_fees_X should be the result of the votes of 50%+ NEO Holders (another voting process :D).

I agree that all fees/prices should be mutable, all of them. We can divide into 2 or 3 issues if you guys think this is good. I think this is a very good feature for neo 3

We should perhaps re-open this in a different format... Erik is right, Policy only applies to network policy (including network fees).

In this case, we would need to propose a contract, perhaps a governance contract, that controls voting and also system fee prices.

@neo-project/core should we close this? I didn't quite understand if this is implemented already or not.

I think that is a low-priority issue, we can implement this in the future, but is good to be able to change the fee, or adjust the price one time per year, or every 6 months

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vncoelho picture vncoelho  路  3Comments

canesin picture canesin  路  3Comments

igormcoelho picture igormcoelho  路  3Comments

shargon picture shargon  路  3Comments

realloc picture realloc  路  4Comments