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 bantype in proto #416

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/service/poc_mobile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,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 @@ -766,6 +774,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
Loading