Documentation
¶
Index ¶
- Variables
- type FabricView
- func (*FabricView) Descriptor() ([]byte, []int)deprecated
- func (x *FabricView) GetEndorsements() []*peer.Endorsement
- func (x *FabricView) GetProposalResponsePayload() *peer.ProposalResponsePayload
- func (x *FabricView) GetResponse() *peer.Response
- func (*FabricView) ProtoMessage()
- func (x *FabricView) ProtoReflect() protoreflect.Message
- func (x *FabricView) Reset()
- func (x *FabricView) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_fabric_view_data_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FabricView ¶
type FabricView struct { // `Response` from the peers // https://github.com/hyperledger/fabric-protos-go/blob/master/peer/proposal_response.pb.go#L113 // We only need the `Payload` field though. Response *peer.Response `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` // `ProposalResponsePayload` is the output produced by each peer and signed as a serialized blob // https://github.com/hyperledger/fabric-protos-go/blob/master/peer/proposal_response.pb.go#L176 // `ProposalResponsePayload` contains an `Extension` field which is of type `ChaincodeAction` // https://github.com/hyperledger/fabric-protos-go/blob/master/peer/proposal.pb.go#L280 // We only need the `ProposalHash`, `ChaincodeId` and `Response` fields. ProposalResponsePayload *peer.ProposalResponsePayload `` /* 132-byte string literal not displayed */ // Each `Endorsement` is an identity coupled with a signature // https://github.com/hyperledger/fabric-protos-go/blob/master/peer/proposal_response.pb.go#L242 Endorsements []*peer.Endorsement `protobuf:"bytes,4,rep,name=endorsements,proto3" json:"endorsements,omitempty"` // contains filtered or unexported fields }
func (*FabricView) Descriptor
deprecated
func (*FabricView) Descriptor() ([]byte, []int)
Deprecated: Use FabricView.ProtoReflect.Descriptor instead.
func (*FabricView) GetEndorsements ¶
func (x *FabricView) GetEndorsements() []*peer.Endorsement
func (*FabricView) GetProposalResponsePayload ¶
func (x *FabricView) GetProposalResponsePayload() *peer.ProposalResponsePayload
func (*FabricView) GetResponse ¶
func (x *FabricView) GetResponse() *peer.Response
func (*FabricView) ProtoMessage ¶
func (*FabricView) ProtoMessage()
func (*FabricView) ProtoReflect ¶
func (x *FabricView) ProtoReflect() protoreflect.Message
func (*FabricView) Reset ¶
func (x *FabricView) Reset()
func (*FabricView) String ¶
func (x *FabricView) String() string
Click to show internal directories.
Click to hide internal directories.