gear
gear copied to clipboard
Currency converting dynamic multiplier
Problem to Solve
Need to figure out should we change the gas <=> value converting multiplier dynamically, dependent on network load.
Possible Solution
If it become changeable, need to adapt GasTree to store exactly value and add tolerance constant to convert from gas to value without any loses.
It also may be done like: we burn N gas, while 1 value = X gas, and we round to upper bound and transfer (N + (X - 1)) / X, e.g. 5 gas with 1 value = 4 gas leads to transfer of 2 value.
Notes
No response