-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: masternode payment reallocation from coin base to platform #5342
Conversation
68204d7
to
bc086b9
Compare
9569bb9
to
d6dd942
Compare
This pull request has conflicts, please rebase. |
d6dd942
to
5ea6da9
Compare
This pull request has conflicts, please rebase. |
This pull request has conflicts, please rebase. |
d2137f9
to
5657a78
Compare
This comment was marked as resolved.
This comment was marked as resolved.
5aba960
to
41859d6
Compare
41859d6
to
539b1e5
Compare
4d957ff
to
9700eb9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re-utACK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
It feels like with current implementation MN owners are "stealing" 37.5% from MN operators' share. EDIT: I guess it's inevitable cause otherwise you could trick the system by paying 100% to operator and 0 to platform. |
yes, platform reward is substracted before operator's reward calculation. |
Not sure I'm following the discussion correctly, but my understanding is that operators will be paid on platform side as well (just like owners) - see dashpay/platform#320. So if the concern here is that operators will miss out due to the partial movement of the block subsidy to platform, that shouldn't be an issue. We can confirm with platform team if necessary. Or, if I entirely misread the discussion, just ignore my comment 😄 |
Oh, wow! I didn't know that. Would be nice if someone from the Platform team could confirm that. @shumkov or maybe @QuantumExplorer? |
Yes, operators will be paid on platform side as well |
286128d
to
7ff210a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, utACK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM just need release notes
f04032c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I tried to comment "utACK for merge via merge commit" |
f04032c
to
759a69e
Compare
Issue being fixed or feature implemented
It resolves this issue: https://github.com/dashpay/dash-issues/issues/38
What was done?
Move some funds from the coinbase, into the Asset Lock Pool. 37.5% of current masternode reward are moved to platform.
beside that, evo MN will receive reward only once - not quad reward (4 time continously) as in v19.
This is to incentivize MNs to upgrade to platform, because only MNs running platform will get these migrated rewards
This PR depends on that should be merged before:
How Has This Been Tested?
There were added couple new tests in
feature_asset_lock.py
that test functionality of credit_pool.pyTo avoid conflicting with other tests, such as
evo_deterministicmns_tests
that is testing old behavior, activation height is chosen as far in future (3000 blocks) and not achieved by most of tests, include feature_asset_lock.py before all other functionality such as asset-unlocks are tested.Breaking Changes
There are breaking changes, because it change consensus rules: changed CbTx output accordingly
Checklist:
need to update some DIP accordingly to that changes