aboutsummaryrefslogtreecommitdiff
path: root/issues/add-read-only-mode.md
blob: d87c24412c2713385251a2f9277675cab121b169 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Add read-only mode
Reported by: rgdd

The process of shutting down a log will likely consist of at least two steps:
1. Stop accepting new logging requests. Serve the final (co)signed tree heads
for a while.
2. Take the log offline.

The first step requires some form of read-only mode. For example:
- Disable all write endpoints (`add-leaf` and `add-cosignature`)
- Implement a `StateManager` that serves fixed (co)signed tree heads.

For inspiration we could look at certificate transparency:
- https://github.com/google/certificate-transparency-go/tree/master/trillian/ctfe