code

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TxCodeOK uint32 = iota
	TxCodeBadParam
	TxCodeNotEnoughBalance
	TxCodeSelfTransaction
	TxCodePermissionDenied
	TxCodeAlreadyGranted
	TxCodeAlreadyRegistered
	TxCodeParcelNotFound
	TxCodeBadSignature
	TxCodeRequestNotFound
	TxCodeMultipleDelegates
	TxCodeDelegateNotFound
	TxCodeNoStake
	TxCodeHeightTaken
	TxCodeBadValidator
	TxCodeLastValidator
	TxCodeDelegateExists
	TxCodeStakeLocked
	TxCodeUnknown
)
View Source
const (
	QueryCodeOK uint32 = iota
	QueryCodeBadPath
	QueryCodeNoKey
	QueryCodeBadKey
	QueryCodeNoMatch
)

Variables

View Source
var (
	TxErrBadParam          = errors.New("BadParam")
	TxErrNotEnoughBalance  = errors.New("NotEnoughBalance")
	TxErrSelfTransaction   = errors.New("SelfTransaction")
	TxErrPermissionDenied  = errors.New("PermissionDenied")
	TxErrAlreadyGranted    = errors.New("AlreadyGranted")
	TxErrAlreadyRegistered = errors.New("AlreadyRegistered")
	TxErrParcelNotFound    = errors.New("ParcelNotFound")
	TxErrBadSignature      = errors.New("BadSignature")
	TxErrRequestNotFound   = errors.New("RequestNotFound")
	TxErrMultipleDelegates = errors.New("MultipleDelegates")
	TxErrDelegateNotFound  = errors.New("DelegateNotFound")
	TxErrNoStake           = errors.New("NoStake")
	TxErrHeightTaken       = errors.New("HeightTaken")
	TxErrBadValidator      = errors.New("BadValidator")
	TxErrLastValidator     = errors.New("LastValidator")
	TxErrDelegateExists    = errors.New("DelegateExists")
	TxErrStakeLocked       = errors.New("StakeLocked")
	TxErrUnknown           = errors.New("UnknownError")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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