-
Notifications
You must be signed in to change notification settings - Fork 21
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
Implementation of HIP-131 #858
Conversation
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
@@ -76,7 +77,9 @@ pub(crate) fn clean_covered_hexes( | |||
|
|||
// hip-103: if a hex is boosted by a service provider >=1x, the oracle | |||
// multiplier will automatically be 1x, regardless of boosted_hex_status. | |||
let assignment_multiplier = if ranked.boosted.is_some() { |
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.
above comment needs an update
If HIP-131 was more than a stop-gap measure for another HIP, I would like to see it integrated into the calculator as more than a boolean. But it does introduce the concept of a boosted hex restriction applying to oracle boosting, whereas it was only service provider boosting before. It could be a nice idea to extend |
73a0c61
to
7cb1429
Compare
Why pass in information from a source that we're going to be using gratuitously within the same function. Did I spell that right?
fb5fa7f
to
1a0e51b
Compare
https://github.com/helium/HIP/blob/main/0131-bridging-gap-between-verification-mappers-and-anti-gaming-measures.md
New Ban_type(PoC) is added and is radio is is banned with type PoC then all assignment_multipliers for it are set to 0.0.