Skip to content

Commit

Permalink
Update bantype in proto (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbalser authored Sep 4, 2024
1 parent b45858c commit 376765f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/service/poc_mobile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,14 @@ message service_provider_boosted_rewards_banned_radio_req_v1 {
unbanned = 0;
no_network_correlation = 1;
}

enum sp_boosted_rewards_banned_radio_ban_type {
// banned from earning boosted rewards from service provider hex boosting
boosted_hex = 0;
// banned from earning any PoC
poc = 1;
}

// pubkey of signer
bytes pubkey = 1;
oneof key_type {
Expand All @@ -739,6 +747,8 @@ message service_provider_boosted_rewards_banned_radio_req_v1 {
// Timestamp in seconds since epoch of when ban ends
uint64 until = 5;
bytes signature = 6;

sp_boosted_rewards_banned_radio_ban_type ban_type = 7;
}

message service_provider_boosted_rewards_banned_radio_resp_v1 { string id = 1; }
Expand Down

0 comments on commit 376765f

Please sign in to comment.