Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
macpie committed Jul 11, 2024
1 parent 8dd3979 commit 46fdd40
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 31 deletions.
1 change: 0 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const MESSAGES: &[&str] = &[
"src/blockchain_region_param_v1.proto",
"src/price_report.proto",
"src/hex_boosting.proto",
"src/verification_mapping.proto",
];

macro_rules! config {
Expand Down
25 changes: 24 additions & 1 deletion src/service/poc_mobile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ package helium.poc_mobile;
import "mapper.proto";
import "hex_boosting.proto";
import "service_provider.proto";
import "verification_mapping.proto";

message speedtest_req_v1 {
bytes pub_key = 1;
Expand Down Expand Up @@ -667,3 +666,27 @@ verified_service_provider_boosted_rewards_banned_radio_ingest_report_v1 {
// epoch
uint64 timestamp = 3;
}

message subscriber_mapping_event_req_v1 {
/// The id of the discovery mapping enabled subscriber
string subscriber_id = 1;
/// The accumulated mapping points the subscriber has earned this epoch
uint64 total_reward_points = 2;
/// Unix timestamp in seconds of when the mapping event was generated
uint64 timestamp = 3;
/// Pubkey of verification mapping event service
bytes pub_key = 6;
/// Signed payload of the verification mapping event service
bytes signature = 7;
}

message subscriber_mapping_event_res_v1 { string id = 1; }

message verified_subscriber_mapping_event_v1 {
/// The id of the discovery mapping enabled subscriber
string subscriber_id = 1;
/// The accumulated mapping points the subscriber has earned this epoch
uint64 total_reward_points = 2;
/// Unix timestamp in seconds of when the mapping event was generated
uint64 timestamp = 3;
}
29 changes: 0 additions & 29 deletions src/verification_mapping.proto

This file was deleted.

0 comments on commit 46fdd40

Please sign in to comment.