package protos

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service Endorser

peer.proto:35

service Events

events.proto:108

Interface exported by the events server

message AnchorPeer

configuration.proto:31

AnchorPeer message structure which provides information about anchor peer, it includes host name, port number and peer certificate.

Used in: AnchorPeers

message AnchorPeers

configuration.proto:25

AnchorPeers simply represents list of anchor peers which is used in ConfigurationItem

message ChaincodeAction

proposal.proto:255

ChaincodeAction contains the actions the events generated by the execution of the chaincode.

message ChaincodeActionPayload

transaction.proto:94

ChaincodeActionPayload is the message to be used for the TransactionAction's payload when the Header's type is set to CHAINCODE. It carries the chaincodeProposalPayload and an endorsed action to apply to the ledger.

message ChaincodeDeploymentSpec

chaincode.proto:79

Specify the deployment of a chaincode. TODO: Define `codePackage`.

enum ChaincodeDeploymentSpec.ExecutionEnvironment

chaincode.proto:81

Used in: ChaincodeDeploymentSpec

message ChaincodeEndorsedAction

transaction.proto:113

ChaincodeEndorsedAction carries information about the endorsement of a specific proposal

Used in: ChaincodeActionPayload

message ChaincodeEvent

chaincode_event.proto:24

ChaincodeEvent is used for events and registrations that are specific to chaincode string type - "chaincode"

Used in: Event

message ChaincodeHeaderExtension

proposal.proto:217

ChaincodeHeaderExtension is the Header's extentions message to be used when the Header's type is CHAINCODE. This extensions is used to specify which chaincode to invoke and what should appear on the ledger.

message ChaincodeID

chaincode.proto:39

ChaincodeID contains the path as specified by the deploy transaction that created it as well as the hashCode that is generated by the system for the path. From the user level (ie, CLI, REST API and so on) deploy transaction is expected to provide the path and other requests are expected to provide the hashCode. The other value will be ignored. Internally, the structure could contain both values. For instance, the hashCode will be set when first generated using the path

Used in: ChaincodeAction, ChaincodeHeaderExtension, ChaincodeSpec

message ChaincodeInfo

query.proto:34

ChaincodeInfo contains general information about an installed/instantiated chaincode

Used in: ChaincodeQueryResponse

message ChaincodeInput

chaincode.proto:54

Carries the chaincode function and its arguments. UnmarshalJSON in transaction.go converts the string-based REST/JSON input to the []byte-based current ChaincodeInput structure.

Used in: ChaincodeSpec

message ChaincodeInvocationSpec

chaincode.proto:95

Carries the chaincode function and its arguments.

message ChaincodeProposalPayload

proposal.proto:239

ChaincodeProposalPayload is the Proposal's payload message to be used when the Header's type is CHAINCODE. It contains the arguments for this invocation.

message ChaincodeQueryResponse

query.proto:28

ChaincodeQueryResponse returns information about each chaincode that pertains to a query in lscc.go, such as GetChaincodes (returns all chaincodes instantiated on a channel), and GetInstalledChaincodes (returns all chaincodes installed on a peer)

message ChaincodeReg

events.proto:41

ChaincodeReg is used for registering chaincode Interests when EventType is CHAINCODE

Used in: Interest

message ChaincodeSpec

chaincode.proto:61

Carries the chaincode specification. This is the actual metadata required for defining a chaincode.

Used in: ChaincodeDeploymentSpec, ChaincodeInvocationSpec

enum ChaincodeSpec.Type

chaincode.proto:63

Used in: ChaincodeSpec

message ChannelInfo

query.proto:58

ChannelInfo contains general information about channels

Used in: ChannelQueryResponse

message ChannelQueryResponse

query.proto:53

ChannelQueryResponse returns information about each channel that pertains to a query in lscc.go, such as GetChannels (returns all channels for a given peer)

enum ConfidentialityLevel

chaincode.proto:26

Confidentiality Levels

message Endorsement

