Skip to content

Commit

Permalink
identify the latest blobs for each tenant (#182)
Browse files Browse the repository at this point in the history
* identify the latest blobs for each tenant

Please note this is work in progress. The logwatcher_*.go files will
move once the repostitory shuffling is done

AB#9402

* review: consistenly provide function comments

* Update go-forestrie/demos/veracity/logwatcher_pathparse.go

Co-authored-by: Joe Gough <[email protected]>
Signed-off-by: robinbryce <[email protected]>

---------

Signed-off-by: robinbryce <[email protected]>
Co-authored-by: Robin Bryce <[email protected]>
Co-authored-by: Joe Gough <[email protected]>
  • Loading branch information
3 people authored May 10, 2024
1 parent fd22295 commit 061ca1c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions massifs/tenantblobpaths.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@ package massifs
import "fmt"

const (
V1MMRPrefix = "v1/mmrs"
V1MMRTenantPrefix = "v1/mmrs/tenant"
V1MMRPrefix = "v1/mmrs"
V1MMRTenantPrefix = "v1/mmrs/tenant"

V1MMRPathSep = "/"
V1MMRExtSep = "."
V1MMRMassifExt = "log"
V1MMRBlobNameFmt = "%016d.log"
V1MMRSignedTreeHeadBlobNameFmt = "%016d.sth"
V1MMSealSignedRoot = "sth" // Signed Tree Head
V1MMRSealSignedRootExt = "sth" // Signed Tree Head
V1MMRConsistencyProofBlobNameFmt = "%016d.cproof"
V1MMRSealCPROOF = "cproof" // Consistency Proof
// LogInstanceN refers to the approach for handling blob size and format changes discussed at
Expand Down

0 comments on commit 061ca1c

Please sign in to comment.