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

Andymck/reward manifest additions #403

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
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
15 changes: 15 additions & 0 deletions src/reward_manifest.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,25 @@ syntax = "proto3";

package helium;

message mobile_reward_data {
string poc_bones_per_coverage_point = 1;
string dc_bones_per_share = 2;
}

message iot_reward_data {
string poc_bones_per_beacon_reward_share = 1;
string poc_bones_per_witness_reward_share = 2;
string dc_bones_per_share = 3;
}

message reward_manifest {
repeated string written_files = 1;
// Unix timestamp in seconds of the start of the inventory period
uint64 start_timestamp = 2;
// Unix timestamp in seconds of the end of the inventory period
uint64 end_timestamp = 3;
oneof reward_data {
mobile_reward_data mobile_reward_data = 4;
iot_reward_data iot_reward_data = 5;
}
}
Loading