Skip to content

Commit ae736a4

Browse files
committed
[FAB-10152] bump the go-yaml parser
Also, reorder the elements in configtx.yaml for logical consistency with the config model. Change-Id: I54d4387c890cdfea708c0a74435bc38d5cf203b1 Signed-off-by: Matthew Sykes <sykesmat@us.ibm.com>
1 parent dc0811a commit ae736a4

File tree

20 files changed

+1135
-647
lines changed

20 files changed

+1135
-647
lines changed

Gopkg.lock

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ ignored = [
125125

126126
[[constraint]]
127127
name = "gopkg.in/yaml.v2"
128-
revision = "a3f3340b5840cee44f372bddb5880fcbc419b46a"
128+
version = "2.2"
129129

130130
[[constraint]]
131131
branch = "master"

examples/cluster/config/configtx.yaml

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -4,54 +4,6 @@
44
#
55

66
---
7-
################################################################################
8-
#
9-
# SECTION: Orderer
10-
#
11-
# - This section defines the values to encode into a config transaction or
12-
# genesis block for orderer related parameters
13-
#
14-
################################################################################
15-
Orderer: &OrdererDefaults
16-
17-
# Orderer Type: The orderer implementation to start
18-
# Available types are "solo" and "kafka"
19-
OrdererType: solo
20-
21-
Addresses:
22-
- orderer:7050
23-
24-
# Batch Timeout: The amount of time to wait before creating a batch
25-
BatchTimeout: 2s
26-
27-
# Batch Size: Controls the number of messages batched into a block
28-
BatchSize:
29-
30-
# Max Message Count: The maximum number of messages to permit in a batch
31-
MaxMessageCount: 10
32-
33-
# Absolute Max Bytes: The absolute maximum number of bytes allowed for
34-
# the serialized messages in a batch.
35-
AbsoluteMaxBytes: 98 MB
36-
37-
# Preferred Max Bytes: The preferred maximum number of bytes allowed for
38-
# the serialized messages in a batch. A message larger than the preferred
39-
# max bytes will result in a batch larger than preferred max bytes.
40-
PreferredMaxBytes: 512 KB
41-
42-
Kafka:
43-
# Brokers: A list of Kafka brokers to which the orderer connects. Edit
44-
# this list to identify the brokers of the ordering service.
45-
# NOTE: Use IP:port notation.
46-
Brokers:
47-
- kafka0:9092
48-
- kafka1:9092
49-
- kafka2:9092
50-
51-
# Organizations is the list of orgs which are defined as participants on
52-
# the orderer side of the network
53-
Organizations:
54-
557
################################################################################
568
#
579
# Section: Organizations
@@ -110,6 +62,54 @@ Application: &ApplicationDefaults
11062
# the application side of the network
11163
Organizations:
11264

65+
################################################################################
66+
#
67+
# SECTION: Orderer
68+
#
69+
# - This section defines the values to encode into a config transaction or
70+
# genesis block for orderer related parameters
71+
#
72+
################################################################################
73+
Orderer: &OrdererDefaults
74+
75+
# Orderer Type: The orderer implementation to start
76+
# Available types are "solo" and "kafka"
77+
OrdererType: solo
78+
79+
Addresses:
80+
- orderer:7050
81+
82+
# Batch Timeout: The amount of time to wait before creating a batch
83+
BatchTimeout: 2s
84+
85+
# Batch Size: Controls the number of messages batched into a block
86+
BatchSize:
87+
88+
# Max Message Count: The maximum number of messages to permit in a batch
89+
MaxMessageCount: 10
90+
91+
# Absolute Max Bytes: The absolute maximum number of bytes allowed for
92+
# the serialized messages in a batch.
93+
AbsoluteMaxBytes: 98 MB
94+
95+
# Preferred Max Bytes: The preferred maximum number of bytes allowed for
96+
# the serialized messages in a batch. A message larger than the preferred
97+
# max bytes will result in a batch larger than preferred max bytes.
98+
PreferredMaxBytes: 512 KB
99+
100+
Kafka:
101+
# Brokers: A list of Kafka brokers to which the orderer connects. Edit
102+
# this list to identify the brokers of the ordering service.
103+
# NOTE: Use IP:port notation.
104+
Brokers:
105+
- kafka0:9092
106+
- kafka1:9092
107+
- kafka2:9092
108+
109+
# Organizations is the list of orgs which are defined as participants on
110+
# the orderer side of the network
111+
Organizations:
112+
113113
################################################################################
114114
#
115115
# Profile

0 commit comments

Comments
 (0)