Skip to content

Commit da042e2

Browse files
author
Robin Bryce
committed
remove fields that are not settled yet
1 parent 1d3689f commit da042e2

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

datatrails-common-api/assets/v2/assets/eventresponse.proto

+10-17
Original file line numberDiff line numberDiff line change
@@ -16,35 +16,27 @@ message MerklLogEntry {
1616
}
1717
};
1818

19-
// Event trust level commited fields
20-
21-
// versiona and epoch of the tenants log data.
19+
// Tenant log version and log epoch
2220
uint32 log_version = 1;
2321
uint32 log_epoch = 2;
24-
uint64 log_leaf_index = 3; // TBD: this may be redundant.
25-
uint64 log_index = 4; // TBD: this will very likely be included in the trie key
26-
27-
// triekey_committed includes a time ordered sub key for verifiable, roughly
28-
// time aligned, correlation against other indepdendently logged events. Per
29-
// tenant log the id is guaranteed unique. For all practical purposes it is
30-
// system wide unique, but there are operational assumptions to make that
31-
// hold.
32-
bytes triekey_committed = 5 [
33-
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
34-
description: "256 bit radix 2 merkle trie key for the event. this key includes a unique, time ordered 64 bit, sub key"
35-
read_only: true
36-
}];
22+
23+
// Event trust level commited fields
24+
25+
uint64 log_index = 3;
26+
uint64 log_leaf_index = 4; // TBD: this may be redundant.
3727

3828
// upsert & db query friendly copy of the idtimestamp field from triekey_committed
3929

40-
fixed64 idtimestamp_committed = 6 [
30+
fixed64 idtimestamp_committed = 5 [
4131
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
4232
description: "unique and time ordered verifiable log entry id"
4333
read_only: true
4434
}];
4535

4636
// TODO: Event trust level confirmed fields
4737

38+
// signature over tenant mmr root
39+
4840
// TODO: Event trust level uniquivocal fields
4941
}
5042

@@ -204,6 +196,7 @@ message EventResponse {
204196
max_length: 1024
205197
}];
206198

199+
// TODO: rename log_entry -> merkle_log_entry
207200
MerklLogEntry log_entry = 20 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
208201
description:
209202
"verifiable log entry details"

0 commit comments

Comments
 (0)