From 616662aaac757337c2c3713ea2e9fabad2ac50ec Mon Sep 17 00:00:00 2001 From: Pavel Kalinnikov Date: Wed, 4 May 2022 07:43:08 -0400 Subject: [PATCH] Add package comment and TODO --- hasher.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hasher.go b/hasher.go index f7ce223..1074c5d 100644 --- a/hasher.go +++ b/hasher.go @@ -12,8 +12,13 @@ // See the License for the specific language governing permissions and // limitations under the License. +// Package merkle provides Merkle tree interfaces and implementation. package merkle +// TODO(pavelkalinnikov): Remove this root package. The only interface provided +// here does not have to exist, and can be [re-]defined on the user side, such +// as in compact or proof package. + // LogHasher provides the hash functions needed to compute dense merkle trees. type LogHasher interface { // EmptyRoot supports returning a special case for the root of an empty tree.