Skip to content

Commit

Permalink
feat: message for batch of active tenant logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Bryce committed May 20, 2024
1 parent f9d074b commit 7cdfce2
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions datatrails-common-api/assets/v2/assets/merklelogentry.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,29 @@ message MerkleLogCommit {
string idtimestamp = 2;
}

message MerkleLogActiveItem {
string tenant_identity = 1;
// -1 indicates not set
int64 massif = 2;
// -1 indicates not set
int64 seal = 3;
// Note: It is both ok and likely that occasionally the massif and seal
// numbers will differ or be absent. absence is indicated by negation.

// the most recent last ids in the blob tag index for the massif and the seal
string massif_lastid = 4;
string seal_lastid = 5;
}

message MerkleLogActiveSince {
// The idtimestamp used for the lastid > idtimestamp filter
string since_idtimestamp = 1;
// The regular unix time, in milliseconds, the watch set was create
int64 timestamp_ms = 2;

repeated MerkleLogActiveItem items = 3;
}

message MerkleLogConfirm {

// The following correspond to mmrblobs.MMRState
Expand Down

0 comments on commit 7cdfce2

Please sign in to comment.