types

package
v0.0.0-...-46576e1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Success           = new(0, "success")
	ErrParse          = new(101, "error parsing data")
	ErrInvalidRequest = new(102, "invalid request")
	ErrInvalidMsgType = new(103, "invalid message type")
	ErrAlreadyExist   = new(104, "already exist")
	ErrNotFound       = new(105, "not found")
)

Return error code and message generating on the anchor.

View Source
var (
	DefaultHome     = filepath.Join(os.Getenv("HOME"), ".xplaset")
	GenFiles        []string
	GenAccounts     []authtypes.GenesisAccount
	GenBalances     []banktypes.Balance
	NodeIds         []string
	ValPubkeys      []cryptotypes.PubKey
	GentxsDirPath   string
	TotalSupply     = sdk.NewInt(0)
	SentryPeersList []string
	SentryInfos     = make(map[string][]SentryInfo)
)

Functions

This section is empty.

Types

type SentryInfo

type SentryInfo struct {
	NodeId string
	Ip     string
}

type XGoError

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

func (XGoError) Code

func (x XGoError) Code() uint64

func (XGoError) Desc

func (x XGoError) Desc() string

Jump to

Keyboard shortcuts

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