From 168335a3f8ea1fe0de71473c05203b4674e644dd Mon Sep 17 00:00:00 2001 From: Michael Jeffrey Date: Fri, 30 Aug 2024 10:02:18 -0700 Subject: [PATCH] Revert "Merge pull request #415 from helium/mj/unsettled-transfer-session" This reverts commit 80e529d0e64951554cb4ca8e71c3cd9d30a91bc4, reversing changes made to 0bc158704baa751b0f8025a189a07b13e48dcff2. --- src/service/poc_mobile.proto | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/src/service/poc_mobile.proto b/src/service/poc_mobile.proto index 4e49d9db..537c4025 100644 --- a/src/service/poc_mobile.proto +++ b/src/service/poc_mobile.proto @@ -631,13 +631,6 @@ enum cell_type { nova_generic_wifi_outdoor = 7; } -enum data_transfer_session_settlement_status { - // The Session is able to be burned immediately - settled = 0; - // The Session is pending settlement, do not burn - pending = 1; -} - message data_transfer_session_req_v1 { /// data_transfer_event represents traffic usage happening on a hotspot /// it is traffic quota or timer based @@ -650,7 +643,6 @@ message data_transfer_session_req_v1 { bytes pub_key = 3; bytes signature = 4; uint64 rewardable_bytes = 5; - data_transfer_session_settlement_status status = 6; } message data_transfer_event { @@ -700,25 +692,6 @@ message invalid_data_transfer_ingest_report_v1 { uint64 timestamp = 3; } -message pending_data_transfer_session_v1 { - // Public Key of the Hotspot - bytes pub_key = 1; - // Public Key of the Payer - bytes payer = 2; - - uint64 upload_bytes = 3; - uint64 download_bytes = 4; - uint64 rewardable_bytes = 5; - - // Timestamp in milliseconds since the epoch - // From the DataTransferEvent, be sure to convert - // `data_transfer_event.timestamp` from seconds -> milliseconds - uint64 event_timestamp = 6; - // Timestamp in milliseconds since the epoch - // From the file the transfer session was processed - uint64 received_timestamp = 7; -} - message oracle_boosting_report_v1 { // UUID of the coverage object for the given hex bytes coverage_object = 1; @@ -828,4 +801,4 @@ message verified_subscriber_verified_mapping_event_ingest_report_v1 { subscriber_verified_mapping_event_verification_status status = 2; // Timestamp in milliseconds since unix epoch uint64 timestamp = 3; -} +} \ No newline at end of file