level

package
v0.0.0-...-4701ab3 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2019 License: LGPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrExceedHashCount  = errors.New("exceed hash count")
	ErrInvalidHashCount = errors.New("invalid hash count")
)

level errors

Functions

func BuildLevelRoot

func BuildLevelRoot(hashes []hash.Hash256) (hash.Hash256, error)

BuildLevelRoot returns the level root hash

func Hash16

func Hash16(hashes []hash.Hash256) (hash.Hash256, error)

Hash16 returns Hash(x1,'f',x2,'l',...,x16)

Types

This section is empty.

Jump to

Keyboard shortcuts

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