aboutsummaryrefslogtreecommitdiff
path: root/src/ringct/rctOps.h
diff options
context:
space:
mode:
authorUkoeHB <37489173+UkoeHB@users.noreply.github.com>2020-01-08 05:21:43 -0600
committerkoe <ukoe@protonmail.com>2020-01-09 09:11:09 -0600
commit02224e714d7e3ca0d07416b5882ae0cfc92900f2 (patch)
treee6f1120f8eb59d6e1ebc95f4bc68c1ed39f548ee /src/ringct/rctOps.h
parentMerge pull request #6231 (diff)
downloadmonero-02224e714d7e3ca0d07416b5882ae0cfc92900f2.tar.xz
Fix check_fee() discrepancy.
M100 = max{300kb, min{100block_median, m_long_term_effective_median_block_weight}} not M100 = max{300kb, m_long_term_effective_median_block_weight} Fix base reward in get_dynamic_base_fee_estimate(). get_dynamic_base_fee_estimate() should match check_fee() Fee is calculated based on block reward, and the reward penalty takes into account 0.5*max_block_weight (both before and after HF_VERSION_EFFECTIVE_SHORT_TERM_MEDIAN_IN_PENALTY). Moved median calculation according to best practice of 'keep definitions close to where they are used'.
Diffstat (limited to 'src/ringct/rctOps.h')
0 files changed, 0 insertions, 0 deletions