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

Update description of Confirmation Status #23

Merged
merged 1 commit into from
May 14, 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
16 changes: 6 additions & 10 deletions datatrails-common-api/assets/v2/assets/enums.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,12 @@ option go_package="github.com/datatrails/go-datatrails-common-api-gen/assets/v2/

enum ConfirmationStatus {
CONFIRMATION_STATUS_UNSPECIFIED = 0;
PENDING = 1; // not yet committed
CONFIRMED = 2; // committed. forestrie: "You can easily prove it changed"
FAILED = 3; // permanent failure

// Regarding the new statuses for forestrie, See
// https://github.com/datatrails/epic-8120-scalable-proof-mechanisms/blob/main/event-trust-levels.md
STORED = 4; // forestrie, "its in the db"
COMMITTED = 5; // forestrie, "you can know if its changed"
// We re-use the constant for CONFIRMED (above)
UNEQUIVOCAL = 6; // forestrie, "You easily prove it was publicly available to all"
PENDING = 1; // Not yet stored
CONFIRMED = 2; // A tree root including the event has been signed by DataTrails
FAILED = 3; // Permanent failure
STORED = 4; // In database, awaiting verifiable commitment
COMMITTED = 5; // The stored event is verifiable
UNEQUIVOCAL = 6; // Provable independent of DataTrails
j-hartley marked this conversation as resolved.
Show resolved Hide resolved
}

enum TrackedStatus {
Expand Down
Loading