executor

package
v6.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2019 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetName

func GetName() string

GetName 获取cert执行器名

func Init

func Init(name string, sub []byte)

Init 初始化

Types

type Cert

type Cert struct {
	drivers.DriverBase
}

Cert cert执行器

func (*Cert) CheckReceiptExecOk

func (c *Cert) CheckReceiptExecOk() bool

CheckReceiptExecOk return true to check if receipt ty is ok

func (*Cert) CheckTx

func (c *Cert) CheckTx(tx *types.Transaction, index int) error

CheckTx cert执行器tx证书校验

func (*Cert) ExecLocal_New

func (c *Cert) ExecLocal_New(payload *ct.CertNew, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)

ExecLocal_New 启用证书交易执行

func (*Cert) ExecLocal_Normal

func (c *Cert) ExecLocal_Normal(payload *ct.CertNormal, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)

ExecLocal_Normal 非证书变更交易执行

func (*Cert) ExecLocal_Update

func (c *Cert) ExecLocal_Update(payload *ct.CertUpdate, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)

ExecLocal_Update 更新证书交易执行

func (*Cert) GetDriverName

func (c *Cert) GetDriverName() string

GetDriverName 获取cert执行器名

Jump to

Keyboard shortcuts

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