mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
cecf63e0b7
## Issue being fixed or feature implemented Calculation of `platformReward` should ignore fees and rely only on Block subsidy. cc @QuantumExplorer ## What was done? From now on, the following formula is applied: ``` blockReward = blockSubsidy + feeReward masternodeReward = masternodeShare(blockSubsidy) platformReward = platformShare(masternodeReward) masternodeReward += masternodeShare(feeReward) ``` ## How Has This Been Tested? ## Breaking Changes `plaftormReward` differs in networks where `mn_rr` is already active ## Checklist: _Go over all the following points, and put an `x` in all the boxes that apply._ - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [x] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ --------- Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com> |
||
---|---|---|
.. | ||
meta.cpp | ||
meta.h | ||
node.cpp | ||
node.h | ||
payments.cpp | ||
payments.h | ||
sync.cpp | ||
sync.h | ||
utils.cpp | ||
utils.h |