nodehasher

package
v0.0.0-...-856de4a Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeoSfc

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

func NewGeoSfc

func NewGeoSfc(sfc curve.Curve) GeoSfc

func (GeoSfc) Sum

func (gs GeoSfc) Sum(meta *rpcapi.NodeMeta) (uint64, error)

type Hasher

type Hasher interface {
	Sum(*rpcapi.NodeMeta) (uint64, error)
}

type XXHash

type XXHash struct{}

func NewXXHash

func NewXXHash() XXHash

func (XXHash) Sum

func (xh XXHash) Sum(meta *rpcapi.NodeMeta) (uint64, error)

Jump to

Keyboard shortcuts

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