aboutsummaryrefslogtreecommitdiff
path: root/issues/refactor-pkg-state-single.md
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@mullvad.net>2022-01-25 01:04:09 +0100
committerRasmus Dahlberg <rasmus@mullvad.net>2022-01-26 00:33:44 +0100
commit72c2f39216d8d8e9bce589271b38c76d16ee2a36 (patch)
tree7bd93182471e9aa2fd06d695cb5dfda4efd42c1f /issues/refactor-pkg-state-single.md
parent1594b0830d8cd18ab158dfffb64dd3c219da8f10 (diff)
state: Refactor with new tree head endpoints
For details see doc/proposals/2022-01-no-quick-tree-head-endpoint.
Diffstat (limited to 'issues/refactor-pkg-state-single.md')
-rw-r--r--issues/refactor-pkg-state-single.md20
1 files changed, 0 insertions, 20 deletions
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
-```
-