github.com/leonlxy/hyperledger@v1.0.0-alpha.0.20170427033203-34922035d248/protos/peer/signed_cc_dep_spec.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: peer/signed_cc_dep_spec.proto 3 // DO NOT EDIT! 4 5 package peer 6 7 import proto "github.com/golang/protobuf/proto" 8 import fmt "fmt" 9 import math "math" 10 11 // Reference imports to suppress errors if they are not otherwise used. 12 var _ = proto.Marshal 13 var _ = fmt.Errorf 14 var _ = math.Inf 15 16 // SignedChaincodeDeploymentSpec carries the CDS along with endorsements 17 type SignedChaincodeDeploymentSpec struct { 18 // This is the bytes of the ChaincodeDeploymentSpec 19 ChaincodeDeploymentSpec []byte `protobuf:"bytes,1,opt,name=chaincode_deployment_spec,json=chaincodeDeploymentSpec,proto3" json:"chaincode_deployment_spec,omitempty"` 20 // This is the instantiation policy which is identical in structure 21 // to endorsement policy. This policy is checked by the VSCC at commit 22 // time on the instantiation (all peers will get the same policy as it 23 // will be part of the LSCC instantation record and will be part of the 24 // hash as well) 25 InstantiationPolicy []byte `protobuf:"bytes,2,opt,name=instantiation_policy,json=instantiationPolicy,proto3" json:"instantiation_policy,omitempty"` 26 // The endorsements of the above deployment spec, the owner's signature over 27 // chaincode_deployment_spec and Endorsement.endorser. 28 OwnerEndorsements []*Endorsement `protobuf:"bytes,3,rep,name=owner_endorsements,json=ownerEndorsements" json:"owner_endorsements,omitempty"` 29 } 30 31 func (m *SignedChaincodeDeploymentSpec) Reset() { *m = SignedChaincodeDeploymentSpec{} } 32 func (m *SignedChaincodeDeploymentSpec) String() string { return proto.CompactTextString(m) } 33 func (*SignedChaincodeDeploymentSpec) ProtoMessage() {} 34 func (*SignedChaincodeDeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{0} } 35 36 func (m *SignedChaincodeDeploymentSpec) GetOwnerEndorsements() []*Endorsement { 37 if m != nil { 38 return m.OwnerEndorsements 39 } 40 return nil 41 } 42 43 func init() { 44 proto.RegisterType((*SignedChaincodeDeploymentSpec)(nil), "protos.SignedChaincodeDeploymentSpec") 45 } 46 47 func init() { proto.RegisterFile("peer/signed_cc_dep_spec.proto", fileDescriptor10) } 48 49 var fileDescriptor10 = []byte{ 50 // 255 bytes of a gzipped FileDescriptorProto 51 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x90, 0xc1, 0x4a, 0xc3, 0x40, 52 0x10, 0x86, 0xa9, 0x05, 0x0f, 0xab, 0x17, 0x53, 0xc1, 0x28, 0x16, 0x4a, 0x4f, 0xf5, 0x92, 0xa0, 53 0xde, 0x3c, 0x56, 0x3d, 0x2b, 0xed, 0xcd, 0xcb, 0x92, 0x4c, 0xc6, 0x64, 0x21, 0xdd, 0x19, 0x66, 54 0x56, 0x24, 0xaf, 0xe9, 0x13, 0x49, 0x76, 0x2d, 0xd6, 0x83, 0xa7, 0x85, 0xfd, 0xbe, 0x7f, 0x66, 55 0xf8, 0xcd, 0x9c, 0x11, 0xa5, 0x54, 0xd7, 0x7a, 0x6c, 0x2c, 0x80, 0x6d, 0x90, 0xad, 0x32, 0x42, 56 0xc1, 0x42, 0x81, 0xb2, 0xe3, 0xf8, 0xe8, 0xd5, 0x75, 0xd4, 0x58, 0x88, 0x49, 0xab, 0xde, 0x0a, 57 0x2a, 0x93, 0x57, 0x4c, 0xd6, 0xf2, 0x6b, 0x62, 0xe6, 0xdb, 0x38, 0xe2, 0xb1, 0xab, 0x9c, 0x07, 58 0x6a, 0xf0, 0x09, 0xb9, 0xa7, 0x61, 0x87, 0x3e, 0x6c, 0x19, 0x21, 0x7b, 0x30, 0x97, 0xb0, 0x47, 59 0xe3, 0x8e, 0x1f, 0x16, 0x57, 0xe5, 0x93, 0xc5, 0x64, 0x75, 0xba, 0xb9, 0x80, 0x7f, 0xb2, 0xb7, 60 0xe6, 0xdc, 0x79, 0x0d, 0x95, 0x0f, 0xae, 0x0a, 0x8e, 0xbc, 0x65, 0xea, 0x1d, 0x0c, 0xf9, 0x51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