Documentation ¶
Overview ¶
Package executor none执行器
Index ¶
- func GetName() string
- func Init(name string, cfg *types.Chain33Config, sub []byte)
- func InitExecType()
- type None
- func (n *None) CheckTx(tx *types.Transaction, index int) error
- func (n *None) ExecDelLocal(tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)
- func (n *None) ExecLocal_CommitDelayTx(commit *nty.CommitDelayTx, tx *types.Transaction, receipt *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (n *None) Exec_CommitDelayTx(commit *nty.CommitDelayTx, tx *types.Transaction, index int) (*types.Receipt, error)
- func (n *None) GetDriverName() string
- func (n *None) Query_GetDelayBeginHeight(req *types.ReqBytes) (types.Message, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
GetDriverName return dcrivername at register
Click to show internal directories.
Click to hide internal directories.