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

Add oracle boosting report #392

Merged
merged 11 commits into from
Mar 1, 2024
29 changes: 29 additions & 0 deletions src/service/poc_mobile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -489,3 +489,32 @@ message invalid_data_transfer_ingest_report_v1 {
// epoch
uint64 timestamp = 3;
}

message oracle_boosting_report_v1 {
// UUID of the coverage object for the given hex
bytes coverage_object = 1;
// Assignments of the hexes
repeated oracle_boosting_hex_assignment assignments = 2;
// Timestamp of when the oracle boosting report was made in seconds since the
// epoch
uint64 timestamp = 3;
}

message oracle_boosting_hex_assignment {
enum assignment {
a = 0;
b = 1;
c = 2;
}
// H3 resolution 12 hex tile
string location = 1;
// Urbanized assignment
assignment urbanized = 2;
// Footfall assignment
oneof footfall_assignment { assignment footfall = 3; }
// Landtype assignment
oneof landtype_assignment { assignment landtype = 4; }
// Multiplier derived from the assignment, value is 0.0 to 1.0 multiplied by
// 1000
uint32 assignment_multiplier = 5;
}
Loading