Documentation ¶
Index ¶
- func CertUserStoreKey(addr string) (key []byte)
- func GetName() string
- func Init(name string, cfg *types.Chain33Config, sub []byte)
- func InitExecType()
- type Cert
- func (c *Cert) CheckReceiptExecOk() bool
- func (c *Cert) CheckTx(tx *types.Transaction, index int) error
- func (c *Cert) ExecLocal_New(payload *ct.CertNew, tx *types.Transaction, receiptData *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (c *Cert) ExecLocal_Normal(payload *ct.CertNormal, tx *types.Transaction, receiptData *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (c *Cert) ExecLocal_Update(payload *ct.CertUpdate, tx *types.Transaction, receiptData *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (c *Cert) Exec_New(payload *ct.CertNew, tx *types.Transaction, index int) (*types.Receipt, error)
- func (c *Cert) Exec_Normal(payload *ct.CertNormal, tx *types.Transaction, index int) (*types.Receipt, error)
- func (c *Cert) Exec_Update(payload *ct.CertUpdate, tx *types.Transaction, index int) (*types.Receipt, error)
- func (c *Cert) GetDriverName() string
- func (c *Cert) Query_CertValidSNByAddr(req *ct.ReqQueryValidCertSN) (types.Message, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertUserStoreKey ¶ added in v1.65.2
Types ¶
type Cert ¶
type Cert struct {
drivers.DriverBase
}
Cert cert执行器
func (*Cert) CheckReceiptExecOk ¶
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) Exec_Normal ¶ added in v1.65.2
func (c *Cert) Exec_Normal(payload *ct.CertNormal, tx *types.Transaction, index int) (*types.Receipt, error)
func (*Cert) Exec_Update ¶ added in v1.65.2
func (c *Cert) Exec_Update(payload *ct.CertUpdate, tx *types.Transaction, index int) (*types.Receipt, error)
func (*Cert) Query_CertValidSNByAddr ¶ added in v1.65.2
Click to show internal directories.
Click to hide internal directories.