github.com/adnan-c/fabric_e2e_couchdb@v0.6.1-preview.0.20170228180935-21ce6b23cf91/protos/common/configuration.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: common/configuration.proto 3 // DO NOT EDIT! 4 5 package common 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 // HashingAlgorithm is encoded into the configuration transaction as a configuration item of type Chain 17 // with a Key of "HashingAlgorithm" and a Value of HashingAlgorithm as marshaled protobuf bytes 18 type HashingAlgorithm struct { 19 // Currently supported algorithms are: SHAKE256 20 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 21 } 22 23 func (m *HashingAlgorithm) Reset() { *m = HashingAlgorithm{} } 24 func (m *HashingAlgorithm) String() string { return proto.CompactTextString(m) } 25 func (*HashingAlgorithm) ProtoMessage() {} 26 func (*HashingAlgorithm) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} } 27 28 // BlockDataHashingStructure is encoded into the configuration transaction as a configuration item of 29 // type Chain with a Key of "BlockDataHashingStructure" and a Value of HashingAlgorithm as marshaled protobuf bytes 30 type BlockDataHashingStructure struct { 31 // width specifies the width of the Merkle tree to use when computing the BlockDataHash 32 // in order to replicate flat hashing, set this width to MAX_UINT32 33 Width uint32 `protobuf:"varint,1,opt,name=width" json:"width,omitempty"` 34 } 35 36 func (m *BlockDataHashingStructure) Reset() { *m = BlockDataHashingStructure{} } 37 func (m *BlockDataHashingStructure) String() string { return proto.CompactTextString(m) } 38 func (*BlockDataHashingStructure) ProtoMessage() {} 39 func (*BlockDataHashingStructure) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} } 40 41 // OrdererAddresses is encoded into the configuration transaction as a configuration item of type Chain 42 // with a Key of "OrdererAddresses" and a Value of OrdererAddresses as marshaled protobuf bytes 43 type OrdererAddresses struct { 44 Addresses []string `protobuf:"bytes,1,rep,name=addresses" json:"addresses,omitempty"` 45 } 46 47 func (m *OrdererAddresses) Reset() { *m = OrdererAddresses{} } 48 func (m *OrdererAddresses) String() string { return proto.CompactTextString(m) } 49 func (*OrdererAddresses) ProtoMessage() {} 50 func (*OrdererAddresses) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} } 51 52 func init() { 53 proto.RegisterType((*HashingAlgorithm)(nil), "common.HashingAlgorithm") 54 proto.RegisterType((*BlockDataHashingStructure)(nil), "common.BlockDataHashingStructure") 55 proto.RegisterType((*OrdererAddresses)(nil), "common.OrdererAddresses") 56 } 57 58 func init() { proto.RegisterFile("common/configuration.proto", fileDescriptor2) } 59 60 var fileDescriptor2 = []byte{ 61 // 205 bytes of a gzipped FileDescriptorProto 62 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x44, 0x8e, 0x41, 0x4b, 0xc4, 0x30, 63 0x10, 0x46, 0x29, 0xea, 0x42, 0x03, 0xc2, 0x12, 0x3c, 0xac, 0xe2, 0x61, 0xe9, 0x41, 0x16, 0xc4, 64 0x8d, 0xe2, 0x2f, 0xd8, 0xe2, 0xc1, 0x9b, 0x50, 0x6f, 0xde, 0xd2, 0x64, 0x9a, 0x04, 0x9b, 0x4c, 65 0x99, 0x4c, 0x10, 0xff, 0xbd, 0x90, 0x2a, 0xde, 0xe6, 0xcd, 0xc7, 0x83, 0x27, 0x6e, 0x0c, 0xc6, 66 0x88, 0x49, 0x19, 0x4c, 0x53, 0x70, 0x85, 0x34, 0x07, 0x4c, 0xc7, 0x85, 0x90, 0x51, 0x6e, 0xd6, 67 0xad, 0xbb, 0x13, 0xdb, 0x57, 0x9d, 0x7d, 0x48, 0xee, 0x34, 0x3b, 0xa4, 0xc0, 0x3e, 0x4a, 0x29, 68 0xce, 0x93, 0x8e, 0xb0, 0x6b, 0xf6, 0xcd, 0xa1, 0x1d, 0xea, 0xdd, 0x3d, 0x89, 0xeb, 0x7e, 0x46, 69 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