Skip to content

Commit 616662a

Browse files
committed
Add package comment and TODO
1 parent 09877c5 commit 616662a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hasher.go

+5
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
// Package merkle provides Merkle tree interfaces and implementation.
1516
package merkle
1617

18+
// TODO(pavelkalinnikov): Remove this root package. The only interface provided
19+
// here does not have to exist, and can be [re-]defined on the user side, such
20+
// as in compact or proof package.
21+
1722
// LogHasher provides the hash functions needed to compute dense merkle trees.
1823
type LogHasher interface {
1924
// EmptyRoot supports returning a special case for the root of an empty tree.

0 commit comments

Comments
 (0)