doid

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ClassCNameLength int = 6
)

Variables

View Source
var (
	ErrReserved = errors.New("reserved")
)

Functions

func DOIDHash added in v0.2.0

func DOIDHash(doid string) types.Hash

func GetOwnerDOIDNames added in v0.2.0

func GetOwnerDOIDNames(tree *iavl.ImmutableTree, owner types.Address) ([][]byte, error)

func OwnerHash added in v0.2.0

func OwnerHash(owner types.Address) types.Hash

func OwnerStatePrefix added in v0.2.0

func OwnerStatePrefix() []byte

func UpdateOwnerDOIDNames added in v0.2.0

func UpdateOwnerDOIDNames(tree *iavl.MutableTree, owner types.Address, name string, add bool) error

func ValidateDoidName added in v0.2.0

func ValidateDoidName(s string, valid int) error

func ValidateDoidNameSignatrue added in v0.2.0

func ValidateDoidNameSignatrue(doidName string, singer types.Address, signature []byte) bool

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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