diff --git a/src/service/packet_verifier.proto b/src/service/packet_verifier.proto index 77c72617..bbb21668 100644 --- a/src/service/packet_verifier.proto +++ b/src/service/packet_verifier.proto @@ -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; } diff --git a/src/service/poc_mobile.proto b/src/service/poc_mobile.proto index 202720ab..6dd74305 100644 --- a/src/service/poc_mobile.proto +++ b/src/service/poc_mobile.proto @@ -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 {