ain icon indicating copy to clipboard operation
ain copied to clipboard

Change Masternode Rewardaddress

Open Stonygan opened this issue 4 years ago • 2 comments

What would you like to be added:

Like described/start developing in Branch: https://github.com/DeFiCh/ain/tree/feature-mn-rewardaddress i think we need a solution to change or specify the rewardaddress to the Owneraddress or change it from the Ownerwallet witout the possibility to change it from the Operatornode. Actual its possible for the Operatoraddress-Holder or with a compromised Operatoraddress to redirect the rewards to every address in the network. With the 5y/10y locking, this feature is important. I'm afraid the operator addresses on the VPS could otherwise be tried to be stolen to get the rewards of the locked masternode.

Why is this needed:

Make the Minting more secure, when Masternode is locked, a compromised Operatoraddress cant resigned and maybe lost 50% or more of his rewards.

Dont know why PR298 is no longer accessible or deleted, but some of the work already done i think.

https://github.com/DeFiCh/ain/pull/298

Commit Summary

  • added rewardAddress in masternode class
  • Merge branch 'master' into feature-mn-rewardaddress
  • setforcedrewardaddress rpc
  • setforcedrewardaddress apply
  • RemoveForcedRewardAddress rpc and apply
  • coinbase script from mn reward address
  • SetForecedrewardAddress tx code to type and make scriptPubKey
  • functional test and isMine check
  • fix typo and functional test for -gen param
  • linter fix
  • mn messages refactoring

Stonygan avatar Jul 21 '21 10:07 Stonygan

@Stonygan: Thanks for opening an issue, it is currently awaiting triage.

The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.

Details

I am a bot created to help the DeFiCh developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the DeFiCh/oss-governance-bot repository.

defichain-bot avatar Jul 21 '21 10:07 defichain-bot

PR: https://github.com/DeFiCh/ain/pull/642

uzyn avatar Aug 11 '21 09:08 uzyn