rootdomain

package
v0.9.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GenesisPrototypeSuffix = "_proto"
)

Variables

RootDomain is the root domain instance.

Functions

func GenesisRef

func GenesisRef(name string) insolar.Reference

GenesisRef returns reference to any genesis records based on the root domain.

Types

type Record

type Record struct {
	PCS insolar.PlatformCryptographyScheme
}

Record provides methods to calculate root domain's identifiers.

func (Record) ID

func (r Record) ID() insolar.ID

ID returns insolar.ID to root domain object.

func (Record) Ref

func (r Record) Ref() insolar.Reference

Ref returns insolar.Reference to root domain object.

Jump to

Keyboard shortcuts

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