Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExecutorAPI ¶
type ExecutorAPI interface {
GetBlockByHashes(param *types.ReqHashes) (*types.BlockDetails, error)
GetRandNum(param *types.ReqRandHash) ([]byte, error)
QueryTx(param *types.ReqHash) (*types.TransactionDetail, error)
IsErr() bool
}
ExecutorAPI 提供给执行器使用的接口 因为合约是主链和平行链通用的,所以,主链和平行链都可以调用这套接口
func New ¶
func New(api client.QueueProtocolAPI, grpcClient types.Chain33Client) ExecutorAPI
New 新建接口
Click to show internal directories.
Click to hide internal directories.