Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidSign = errors.New("invalid signature") ErrFuncNotFound = errors.New("function is not found") ErrRevealIsExist = errors.New("reveal is exist") ErrCommitIsExist = errors.New("commit is exist") ErrCommitIsNotExist = errors.New("commit is not exist") ErrInvalidReveal = errors.New("invalid reveal") ErrNewRound = errors.New("round is exist") ErrAddOracleInNebula = errors.New("oracle was added in nebula") ErrInvalidScore = errors.New("invalid score. score <= 0") ErrInvalidChainType = errors.New("invalid chain type") ErrInvalidHeight = errors.New("invalid height") ErrInvalidSubRound = errors.New("invalid sub round") ErrInvalidNebulaOwner = errors.New("invalid nebula owner") ErrNebulaNotFound = errors.New("nebula not found") ErrSignIsExist = errors.New("sign is exist") ErrRoundIsExist = errors.New("round is exist") )
Functions ¶
func SetState ¶
func SetState(tx *transactions.Transaction, store *storage.Storage, adaptors map[account.ChainType]adaptors.IBlockchainAdaptor, ctx context.Context) error
Types ¶
Click to show internal directories.
Click to hide internal directories.