merkle

package
v0.0.0-...-2208570 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tree

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

Tree is a representation of a portion of a Merkle Tree

func (*Tree) ReadFrom

func (t *Tree) ReadFrom(r io.Reader) (int64, error)

ReadFrom consumes r until EOF, computing tree digests along the way

func (*Tree) Root

func (t *Tree) Root() []byte

Root returns the digest at the top of the Merkle Tree

Jump to

Keyboard shortcuts

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