Versions in this module Expand all Collapse all v2 v2.1.0 Dec 22, 2021 Changes in this version + func CalcDagHash(hashType string, dag *cmCommonPb.DAG) ([]byte, error) + func CalcRWSetRoot(hashType string, txs []*cmCommonPb.Transaction) ([]byte, error) + func CalcTxHash(transaction *cmCommonPb.Transaction) ([]byte, error) + func TxRequestConverter(request *cm_pbgo.TxRequest) (*cmCommonPb.TxRequest, error) + func TxResponseConverter(response *cmCommonPb.TxResponse) (*cm_pbgo.TxResponse, error) + type ContractInfo struct + ContractName string + Method string + Parameters []interface{} + func GetContractInfoByTxPayload(transaction *cmCommonPb.Transaction) (*ContractInfo, error) + func NewContractInfo(name, method string, params []*cmCommonPb.KeyValuePair) *ContractInfo