executor

package
v1.68.4 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrGetRollupStatus        = errors.New("ErrGetRollupStatus")
	ErrNullCommitData         = errors.New("ErrNullCommitData")
	ErrChainTitle             = errors.New("ErrChainTitle")
	ErrInvalidCommitRound     = errors.New("ErrInvalidCommitRound")
	ErrGetValPubs             = errors.New("ErrGetValPubs")
	ErrInvalidValidator       = errors.New("ErrInvalidValidator")
	ErrOutOfOrderCommit       = errors.New("ErrOutOfOrderCommit")
	ErrInvalidValidatorSign   = errors.New("ErrInvalidValidatorSign")
	ErrInvalidBlsPub          = errors.New("ErrInvalidBlsPub")
	ErrInvalidTxAggregateSign = errors.New("ErrInvalidTxAggregateSign")
)
View Source
var (
	//KeyPrefixStateDB state db key必须前缀
	KeyPrefixStateDB = "mavl-rollup-"
	//KeyPrefixLocalDB local db的key必须前缀
	KeyPrefixLocalDB = "LODB-rollup-"
)

Functions

func GetName

func GetName() string

GetName get driver name

func GetRollupStatus

func GetRollupStatus(kv db.KV, title string) (*rolluptypes.RollupStatus, error)

GetRollupStatus get rollup status

func GetRoundInfo

func GetRoundInfo(kv db.KV, title string, round int64) (*rolluptypes.CommitRoundInfo, error)

GetRoundInfo get round info

func Init

func Init(name string, cfg *types.Chain33Config, sub []byte)

Init register dapp

func InitExecType

func InitExecType()

InitExecType Init Exec Type

Types

This section is empty.

Jump to

Keyboard shortcuts

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