executor

package
v0.0.0-...-9259d71 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2018 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetName

func GetName() string

func Init

func Init(name string, sub []byte)

Types

type Coins

type Coins struct {
	drivers.DriverBase
}

func (*Coins) CheckTx

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

func (*Coins) ExecDelLocal_Transfer

func (c *Coins) ExecDelLocal_Transfer(transfer *types.AssetsTransfer, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)

func (*Coins) ExecDelLocal_TransferToExec

func (c *Coins) ExecDelLocal_TransferToExec(transfer *types.AssetsTransferToExec, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)

func (*Coins) ExecDelLocal_Withdraw

func (c *Coins) ExecDelLocal_Withdraw(withdraw *types.AssetsWithdraw, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)

func (*Coins) ExecLocal_Genesis

func (c *Coins) ExecLocal_Genesis(gen *types.AssetsGenesis, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)

func (*Coins) ExecLocal_Transfer

func (c *Coins) ExecLocal_Transfer(transfer *types.AssetsTransfer, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)

func (*Coins) ExecLocal_TransferToExec

func (c *Coins) ExecLocal_TransferToExec(transfer *types.AssetsTransferToExec, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)

func (*Coins) ExecLocal_Withdraw

func (c *Coins) ExecLocal_Withdraw(withdraw *types.AssetsWithdraw, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)

func (*Coins) Exec_Genesis

func (c *Coins) Exec_Genesis(genesis *types.AssetsGenesis, tx *types.Transaction, index int) (*types.Receipt, error)

func (*Coins) Exec_Transfer

func (c *Coins) Exec_Transfer(transfer *types.AssetsTransfer, tx *types.Transaction, index int) (*types.Receipt, error)

func (*Coins) Exec_TransferToExec

func (c *Coins) Exec_TransferToExec(transfer *types.AssetsTransferToExec, tx *types.Transaction, index int) (*types.Receipt, error)

func (*Coins) Exec_Withdraw

func (c *Coins) Exec_Withdraw(withdraw *types.AssetsWithdraw, tx *types.Transaction, index int) (*types.Receipt, error)

func (*Coins) GetAddrReciver

func (c *Coins) GetAddrReciver(addr *types.ReqAddr) (types.Message, error)

func (*Coins) GetDriverName

func (c *Coins) GetDriverName() string

func (*Coins) IsFriend

func (c *Coins) IsFriend(myexec, writekey []byte, othertx *types.Transaction) bool

coins 合约 运行 ticket 合约的挖矿交易

func (*Coins) Query_GetAddrReciver

func (c *Coins) Query_GetAddrReciver(in *types.ReqAddr) (types.Message, error)

func (*Coins) Query_GetAddrTxsCount

func (c *Coins) Query_GetAddrTxsCount(in *types.ReqKey) (types.Message, error)

func (*Coins) Query_GetPrefixCount

func (c *Coins) Query_GetPrefixCount(in *types.ReqKey) (types.Message, error)

func (*Coins) Query_GetTxsByAddr

func (c *Coins) Query_GetTxsByAddr(in *types.ReqAddr) (types.Message, error)

Jump to

Keyboard shortcuts

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