You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
495 lines
22 KiB
495 lines
22 KiB
2 years ago
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// source: peer/transaction.proto
|
||
|
|
||
|
package peer
|
||
|
|
||
|
import (
|
||
|
fmt "fmt"
|
||
|
proto "github.com/golang/protobuf/proto"
|
||
|
common "github.com/hyperledger/fabric-protos-go/common"
|
||
|
math "math"
|
||
|
)
|
||
|
|
||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||
|
var _ = proto.Marshal
|
||
|
var _ = fmt.Errorf
|
||
|
var _ = math.Inf
|
||
|
|
||
|
// This is a compile-time assertion to ensure that this generated file
|
||
|
// is compatible with the proto package it is being compiled against.
|
||
|
// A compilation error at this line likely means your copy of the
|
||
|
// proto package needs to be updated.
|
||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||
|
|
||
|
type TxValidationCode int32
|
||
|
|
||
|
const (
|
||
|
TxValidationCode_VALID TxValidationCode = 0
|
||
|
TxValidationCode_NIL_ENVELOPE TxValidationCode = 1
|
||
|
TxValidationCode_BAD_PAYLOAD TxValidationCode = 2
|
||
|
TxValidationCode_BAD_COMMON_HEADER TxValidationCode = 3
|
||
|
TxValidationCode_BAD_CREATOR_SIGNATURE TxValidationCode = 4
|
||
|
TxValidationCode_INVALID_ENDORSER_TRANSACTION TxValidationCode = 5
|
||
|
TxValidationCode_INVALID_CONFIG_TRANSACTION TxValidationCode = 6
|
||
|
TxValidationCode_UNSUPPORTED_TX_PAYLOAD TxValidationCode = 7
|
||
|
TxValidationCode_BAD_PROPOSAL_TXID TxValidationCode = 8
|
||
|
TxValidationCode_DUPLICATE_TXID TxValidationCode = 9
|
||
|
TxValidationCode_ENDORSEMENT_POLICY_FAILURE TxValidationCode = 10
|
||
|
TxValidationCode_MVCC_READ_CONFLICT TxValidationCode = 11
|
||
|
TxValidationCode_PHANTOM_READ_CONFLICT TxValidationCode = 12
|
||
|
TxValidationCode_UNKNOWN_TX_TYPE TxValidationCode = 13
|
||
|
TxValidationCode_TARGET_CHAIN_NOT_FOUND TxValidationCode = 14
|
||
|
TxValidationCode_MARSHAL_TX_ERROR TxValidationCode = 15
|
||
|
TxValidationCode_NIL_TXACTION TxValidationCode = 16
|
||
|
TxValidationCode_EXPIRED_CHAINCODE TxValidationCode = 17
|
||
|
TxValidationCode_CHAINCODE_VERSION_CONFLICT TxValidationCode = 18
|
||
|
TxValidationCode_BAD_HEADER_EXTENSION TxValidationCode = 19
|
||
|
TxValidationCode_BAD_CHANNEL_HEADER TxValidationCode = 20
|
||
|
TxValidationCode_BAD_RESPONSE_PAYLOAD TxValidationCode = 21
|
||
|
TxValidationCode_BAD_RWSET TxValidationCode = 22
|
||
|
TxValidationCode_ILLEGAL_WRITESET TxValidationCode = 23
|
||
|
TxValidationCode_INVALID_WRITESET TxValidationCode = 24
|
||
|
TxValidationCode_INVALID_CHAINCODE TxValidationCode = 25
|
||
|
TxValidationCode_NOT_VALIDATED TxValidationCode = 254
|
||
|
TxValidationCode_INVALID_OTHER_REASON TxValidationCode = 255
|
||
|
)
|
||
|
|
||
|
var TxValidationCode_name = map[int32]string{
|
||
|
0: "VALID",
|
||
|
1: "NIL_ENVELOPE",
|
||
|
2: "BAD_PAYLOAD",
|
||
|
3: "BAD_COMMON_HEADER",
|
||
|
4: "BAD_CREATOR_SIGNATURE",
|
||
|
5: "INVALID_ENDORSER_TRANSACTION",
|
||
|
6: "INVALID_CONFIG_TRANSACTION",
|
||
|
7: "UNSUPPORTED_TX_PAYLOAD",
|
||
|
8: "BAD_PROPOSAL_TXID",
|
||
|
9: "DUPLICATE_TXID",
|
||
|
10: "ENDORSEMENT_POLICY_FAILURE",
|
||
|
11: "MVCC_READ_CONFLICT",
|
||
|
12: "PHANTOM_READ_CONFLICT",
|
||
|
13: "UNKNOWN_TX_TYPE",
|
||
|
14: "TARGET_CHAIN_NOT_FOUND",
|
||
|
15: "MARSHAL_TX_ERROR",
|
||
|
16: "NIL_TXACTION",
|
||
|
17: "EXPIRED_CHAINCODE",
|
||
|
18: "CHAINCODE_VERSION_CONFLICT",
|
||
|
19: "BAD_HEADER_EXTENSION",
|
||
|
20: "BAD_CHANNEL_HEADER",
|
||
|
21: "BAD_RESPONSE_PAYLOAD",
|
||
|
22: "BAD_RWSET",
|
||
|
23: "ILLEGAL_WRITESET",
|
||
|
24: "INVALID_WRITESET",
|
||
|
25: "INVALID_CHAINCODE",
|
||
|
254: "NOT_VALIDATED",
|
||
|
255: "INVALID_OTHER_REASON",
|
||
|
}
|
||
|
|
||
|
var TxValidationCode_value = map[string]int32{
|
||
|
"VALID": 0,
|
||
|
"NIL_ENVELOPE": 1,
|
||
|
"BAD_PAYLOAD": 2,
|
||
|
"BAD_COMMON_HEADER": 3,
|
||
|
"BAD_CREATOR_SIGNATURE": 4,
|
||
|
"INVALID_ENDORSER_TRANSACTION": 5,
|
||
|
"INVALID_CONFIG_TRANSACTION": 6,
|
||
|
"UNSUPPORTED_TX_PAYLOAD": 7,
|
||
|
"BAD_PROPOSAL_TXID": 8,
|
||
|
"DUPLICATE_TXID": 9,
|
||
|
"ENDORSEMENT_POLICY_FAILURE": 10,
|
||
|
"MVCC_READ_CONFLICT": 11,
|
||
|
"PHANTOM_READ_CONFLICT": 12,
|
||
|
"UNKNOWN_TX_TYPE": 13,
|
||
|
"TARGET_CHAIN_NOT_FOUND": 14,
|
||
|
"MARSHAL_TX_ERROR": 15,
|
||
|
"NIL_TXACTION": 16,
|
||
|
"EXPIRED_CHAINCODE": 17,
|
||
|
"CHAINCODE_VERSION_CONFLICT": 18,
|
||
|
"BAD_HEADER_EXTENSION": 19,
|
||
|
"BAD_CHANNEL_HEADER": 20,
|
||
|
"BAD_RESPONSE_PAYLOAD": 21,
|
||
|
"BAD_RWSET": 22,
|
||
|
"ILLEGAL_WRITESET": 23,
|
||
|
"INVALID_WRITESET": 24,
|
||
|
"INVALID_CHAINCODE": 25,
|
||
|
"NOT_VALIDATED": 254,
|
||
|
"INVALID_OTHER_REASON": 255,
|
||
|
}
|
||
|
|
||
|
func (x TxValidationCode) String() string {
|
||
|
return proto.EnumName(TxValidationCode_name, int32(x))
|
||
|
}
|
||
|
|
||
|
func (TxValidationCode) EnumDescriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_25804bbfb0752368, []int{0}
|
||
|
}
|
||
|
|
||
|
// Reserved entries in the key-level metadata map
|
||
|
type MetaDataKeys int32
|
||
|
|
||
|
const (
|
||
|
MetaDataKeys_VALIDATION_PARAMETER MetaDataKeys = 0
|
||
|
MetaDataKeys_VALIDATION_PARAMETER_V2 MetaDataKeys = 1
|
||
|
)
|
||
|
|
||
|
var MetaDataKeys_name = map[int32]string{
|
||
|
0: "VALIDATION_PARAMETER",
|
||
|
1: "VALIDATION_PARAMETER_V2",
|
||
|
}
|
||
|
|
||
|
var MetaDataKeys_value = map[string]int32{
|
||
|
"VALIDATION_PARAMETER": 0,
|
||
|
"VALIDATION_PARAMETER_V2": 1,
|
||
|
}
|
||
|
|
||
|
func (x MetaDataKeys) String() string {
|
||
|
return proto.EnumName(MetaDataKeys_name, int32(x))
|
||
|
}
|
||
|
|
||
|
func (MetaDataKeys) EnumDescriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_25804bbfb0752368, []int{1}
|
||
|
}
|
||
|
|
||
|
// 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.
|
||
|
type ProcessedTransaction struct {
|
||
|
// An Envelope which includes a processed transaction
|
||
|
TransactionEnvelope *common.Envelope `protobuf:"bytes,1,opt,name=transactionEnvelope,proto3" json:"transactionEnvelope,omitempty"`
|
||
|
// An indication of whether the transaction was validated or invalidated by committing peer
|
||
|
ValidationCode int32 `protobuf:"varint,2,opt,name=validationCode,proto3" json:"validationCode,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *ProcessedTransaction) Reset() { *m = ProcessedTransaction{} }
|
||
|
func (m *ProcessedTransaction) String() string { return proto.CompactTextString(m) }
|
||
|
func (*ProcessedTransaction) ProtoMessage() {}
|
||
|
func (*ProcessedTransaction) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_25804bbfb0752368, []int{0}
|
||
|
}
|
||
|
|
||
|
func (m *ProcessedTransaction) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_ProcessedTransaction.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *ProcessedTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_ProcessedTransaction.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *ProcessedTransaction) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_ProcessedTransaction.Merge(m, src)
|
||
|
}
|
||
|
func (m *ProcessedTransaction) XXX_Size() int {
|
||
|
return xxx_messageInfo_ProcessedTransaction.Size(m)
|
||
|
}
|
||
|
func (m *ProcessedTransaction) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_ProcessedTransaction.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_ProcessedTransaction proto.InternalMessageInfo
|
||
|
|
||
|
func (m *ProcessedTransaction) GetTransactionEnvelope() *common.Envelope {
|
||
|
if m != nil {
|
||
|
return m.TransactionEnvelope
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *ProcessedTransaction) GetValidationCode() int32 {
|
||
|
if m != nil {
|
||
|
return m.ValidationCode
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
// 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.
|
||
|
type Transaction struct {
|
||
|
// The payload is an array of TransactionAction. An array is necessary to
|
||
|
// accommodate multiple actions per transaction
|
||
|
Actions []*TransactionAction `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *Transaction) Reset() { *m = Transaction{} }
|
||
|
func (m *Transaction) String() string { return proto.CompactTextString(m) }
|
||
|
func (*Transaction) ProtoMessage() {}
|
||
|
func (*Transaction) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_25804bbfb0752368, []int{1}
|
||
|
}
|
||
|
|
||
|
func (m *Transaction) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_Transaction.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_Transaction.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *Transaction) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_Transaction.Merge(m, src)
|
||
|
}
|
||
|
func (m *Transaction) XXX_Size() int {
|
||
|
return xxx_messageInfo_Transaction.Size(m)
|
||
|
}
|
||
|
func (m *Transaction) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_Transaction.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_Transaction proto.InternalMessageInfo
|
||
|
|
||
|
func (m *Transaction) GetActions() []*TransactionAction {
|
||
|
if m != nil {
|
||
|
return m.Actions
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// TransactionAction binds a proposal to its action. The type field in the
|
||
|
// header dictates the type of action to be applied to the ledger.
|
||
|
type TransactionAction struct {
|
||
|
// The header of the proposal action, which is the proposal header
|
||
|
Header []byte `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
|
||
|
// The payload of the action as defined by the type in the header For
|
||
|
// chaincode, it's the bytes of ChaincodeActionPayload
|
||
|
Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *TransactionAction) Reset() { *m = TransactionAction{} }
|
||
|
func (m *TransactionAction) String() string { return proto.CompactTextString(m) }
|
||
|
func (*TransactionAction) ProtoMessage() {}
|
||
|
func (*TransactionAction) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_25804bbfb0752368, []int{2}
|
||
|
}
|
||
|
|
||
|
func (m *TransactionAction) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_TransactionAction.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *TransactionAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_TransactionAction.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *TransactionAction) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_TransactionAction.Merge(m, src)
|
||
|
}
|
||
|
func (m *TransactionAction) XXX_Size() int {
|
||
|
return xxx_messageInfo_TransactionAction.Size(m)
|
||
|
}
|
||
|
func (m *TransactionAction) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_TransactionAction.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_TransactionAction proto.InternalMessageInfo
|
||
|
|
||
|
func (m *TransactionAction) GetHeader() []byte {
|
||
|
if m != nil {
|
||
|
return m.Header
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *TransactionAction) GetPayload() []byte {
|
||
|
if m != nil {
|
||
|
return m.Payload
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// 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.
|
||
|
type ChaincodeActionPayload struct {
|
||
|
// This field contains the bytes of the ChaincodeProposalPayload message from
|
||
|
// the original invocation (essentially the arguments) after the application
|
||
|
// of the visibility function. The main visibility modes are "full" (the
|
||
|
// entire ChaincodeProposalPayload message is included here), "hash" (only
|
||
|
// the hash of the ChaincodeProposalPayload message is included) or
|
||
|
// "nothing". This field will be used to check the consistency of
|
||
|
// ProposalResponsePayload.proposalHash. For the CHAINCODE type,
|
||
|
// ProposalResponsePayload.proposalHash is supposed to be H(ProposalHeader ||
|
||
|
// f(ChaincodeProposalPayload)) where f is the visibility function.
|
||
|
ChaincodeProposalPayload []byte `protobuf:"bytes,1,opt,name=chaincode_proposal_payload,json=chaincodeProposalPayload,proto3" json:"chaincode_proposal_payload,omitempty"`
|
||
|
// The list of actions to apply to the ledger
|
||
|
Action *ChaincodeEndorsedAction `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *ChaincodeActionPayload) Reset() { *m = ChaincodeActionPayload{} }
|
||
|
func (m *ChaincodeActionPayload) String() string { return proto.CompactTextString(m) }
|
||
|
func (*ChaincodeActionPayload) ProtoMessage() {}
|
||
|
func (*ChaincodeActionPayload) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_25804bbfb0752368, []int{3}
|
||
|
}
|
||
|
|
||
|
func (m *ChaincodeActionPayload) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_ChaincodeActionPayload.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *ChaincodeActionPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_ChaincodeActionPayload.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *ChaincodeActionPayload) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_ChaincodeActionPayload.Merge(m, src)
|
||
|
}
|
||
|
func (m *ChaincodeActionPayload) XXX_Size() int {
|
||
|
return xxx_messageInfo_ChaincodeActionPayload.Size(m)
|
||
|
}
|
||
|
func (m *ChaincodeActionPayload) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_ChaincodeActionPayload.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_ChaincodeActionPayload proto.InternalMessageInfo
|
||
|
|
||
|
func (m *ChaincodeActionPayload) GetChaincodeProposalPayload() []byte {
|
||
|
if m != nil {
|
||
|
return m.ChaincodeProposalPayload
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *ChaincodeActionPayload) GetAction() *ChaincodeEndorsedAction {
|
||
|
if m != nil {
|
||
|
return m.Action
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// ChaincodeEndorsedAction carries information about the endorsement of a
|
||
|
// specific proposal
|
||
|
type ChaincodeEndorsedAction struct {
|
||
|
// This is the bytes of the ProposalResponsePayload message signed by the
|
||
|
// endorsers. Recall that for the CHAINCODE type, the
|
||
|
// ProposalResponsePayload's extenstion field carries a ChaincodeAction
|
||
|
ProposalResponsePayload []byte `protobuf:"bytes,1,opt,name=proposal_response_payload,json=proposalResponsePayload,proto3" json:"proposal_response_payload,omitempty"`
|
||
|
// The endorsement of the proposal, basically the endorser's signature over
|
||
|
// proposalResponsePayload
|
||
|
Endorsements []*Endorsement `protobuf:"bytes,2,rep,name=endorsements,proto3" json:"endorsements,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *ChaincodeEndorsedAction) Reset() { *m = ChaincodeEndorsedAction{} }
|
||
|
func (m *ChaincodeEndorsedAction) String() string { return proto.CompactTextString(m) }
|
||
|
func (*ChaincodeEndorsedAction) ProtoMessage() {}
|
||
|
func (*ChaincodeEndorsedAction) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_25804bbfb0752368, []int{4}
|
||
|
}
|
||
|
|
||
|
func (m *ChaincodeEndorsedAction) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_ChaincodeEndorsedAction.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *ChaincodeEndorsedAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_ChaincodeEndorsedAction.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *ChaincodeEndorsedAction) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_ChaincodeEndorsedAction.Merge(m, src)
|
||
|
}
|
||
|
func (m *ChaincodeEndorsedAction) XXX_Size() int {
|
||
|
return xxx_messageInfo_ChaincodeEndorsedAction.Size(m)
|
||
|
}
|
||
|
func (m *ChaincodeEndorsedAction) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_ChaincodeEndorsedAction.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_ChaincodeEndorsedAction proto.InternalMessageInfo
|
||
|
|
||
|
func (m *ChaincodeEndorsedAction) GetProposalResponsePayload() []byte {
|
||
|
if m != nil {
|
||
|
return m.ProposalResponsePayload
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *ChaincodeEndorsedAction) GetEndorsements() []*Endorsement {
|
||
|
if m != nil {
|
||
|
return m.Endorsements
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterEnum("protos.TxValidationCode", TxValidationCode_name, TxValidationCode_value)
|
||
|
proto.RegisterEnum("protos.MetaDataKeys", MetaDataKeys_name, MetaDataKeys_value)
|
||
|
proto.RegisterType((*ProcessedTransaction)(nil), "protos.ProcessedTransaction")
|
||
|
proto.RegisterType((*Transaction)(nil), "protos.Transaction")
|
||
|
proto.RegisterType((*TransactionAction)(nil), "protos.TransactionAction")
|
||
|
proto.RegisterType((*ChaincodeActionPayload)(nil), "protos.ChaincodeActionPayload")
|
||
|
proto.RegisterType((*ChaincodeEndorsedAction)(nil), "protos.ChaincodeEndorsedAction")
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("peer/transaction.proto", fileDescriptor_25804bbfb0752368) }
|
||
|
|
||
|
var fileDescriptor_25804bbfb0752368 = []byte{
|
||
|
// 838 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x54, 0x5d, 0x6f, 0x22, 0x37,
|
||
|
0x14, 0xdd, 0xc9, 0x36, 0x49, 0x63, 0x48, 0xe2, 0x18, 0x42, 0x80, 0xae, 0xda, 0x88, 0x87, 0x2a,
|
||
|
0x5a, 0x75, 0x41, 0xca, 0x3e, 0x54, 0xaa, 0xfa, 0x62, 0x66, 0x6e, 0xc2, 0x68, 0x07, 0x7b, 0xe4,
|
||
|
0x31, 0x84, 0xf4, 0xc5, 0x9a, 0x80, 0x97, 0xa0, 0x12, 0x06, 0xcd, 0xd0, 0x55, 0xf3, 0xda, 0x1f,
|
||
|
0xd0, 0x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