This PR adds support to Tessera for storing CT entry bundles in under data.
The Static CT API defines leaf entry bundles as being stored under a tiles/data path. This is incompatible with the tlog-tiles spec which defines that path as tiles/entries.
This PR adds a CT-only storage option, WithCTLayout, which instructs storage implementations to use the Static CT API path.
A strong goal of this PR was to make it impossible for users of Tessera to implement arbitrary layout schemes, or accidentally use the CT layout without a clear signal that this is what they are doing.
This PR adds support to Tessera for storing CT entry bundles in under
data
.The Static CT API defines leaf entry bundles as being stored under a
tiles/data
path. This is incompatible with the tlog-tiles spec which defines that path astiles/entries
.This PR adds a CT-only storage option,
WithCTLayout
, which instructs storage implementations to use the Static CT API path.A strong goal of this PR was to make it impossible for users of Tessera to implement arbitrary layout schemes, or accidentally use the CT layout without a clear signal that this is what they are doing.
Fixes #171