-
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!: Block Reward Reallocation (Doubling Treasury) #5588
feat!: Block Reward Reallocation (Doubling Treasury) #5588
Conversation
e550b3a
to
0e537f9
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.
using float calculations in consensus critical code is never a good idea ;)
Co-Authored-By: UdjinM6 <UdjinM6@users.noreply.github.com>
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.
LGTM
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 for squash merge
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.
👍
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
## Issue being fixed or feature implemented Since `mn_rr` is already active on Testnet, because of #5588, syncing from develop is broken. ## What was done? Temporary disabled changes of #5588 for Testnet. This should be dropped when Testnet will be re-organised for Platform. ## How Has This Been Tested? Syncing Testnet ## Breaking Changes ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] 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)_
#5603) ## Issue being fixed or feature implemented Fixed a problem forgotten in #5588 in feature_asset_locks.py. ## What was done? Avoid floating operations when calculating `coinbasevalue` ## How Has This Been Tested? ## Breaking Changes ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] 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>
## Issue being fixed or feature implemented Implementation of accepted proposal: https://www.dashcentral.org/p/expedite-60-20-20-reallocation ## What was done? Activates changers brought in #5588 on `v20` hard fork instead of `mn_rr`. ## How Has This Been Tested? run tests ## Breaking Changes Again, Testnet sync is broken ## Checklist: - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have added or updated relevant unit/integration/functional/e2e tests - [x] 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>
Issue being fixed or feature implemented
Implementation of accepted proposal: https://www.dashcentral.org/p/TREASURY-REALLOCATION-60-20-20
What was done?
Once Masternode Reward Location Reallocation activates:
MN reward share should be 75% of block reward in order to represent 60% of the block subsidy. (according to the proposal)
governancebudget
is returned fromgetgovernanceinfo
RPC.How Has This Been Tested?
block_reward_reallocation_tests
Breaking Changes
Checklist: