Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
An implementation for fractional gas on system fees #692
The proposed idea won't change any block format and it is fully backwards compatible, to be implemented as soon as possible.
Currently, only integer system fees are allowed, due to a control on InvocationTransaction. On Blockchain file, the computation of system fees just aggregate the values on transactions, storing that on
To publicly store this information, the proposal is to deploy a Validators Contract (as discussed #686 (comment)), and create a storage key on this contract regarding
To put this into production, it will be easy, as long as the following steps are done:
The deployed contract can have this format (using #690):
This way, we can have this feature already on Neo 2.X, and prepare ground for improved fee system on 3.0.
I get your point @erikzhang , and in fact, there are nice proposals for actually make it explicitly inflationary/deflationary. However, I would prefer to keep the precise amount redistributed, and to adopt another explicit and calculated equation to produce that behavior.