Documentation ¶
Index ¶
- func ConstructBytesProposalResponsePayload(chainID string, ccid *pb.ChaincodeID, pResponse *pb.Response, ...) ([]byte, error)
- func ConstructSignedTxEnv(chainID string, ccid *pb.ChaincodeID, pResponse *pb.Response, ...) (*common.Envelope, string, error)
- func ConstructSignedTxEnvWithDefaultSigner(chainID string, ccid *pb.ChaincodeID, response *pb.Response, ...) (*common.Envelope, string, error)
- func ConstructUnsignedTxEnv(chainID string, ccid *pb.ChaincodeID, response *pb.Response, ...) (*common.Envelope, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstructBytesProposalResponsePayload ¶
func ConstructBytesProposalResponsePayload(chainID string, ccid *pb.ChaincodeID, pResponse *pb.Response, simulationResults []byte) ([]byte, error)
constructBytesProposalResponsePayLoad为具有默认签名者的测试构造ProposalResponsePayLoad字节。
func ConstructSignedTxEnv ¶
func ConstructSignedTxEnv(chainID string, ccid *pb.ChaincodeID, pResponse *pb.Response, simulationResults []byte, txid string, events []byte, visibility []byte, signer msp.SigningIdentity) (*common.Envelope, string, error)
ConstructSignedXenv构造用于测试的事务信封
func ConstructSignedTxEnvWithDefaultSigner ¶
func ConstructSignedTxEnvWithDefaultSigner(chainID string, ccid *pb.ChaincodeID, response *pb.Response, simulationResults []byte, txid string, events []byte, visibility []byte) (*common.Envelope, string, error)
ConstructSignedXenvWithDefaultSigner为带有默认签名者的测试构造一个事务信封。 此方法帮助其他模块使用提供的参数构造事务。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.