parallel icon indicating copy to clipboard operation
parallel copied to clipboard

reward and slash repeaters

Open drbh opened this issue 2 years ago • 2 comments

implement functions to reward and slash repeaters

  • [ ] reward per submission amount
  • [ ] reward - repeater for N submissions (extrinsic to call)
  • [ ] slash - repeater for N submissions (extrinsic to call)
  • [ ] slash for not participating

we need tests that are like

  1. 10 repeaters sign up and all act good, all get rewards for 100 rounds
  2. 10 repeaters sign up and 5 are good and 5 get slashed

drbh avatar Apr 25 '22 19:04 drbh

https://github.com/paritytech/substrate/blob/master/frame/membership/src/lib.rs

palletd avatar Apr 25 '22 19:04 palletd

https://github.com/open-web3-stack/open-runtime-module-library/tree/master/oracle

palletd avatar Apr 25 '22 19:04 palletd