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 ¶ added in v1.1.0
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 ConstructSignedTxEnv ¶ added in v1.3.0
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)
ConstructSignedTxEnv constructs a transaction envelop for tests
func ConstructSignedTxEnvWithDefaultSigner ¶ added in v1.3.0
func ConstructSignedTxEnvWithDefaultSigner(chainID string, ccid *pb.ChaincodeID, response *pb.Response, simulationResults []byte, txid string, events []byte, visibility []byte) (*common.Envelope, string, error)
ConstructSignedTxEnvWithDefaultSigner constructs a transaction envelop for tests with a default signer. This method helps other modules to construct a transaction with supplied parameters
func ConstructUnsignedTxEnv ¶ added in v1.1.0
func ConstructUnsignedTxEnv(chainID string, ccid *pb.ChaincodeID, response *pb.Response, simulationResults []byte, txid string, events []byte, visibility []byte) (*common.Envelope, string, error)
ConstructUnsignedTxEnv creates a Transaction envelope from given inputs
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.