code

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2018 License: MIT Imports: 0 Imported by: 4

Documentation

Index

Constants

View Source
const (
	// general
	OK                       uint32 = 0
	WrongNonce               uint32 = 101
	CoinNotExists            uint32 = 102
	CoinReserveNotSufficient uint32 = 103
	TxTooLarge               uint32 = 105
	DecodeError              uint32 = 106
	InsufficientFunds        uint32 = 107
	TxPayloadTooLarge        uint32 = 109
	TxServiceDataTooLarge    uint32 = 110

	// coin creation
	CoinAlreadyExists uint32 = 201
	WrongCrr          uint32 = 202
	InvalidCoinSymbol uint32 = 203
	InvalidCoinName   uint32 = 204

	// convert
	CrossConvert uint32 = 301

	// candidate
	CandidateExists       uint32 = 401
	WrongCommission       uint32 = 402
	CandidateNotFound     uint32 = 403
	StakeNotFound         uint32 = 404
	InsufficientStake     uint32 = 405
	IsNotOwnerOfCandidate uint32 = 406
	IncorrectPubKey       uint32 = 407

	// check
	CheckInvalidLock uint32 = 501
	CheckExpired     uint32 = 502
	CheckUsed        uint32 = 503
	TooHighGasPrice  uint32 = 504
	WrongGasCoin     uint32 = 505
)

Variables

This section is empty.

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