Skip to content

Commit

Permalink
add verified data transfer ingest report
Browse files Browse the repository at this point in the history
The difference between valid and invalid up to this point.
- Valid :: dc has been burned for the transfer event.
- Invalid :: We don't know one of the entities involced.

The invalid report will no longer be written. It is being replaced by
Verified. All data transfer events that pass muster, we know the
entities, it's not a duplicated, etc,. are written as Verified.
Valid still means dc was burned.
  • Loading branch information
michaeldjeffrey committed Oct 4, 2024
1 parent 197ff9c commit d8562d2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/service/poc_mobile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,22 @@ message invalid_data_transfer_ingest_report_v1 {
uint64 timestamp = 3;
}

message verified_data_transfer_ingest_report_v1 {
enum report_status {
valid = 0;
invalid_gateway_key = 1;
invalid_routing_key = 2;
duplicate = 3;
}
// the invalid ingest report
data_transfer_session_ingest_report_v1 report = 1;
// the invalid reason as determined by the verifications
report_status status = 2;
// Timestamp at which verification was determined, in milliseconds since unix
// epoch
uint64 timestamp = 3;
}

message oracle_boosting_report_v1 {
// UUID of the coverage object for the given hex
bytes coverage_object = 1;
Expand Down

0 comments on commit d8562d2

Please sign in to comment.