Skip to content
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

Update locate command to support validated heartbeats and speedtest a… #660

Merged
merged 3 commits into from
Nov 10, 2023

Conversation

bbalser
Copy link
Contributor

@bbalser bbalser commented Nov 4, 2023

…verages

file_store/src/heartbeat.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@jeffgrunewald jeffgrunewald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assuming you want to remove the similar ValidatedHeartbeat type from the mobile verifier in a separate change

pub struct ValidatedHeartbeat {
pub cbsd_id: String,
pub pub_key: PublicKeyBinary,
pub reward_multiplier: f32,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we be keeping all the numbers that factor into rewards calculations be kept as integers or decimals? we've allowed a few floats but I think those have so far always been relative to things like transmit values and other RF-things

@bbalser
Copy link
Contributor Author

bbalser commented Nov 10, 2023

assuming you want to remove the similar ValidatedHeartbeat type from the mobile verifier in a separate change

They are different enough, I am not sure they should be combined. This new one is meant as the rust version of the proto, where the one in the mobile verifier is the struct representing a validated heartbeat during the validation process and has other stuff in needed for that process. For the moment, I moved these new ones into a cli module.

@bbalser bbalser merged commit 7d00ec4 into main Nov 10, 2023
1 check passed
@bbalser bbalser deleted the bbalser/locate-mv-updates branch November 10, 2023 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants