aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-09-28 19:51:51 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-09-28 22:53:41 +0000
commitd37d30f79a38a62bdcb0bea16582a154ab98395c (patch)
treeb8d51bf09d3acf773630cd830fb07b15ac0cbbbb /contrib
parentMerge pull request #5549 (diff)
downloadmonero-d37d30f79a38a62bdcb0bea16582a154ab98395c.tar.xz
blockchain: tweak fee as a function of median values
Use the lesser of the short and long terms medians, rather then the long term median alone From ArticMine: I found a bug in the new fee calculation formula with using only the long term median It actually needs to be the lesser of the long term median and the old (modified short term median) short term median with the last 10 blocks calculated as empty Yes the issue occurs if there is a large long term median and, the short term median then falls and tries to then rise again The fees are could be not high enough for example LTM and STM rise to say 2000000 bytes STM falls back to 300000 bytes Fees are now based on 2000000 bytes until LTM also falls So the STM is could prevented from rising back up STM short term median LTM long term median
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions