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

Deprecate reward_cancelled in favor of rewardable_bytes #375

Merged
merged 3 commits into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions src/service/packet_verifier.proto
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ message valid_data_transfer_session {
// Timestamp in millis of the last ingest file we found a data transfer
// session in
uint64 last_timestamp = 7;
uint64 rewardable_bytes = 8;
}
3 changes: 2 additions & 1 deletion src/service/poc_mobile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -367,11 +367,12 @@ message data_transfer_session_req_v1 {
/// it is securely created and signed by hotspot
data_transfer_event data_transfer_usage = 1;
/// this decision is done by OCS like system
bool reward_cancelled = 2;
bool reward_cancelled = 2 [ deprecated = true ];
/// Online Charging System is part of teleco stack which is able
/// to make a decision about data transfer and reward
bytes pub_key = 3;
bytes signature = 4;
uint64 rewardable_bytes = 5;
}

message data_transfer_event {
Expand Down
Loading