proposal_response.proto:111

An endorsement is a signature of an endorser over a proposal response. By producing an endorsement message, an endorser implicitly "approves" that proposal response and the actions contained therein. When enough endorsements have been collected, a transaction can be generated out of a set of proposal responses. Note that this message only contains an identity and a signature but no signed payload. This is intentional because endorsements are supposed to be collected in a transaction, and they are all expected to endorse a single proposal response/action (many endorsements over a single proposal response)

Used in: ChaincodeEndorsedAction, ProposalResponse

enum EventType

events.proto:32

Used in: Interest

message Interest

events.proto:46

Used in: Register, Unregister

message PeerEndpoint

peer.proto:30

message PeerID

peer.proto:26

Used in: PeerEndpoint

message ProcessedTransaction

transaction.proto:50

ProcessedTransaction wraps an Envelope that includes a transaction along with an indication of whether the transaction was validated or invalidated by committing peer. The use case is that GetTransactionByID API needs to retrieve the transaction Envelope from block storage, and return it to a client, and indicate whether the transaction was validated or invalidated by committing peer. So that the originally submitted transaction Envelope is not modified, the ProcessedTransaction wrapper is returned.

message Proposal

proposal.proto:134

A Proposal is sent to an endorser for endorsement. The proposal contains: 1. A header which should be unmarshaled to a Header message. Note that Header is both the header of a Proposal and of a Transaction, in that i) both headers should be unmarshaled to this message; and ii) it is used to compute cryptographic hashes and signatures. The header has fields common to all proposals/transactions. In addition it has a type field for additional customization. An example of this is the ChaincodeHeaderExtension message used to extend the Header for type CHAINCODE. 2. A payload whose type depends on the header's type field. 3. An extension whose type depends on the header's type field. Let us see an example. For type CHAINCODE (see the Header message), we have the following: 1. The header is a Header message whose extensions field is a ChaincodeHeaderExtension message. 2. The payload is a ChaincodeProposalPayload message. 3. The extension is a ChaincodeAction that might be used to ask the endorsers to endorse a specific ChaincodeAction, thus emulating the submitting peer model.

message ProposalResponsePayload

proposal_response.proto:75

ProposalResponsePayload is the payload of a proposal response. This message is the "bridge" between the client's request and the endorser's action in response to that request. Concretely, for chaincodes, it contains a hashed representation of the proposal (proposalHash) and a representation of the chaincode state changes and events inside the extension field.

message Register

events.proto:61

---------- consumer events --------- Register is sent by consumers for registering events string type - "register"

Used in: Event

message Rejection

events.proto:67

Rejection is sent by consumers for erroneous transaction rejection events string type - "rejection"

Used in: Event

message Response

proposal_response.proto:58

A response with a representation similar to an HTTP response that can be used within another message.

Used in: ChaincodeAction, ProposalResponse

message SignedTransaction

transaction.proto:32

This message is necessary to facilitate the verification of the signature (in the signature field) over the bytes of the transaction (in the transactionBytes field).

message Transaction

transaction.proto:70

The transaction to be sent to the ordering service. A transaction contains one or more TransactionAction. Each TransactionAction binds a proposal to potentially multiple actions. The transaction is atomic meaning that either all actions in the transaction will be committed or none will. Note that while a Transaction might include more than one Header, the Header.creator field must be the same in each. A single client is free to issue a number of independent Proposal, each with their header (Header) and request payload (ChaincodeProposalPayload). Each proposal is independently endorsed generating an action (ProposalResponsePayload) with one signature per Endorser. Any number of independent proposals (and their action) might be included in a transaction to ensure that they are treated atomically.

Used in: Rejection

message TransactionAction

transaction.proto:79

TransactionAction binds a proposal to its action. The type field in the header dictates the type of action to be applied to the ledger.

Used in: Transaction

enum TxValidationCode

transaction.proto:125

message Unregister

events.proto:73

---------- producer events ---------

Used in: Event