diff options
author | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-01-25 01:04:09 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-01-26 00:33:44 +0100 |
commit | 72c2f39216d8d8e9bce589271b38c76d16ee2a36 (patch) | |
tree | 7bd93182471e9aa2fd06d695cb5dfda4efd42c1f /issues | |
parent | 1594b0830d8cd18ab158dfffb64dd3c219da8f10 (diff) |
state: Refactor with new tree head endpoints
For details see doc/proposals/2022-01-no-quick-tree-head-endpoint.
Diffstat (limited to 'issues')
-rw-r--r-- | issues/implement-decided-proposals.md | 3 | ||||
-rw-r--r-- | issues/refactor-pkg-state-single.md | 20 |
2 files changed, 1 insertions, 22 deletions
diff --git a/issues/implement-decided-proposals.md b/issues/implement-decided-proposals.md index e3155c9..eecc58b 100644 --- a/issues/implement-decided-proposals.md +++ b/issues/implement-decided-proposals.md @@ -25,5 +25,4 @@ Current status on implementing the above: * [ ] get-\* endpoints * [ ] domain hint * [ ] add-leaf -* [ ] tree-head endpoints - * rgdd is assigned, started on something similar in `rgdd/state` +* [x] tree-head endpoints diff --git a/issues/refactor-pkg-state-single.md b/issues/refactor-pkg-state-single.md deleted file mode 100644 index 78a4e6c..0000000 --- a/issues/refactor-pkg-state-single.md +++ /dev/null @@ -1,20 +0,0 @@ -**Title:** Refactor pkg/state/single.go </br> -**Date:** 2021-12-20 </br> - -# Summary -Remove unwanted dependencies and resolve minor TODOs in `pkg/state/single.go`. - -# Description -Some refactoring is needed in `pkg/state/single.go`. In more detail, the -following dependencies are overkill and should ideally be removed: -- "github.com/google/certificate-transparency-go/schedule" -- "reflect" - -There are also two TODO prints in the code: -``` -$ git g TODO -single.go -115: return fmt.Errorf("signature-signer pair is a duplicate") // TODO: maybe not an error -154: sm.cosignatures = make(map[types.Hash]*types.Signature, 0) // TODO: on repeat we might want to not zero this -``` - |