From 72c2f39216d8d8e9bce589271b38c76d16ee2a36 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Tue, 25 Jan 2022 01:04:09 +0100 Subject: state: Refactor with new tree head endpoints For details see doc/proposals/2022-01-no-quick-tree-head-endpoint. --- issues/implement-decided-proposals.md | 3 +-- issues/refactor-pkg-state-single.md | 20 -------------------- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 issues/refactor-pkg-state-single.md (limited to 'issues') 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
-**Date:** 2021-12-20
- -# 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 -``` - -- cgit v1.2.3