Skip to content

Commit

Permalink
Add package comment and TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
pav-kv committed May 4, 2022
1 parent 09877c5 commit 616662a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hasher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 616662a

Please sign in to comment.