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 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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.