forked from cgorenflo/fabric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.pb.go
115 lines (97 loc) · 5.12 KB
/
configuration.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: common/configuration.proto
package common
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// HashingAlgorithm is encoded into the configuration transaction as a configuration item of type Chain
// with a Key of "HashingAlgorithm" and a Value of HashingAlgorithm as marshaled protobuf bytes
type HashingAlgorithm struct {
// Currently supported algorithms are: SHAKE256
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (m *HashingAlgorithm) Reset() { *m = HashingAlgorithm{} }
func (m *HashingAlgorithm) String() string { return proto.CompactTextString(m) }
func (*HashingAlgorithm) ProtoMessage() {}
func (*HashingAlgorithm) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
func (m *HashingAlgorithm) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// BlockDataHashingStructure is encoded into the configuration transaction as a configuration item of
// type Chain with a Key of "BlockDataHashingStructure" and a Value of HashingAlgorithm as marshaled protobuf bytes
type BlockDataHashingStructure struct {
// width specifies the width of the Merkle tree to use when computing the BlockDataHash
// in order to replicate flat hashing, set this width to MAX_UINT32
Width uint32 `protobuf:"varint,1,opt,name=width" json:"width,omitempty"`
}
func (m *BlockDataHashingStructure) Reset() { *m = BlockDataHashingStructure{} }
func (m *BlockDataHashingStructure) String() string { return proto.CompactTextString(m) }
func (*BlockDataHashingStructure) ProtoMessage() {}
func (*BlockDataHashingStructure) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
func (m *BlockDataHashingStructure) GetWidth() uint32 {
if m != nil {
return m.Width
}
return 0
}
// OrdererAddresses is encoded into the configuration transaction as a configuration item of type Chain
// with a Key of "OrdererAddresses" and a Value of OrdererAddresses as marshaled protobuf bytes
type OrdererAddresses struct {
Addresses []string `protobuf:"bytes,1,rep,name=addresses" json:"addresses,omitempty"`
}
func (m *OrdererAddresses) Reset() { *m = OrdererAddresses{} }
func (m *OrdererAddresses) String() string { return proto.CompactTextString(m) }
func (*OrdererAddresses) ProtoMessage() {}
func (*OrdererAddresses) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
func (m *OrdererAddresses) GetAddresses() []string {
if m != nil {
return m.Addresses
}
return nil
}
// Consortium represents the consortium context in which the channel was created
type Consortium struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (m *Consortium) Reset() { *m = Consortium{} }
func (m *Consortium) String() string { return proto.CompactTextString(m) }
func (*Consortium) ProtoMessage() {}
func (*Consortium) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{3} }
func (m *Consortium) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func init() {
proto.RegisterType((*HashingAlgorithm)(nil), "common.HashingAlgorithm")
proto.RegisterType((*BlockDataHashingStructure)(nil), "common.BlockDataHashingStructure")
proto.RegisterType((*OrdererAddresses)(nil), "common.OrdererAddresses")
proto.RegisterType((*Consortium)(nil), "common.Consortium")
}
func init() { proto.RegisterFile("common/configuration.proto", fileDescriptor2) }
var fileDescriptor2 = []byte{
// 230 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x8f, 0xc1, 0x4a, 0x03, 0x31,
0x10, 0x86, 0x59, 0xd4, 0xc2, 0x0e, 0x08, 0x25, 0x78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