Documentation ¶
Index ¶
- func ConstructBytesProposalResponsePayload(chainID string, ccid *pb.ChaincodeID, pResponse *pb.Response, ...) ([]byte, error)
- func ConstructSingedTxEnv(chainID string, ccid *pb.ChaincodeID, pResponse *pb.Response, ...) (*common.Envelope, string, error)
- func ConstructSingedTxEnvWithDefaultSigner(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 constructs a ProposalResponsePayload byte for tests with a default signer.
func ConstructSingedTxEnv ¶
func ConstructSingedTxEnv(chainID string, ccid *pb.ChaincodeID, pResponse *pb.Response, simulationResults []byte, txid string, events []byte, visibility []byte, signer msp.SigningIdentity) (*common.Envelope, string, error)
ConstructSingedTxEnv constructs a transaction envelop for tests
func ConstructSingedTxEnvWithDefaultSigner ¶
func ConstructSingedTxEnvWithDefaultSigner(chainID string, ccid *pb.ChaincodeID, response *pb.Response, simulationResults []byte, txid string, events []byte, visibility []byte) (*common.Envelope, string, error)
ConstructSingedTxEnvWithDefaultSigner constructs a transaction envelop for tests with a default signer. This method helps other modules to construct a transaction with supplied parameters
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.