mrkl

package module
v0.0.0-...-d416896 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashString

func HashString(string2 string) string

Types

type MTree

type MTree interface {
	Dispose()
	GetRootHash() string
	Lookup(payload string) bool
	TreeHeight() int
}

func Init

func Init(payload []string) MTree

type Mkl

type Mkl []mkl
var MrKl Mkl

type Tree

type Tree struct {
	// contains filtered or unexported fields
}

func (*Tree) Dispose

func (t *Tree) Dispose()

func (*Tree) GetRootHash

func (t *Tree) GetRootHash() string

func (*Tree) Lookup

func (t *Tree) Lookup(payload string) bool

func (*Tree) TreeHeight

func (t *Tree) TreeHeight() int

Jump to

Keyboard shortcuts

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