fabric

package
v1.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL