github.com/tenywen/fabric@v1.0.0-beta.0.20170620030522-a5b1ed380643/protos/peer/signed_cc_dep_spec.proto (about) 1 /* 2 Copyright IBM Corp. 2017 All Rights Reserved. 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 syntax = "proto3"; 17 18 option java_package = "org.hyperledger.fabric.protos.peer"; 19 option go_package = "github.com/hyperledger/fabric/protos/peer"; 20 21 package protos; 22 23 import "peer/proposal_response.proto"; 24 25 // SignedChaincodeDeploymentSpec carries the CDS along with endorsements 26 message SignedChaincodeDeploymentSpec { 27 28 // This is the bytes of the ChaincodeDeploymentSpec 29 bytes chaincode_deployment_spec = 1; 30 31 // This is the instantiation policy which is identical in structure 32 // to endorsement policy. This policy is checked by the VSCC at commit 33 // time on the instantiation (all peers will get the same policy as it 34 // will be part of the LSCC instantation record and will be part of the 35 // hash as well) 36 bytes instantiation_policy = 2; 37 38 // The endorsements of the above deployment spec, the owner's signature over 39 // chaincode_deployment_spec and Endorsement.endorser. 40 repeated Endorsement owner_endorsements = 3; 41 } 42