Versions in this module Expand all Collapse all v1 v1.1.0 Apr 12, 2019 Changes in this version + func BroadcastEnvelope(envelope *fab.SignedEnvelope, orderers []fab.Orderer) (*fab.TransactionResponse, error) + func CreateChannelHeader(headerType common.HeaderType, opts ChannelHeaderOpts) (*common.ChannelHeader, error) + func CreateHeader(ctx fab.IdentityContext, channelHeader *common.ChannelHeader, ...) (*common.Header, error) + func New(resps []*fab.TransactionProposalResponse) (*fab.Transaction, error) + func NewID(signingIdentity fab.IdentityContext) (fab.TransactionID, error) + func NewProposal(ctx context, channelID string, request fab.ChaincodeInvokeRequest) (*fab.TransactionProposal, error) + func RegisterStatus(txID fab.TransactionID, eventHub fab.EventHub) chan Status + func Send(ctx context, tx *fab.Transaction, orderers []fab.Orderer) (*fab.TransactionResponse, error) + func SendEnvelope(ctx context, envelope *fab.SignedEnvelope, orderers []fab.Orderer) (*common.Block, error) + func SendProposal(proposal *fab.TransactionProposal, targets []fab.ProposalProcessor) ([]*fab.TransactionProposalResponse, error) + func SignPayload(ctx context, payload []byte) (*fab.SignedEnvelope, error) + func SignProposal(ctx context, proposal *pb.Proposal) (*pb.SignedProposal, error) + type CCProposalType int + const Instantiate + const Upgrade + type ChannelHeaderOpts struct + ChaincodeID string + ChannelID string + Epoch uint64 + TLSCertHash []byte + Timestamp time.Time + TxnID fab.TransactionID + type Status struct + Code pb.TxValidationCode + Error error