diff --git a/datatrails-common-api/assets/v2/assets/eventresponse.proto b/datatrails-common-api/assets/v2/assets/eventresponse.proto index e91221a..c213265 100644 --- a/datatrails-common-api/assets/v2/assets/eventresponse.proto +++ b/datatrails-common-api/assets/v2/assets/eventresponse.proto @@ -16,28 +16,18 @@ message MerklLogEntry { } }; - // Event trust level commited fields - - // versiona and epoch of the tenants log data. + // Tenant log version and log epoch uint32 log_version = 1; uint32 log_epoch = 2; - uint64 log_leaf_index = 3; // TBD: this may be redundant. - uint64 log_index = 4; // TBD: this will very likely be included in the trie key - - // triekey_committed includes a time ordered sub key for verifiable, roughly - // time aligned, correlation against other indepdendently logged events. Per - // tenant log the id is guaranteed unique. For all practical purposes it is - // system wide unique, but there are operational assumptions to make that - // hold. - bytes triekey_committed = 5 [ - (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { - description: "256 bit radix 2 merkle trie key for the event. this key includes a unique, time ordered 64 bit, sub key" - read_only: true - }]; + + // Event trust level commited fields + + uint64 log_index = 3; + uint64 log_leaf_index = 4; // TBD: this may be redundant. // upsert & db query friendly copy of the idtimestamp field from triekey_committed - fixed64 idtimestamp_committed = 6 [ + fixed64 idtimestamp_committed = 5 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { description: "unique and time ordered verifiable log entry id" read_only: true @@ -45,6 +35,8 @@ message MerklLogEntry { // TODO: Event trust level confirmed fields + // signature over tenant mmr root + // TODO: Event trust level uniquivocal fields } @@ -204,6 +196,7 @@ message EventResponse { max_length: 1024 }]; + // TODO: rename log_entry -> merkle_log_entry MerklLogEntry log_entry = 20 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { description: "verifiable log entry details"