Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: message for batch of active tenant logs #25

Merged
merged 1 commit into from
May 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading