gen_index

package
v0.8.4-1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenIndex

type GenIndex interface {
	IsRoot() bool
	GetDepth() uint64
}

binary merkle-tree node location identity: depth**2 + index

type GenIndexUint64

type GenIndexUint64 uint64

small generalized index, for efficiency

func (GenIndexUint64) GetDepth

func (g GenIndexUint64) GetDepth() (out uint64)

func (GenIndexUint64) IsRoot

func (g GenIndexUint64) IsRoot() bool

Jump to

Keyboard shortcuts

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