Skip to content

Commit ffbc326

Browse files
robinbryceRobin Bryce
and
Robin Bryce
authored
feat: message for batch of active tenant logs (#25)
AB#9402 Co-authored-by: Robin Bryce <[email protected]>
1 parent 89552b5 commit ffbc326

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

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

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,29 @@ message MerkleLogCommit {
1717
string idtimestamp = 2;
1818
}
1919

20+
message MerkleLogActiveItem {
21+
string tenant_identity = 1;
22+
// -1 indicates not set
23+
int64 massif = 2;
24+
// -1 indicates not set
25+
int64 seal = 3;
26+
// Note: It is both ok and likely that occasionally the massif and seal
27+
// numbers will differ or be absent. absence is indicated by negation.
28+
29+
// the most recent last ids in the blob tag index for the massif and the seal
30+
string massif_lastid = 4;
31+
string seal_lastid = 5;
32+
}
33+
34+
message MerkleLogActiveSince {
35+
// The idtimestamp used for the lastid > idtimestamp filter
36+
string since_idtimestamp = 1;
37+
// The regular unix time, in milliseconds, the watch set was create
38+
int64 timestamp_ms = 2;
39+
40+
repeated MerkleLogActiveItem items = 3;
41+
}
42+
2043
message MerkleLogConfirm {
2144

2245
// The following correspond to mmrblobs.MMRState

0 commit comments

Comments
 (0)