merkle

package
v0.0.0-...-12e214a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeySize = sha256.Size
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key [KeySize]byte

func (Key) String

func (k Key) String() string

type Tree

type Tree interface {
	Add(Key)
	Remove(Key)
	Root() Key
	Len() int
	Depth() int
	Keys() []*Key
}

func New

func New() Tree

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL