@@ -16,35 +16,27 @@ message MerklLogEntry {
16
16
}
17
17
};
18
18
19
- // Event trust level commited fields
20
-
21
- // versiona and epoch of the tenants log data.
19
+ // Tenant log version and log epoch
22
20
uint32 log_version = 1 ;
23
21
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.
37
27
38
28
// upsert & db query friendly copy of the idtimestamp field from triekey_committed
39
29
40
- fixed64 idtimestamp_committed = 6 [
30
+ fixed64 idtimestamp_committed = 5 [
41
31
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field ) = {
42
32
description : "unique and time ordered verifiable log entry id"
43
33
read_only : true
44
34
}];
45
35
46
36
// TODO: Event trust level confirmed fields
47
37
38
+ // signature over tenant mmr root
39
+
48
40
// TODO: Event trust level uniquivocal fields
49
41
}
50
42
@@ -204,6 +196,7 @@ message EventResponse {
204
196
max_length : 1024
205
197
}];
206
198
199
+ // TODO: rename log_entry -> merkle_log_entry
207
200
MerklLogEntry log_entry = 20 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field ) = {
208
201
description :
209
202
"verifiable log entry details"
0 commit comments