代码拉取完成,页面将自动刷新
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: peer/resources.proto
package peer
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import common3 "github.com/hyperledger/fabric/protos/common"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// ChaincodeIdentifier identifies a piece of chaincode. For a peer to accept invocations of
// this chaincode, the hash of the installed code must match, as must the version string
// included with the install command.
type ChaincodeIdentifier struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
}
func (m *ChaincodeIdentifier) Reset() { *m = ChaincodeIdentifier{} }
func (m *ChaincodeIdentifier) String() string { return proto.CompactTextString(m) }
func (*ChaincodeIdentifier) ProtoMessage() {}
func (*ChaincodeIdentifier) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{0} }
func (m *ChaincodeIdentifier) GetHash() []byte {
if m != nil {
return m.Hash
}
return nil
}
func (m *ChaincodeIdentifier) GetVersion() string {
if m != nil {
return m.Version
}
return ""
}
// ChaincodeValidation instructs the peer how transactions for this chaincode should be
// validated. The only validation mechanism which ships with fabric today is the standard
// 'vscc' validation mechanism. This built in validation method utilizes an endorsement policy
// which checks that a sufficient number of signatures have been included. The 'arguement'
// field encodes any parameters required by the validation implementation.
type ChaincodeValidation struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Argument []byte `protobuf:"bytes,2,opt,name=argument,proto3" json:"argument,omitempty"`
}
func (m *ChaincodeValidation) Reset() { *m = ChaincodeValidation{} }
func (m *ChaincodeValidation) String() string { return proto.CompactTextString(m) }
func (*ChaincodeValidation) ProtoMessage() {}
func (*ChaincodeValidation) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{1} }
func (m *ChaincodeValidation) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ChaincodeValidation) GetArgument() []byte {
if m != nil {
return m.Argument
}
return nil
}
// VSCCArgs is passed (marshaled) as a parameter to the VSCC imlementation via the
// argument field of the ChaincodeValidation message.
type VSCCArgs struct {
EndorsementPolicyRef string `protobuf:"bytes,1,opt,name=endorsement_policy_ref,json=endorsementPolicyRef" json:"endorsement_policy_ref,omitempty"`
}
func (m *VSCCArgs) Reset() { *m = VSCCArgs{} }
func (m *VSCCArgs) String() string { return proto.CompactTextString(m) }
func (*VSCCArgs) ProtoMessage() {}
func (*VSCCArgs) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{2} }
func (m *VSCCArgs) GetEndorsementPolicyRef() string {
if m != nil {
return m.EndorsementPolicyRef
}
return ""
}
// ChaincodeEndorsement instructs the peer how transactions should be endorsed. The only
// endorsement mechanism which ships with the fabric today is the standard 'escc' mechanism.
// This code simply simulates the proposal to generate a RW set, then signs the result
// using the peer's local signing identity.
type ChaincodeEndorsement struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (m *ChaincodeEndorsement) Reset() { *m = ChaincodeEndorsement{} }
func (m *ChaincodeEndorsement) String() string { return proto.CompactTextString(m) }
func (*ChaincodeEndorsement) ProtoMessage() {}
func (*ChaincodeEndorsement) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{3} }
func (m *ChaincodeEndorsement) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// ConfigTree encapsulates channel and resources configuration of a channel.
// Both configurations are represented as common.Config
type ConfigTree struct {
ChannelConfig *common3.Config `protobuf:"bytes,1,opt,name=channel_config,json=channelConfig" json:"channel_config,omitempty"`
ResourcesConfig *common3.Config `protobuf:"bytes,2,opt,name=resources_config,json=resourcesConfig" json:"resources_config,omitempty"`
}
func (m *ConfigTree) Reset() { *m = ConfigTree{} }
func (m *ConfigTree) String() string { return proto.CompactTextString(m) }
func (*ConfigTree) ProtoMessage() {}
func (*ConfigTree) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{4} }
func (m *ConfigTree) GetChannelConfig() *common3.Config {
if m != nil {
return m.ChannelConfig
}
return nil
}
func (m *ConfigTree) GetResourcesConfig() *common3.Config {
if m != nil {
return m.ResourcesConfig
}
return nil
}
func init() {
proto.RegisterType((*ChaincodeIdentifier)(nil), "protos.ChaincodeIdentifier")
proto.RegisterType((*ChaincodeValidation)(nil), "protos.ChaincodeValidation")
proto.RegisterType((*VSCCArgs)(nil), "protos.VSCCArgs")
proto.RegisterType((*ChaincodeEndorsement)(nil), "protos.ChaincodeEndorsement")
proto.RegisterType((*ConfigTree)(nil), "protos.ConfigTree")
}
func init() { proto.RegisterFile("peer/resources.proto", fileDescriptor10) }
var fileDescriptor10 = []byte{
// 326 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0xbf, 0x4f, 0xfb, 0x30,
0x10, 0xc5, 0xd5, 0xea, 0xab, 0x2f, 0xed, 0x51, 0x0a, 0x32, 0x05, 0x55, 0x9d, 0xaa, 0x4c, 0x85,
0x21, 0x91, 0xf8, 0x31, 0xb0, 0x01, 0x51, 0x07, 0x26, 0x50, 0x40, 0x1d, 0x58, 0x2a, 0xd7, 0xb9,
0x24, 0x96, 0x12, 0x3b, 0x3a, 0xbb, 0x88, 0x2e, 0xfc, 0xed, 0x28, 0x76, 0x1b, 0x3a, 0x74, 0xf2,
0x9d, 0xdf, 0xe7, 0x9e, 0x4e, 0xef, 0x60, 0x54, 0x23, 0x52, 0x44, 0x68, 0xf4, 0x9a, 0x04, 0x9a,
0xb0, 0x26, 0x6d, 0x35, 0xfb, 0xef, 0x1e, 0x33, 0xb9, 0x10, 0xba, 0xaa, 0xb4, 0x8a, 0x84, 0x56,
0x99, 0xcc, 0xed, 0xb7, 0x97, 0x83, 0x18, 0xce, 0xe3, 0x82, 0x4b, 0x25, 0x74, 0x8a, 0x2f, 0x29,
0x2a, 0x2b, 0x33, 0x89, 0xc4, 0x18, 0xfc, 0x2b, 0xb8, 0x29, 0xc6, 0x9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 0x57, 0xfe, 0xd2, 0xb7, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x5d, 0x4a,
0x54, 0x47, 0x08, 0x02, 0x00, 0x00,
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。