executor

package
v1.67.3 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: BSD-3-Clause Imports: 7 Imported by: 4

Documentation

Overview

Package executor none执行器

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetName

func GetName() string

GetName return name at execution time

func Init

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

Init register newnone

func InitExecType added in v1.65.3

func InitExecType()

InitExecType the initialization process is relatively heavyweight, lots of reflect, so it's global

Types

type None

type None struct {
	drivers.DriverBase
}

None defines a none type

func (*None) CheckTx added in v1.65.3

func (n *None) CheckTx(tx *types.Transaction, index int) error

CheckTx 实现自定义检验交易接口,供框架调用

func (*None) ExecDelLocal added in v1.65.3

func (n *None) ExecDelLocal(tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)

ExecDelLocal localdb kv数据自动回滚接口

func (*None) ExecLocal_CommitDelayTx added in v1.65.3

func (n *None) ExecLocal_CommitDelayTx(commit *nty.CommitDelayTx, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)

ExecLocal_CommitDelayTx exec local commit delay tx

func (*None) Exec_CommitDelayTx added in v1.65.3

func (n *None) Exec_CommitDelayTx(commit *nty.CommitDelayTx, tx *types.Transaction, index int) (*types.Receipt, error)

Exec_CommitDelayTx exec commit dealy transaction

func (*None) GetDriverName

func (n *None) GetDriverName() string

GetDriverName return dcrivername at register

func (*None) Query_GetDelayBeginHeight added in v1.65.3

func (n *None) Query_GetDelayBeginHeight(req *types.ReqBytes) (types.Message, error)

Query_GetDelayBeginHeight query delay tx delay begin height

Jump to

Keyboard shortcuts

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