From ae3954c85b5fa57aabf8df0cdad7de5d7ff833ef Mon Sep 17 00:00:00 2001 From: John Hartley Date: Tue, 14 May 2024 15:56:34 +0100 Subject: [PATCH] Update description of Confirmation Status For the swagger specs re AB#8987 --- .../assets/v2/assets/enums.proto | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/datatrails-common-api/assets/v2/assets/enums.proto b/datatrails-common-api/assets/v2/assets/enums.proto index 335e707..fe6fe5b 100644 --- a/datatrails-common-api/assets/v2/assets/enums.proto +++ b/datatrails-common-api/assets/v2/assets/enums.proto @@ -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 } enum TrackedStatus {