3
3
#
4
4
# Orderer Configuration
5
5
#
6
- # - This controls the type and configuration for the orderer which is started
7
- # - This controls the type and configuration for the ordererledger if needed
6
+ # - This controls the type and configuration of the orderer.
8
7
#
9
8
# ###############################################################################
10
9
General :
@@ -13,13 +12,13 @@ General:
13
12
# Available types are "ram", "file".
14
13
LedgerType : ram
15
14
16
- # Listen address: The IP on which to bind to listen
15
+ # Listen address: The IP on which to bind to listen.
17
16
ListenAddress : 127.0.0.1
18
17
19
- # Listen port: The port on which to bind to listen
18
+ # Listen port: The port on which to bind to listen.
20
19
ListenPort : 7050
21
20
22
- # TLS: TLS settings for the GRPC server
21
+ # TLS: TLS settings for the GRPC server.
23
22
TLS :
24
23
Enabled : false
25
24
PrivateKey :
@@ -28,8 +27,8 @@ General:
28
27
ClientAuthEnabled : false
29
28
ClientRootCAs :
30
29
31
- # Log Level: The level at which to log. This accepts logging specifications
32
- # per fabric/docs/Setup/logging-control.md
30
+ # Log Level: The level at which to log. This accepts logging specifications
31
+ # per: fabric/docs/Setup/logging-control.md
33
32
LogLevel : info
34
33
35
34
# Genesis method: The method by which to retrieve/generate the genesis
@@ -39,93 +38,93 @@ General:
39
38
# block.
40
39
GenesisMethod : provisional
41
40
42
- # Genesis profile: The profile to use when using the provisional GenesisMethod
43
- # See the configtx.yaml file for the descriptions of the available profiles
41
+ # Genesis profile: The profile to use when using the provisional
42
+ # GenesisMethod, See the configtx.yaml file for the descriptions of the
43
+ # available profiles.
44
44
GenesisProfile : SampleSingleMSPSolo
45
45
46
46
# Genesis file: The file containing the genesis block. Used by the orderer
47
47
# when GenesisMethod is set to "file".
48
48
GenesisFile : ./genesisblock
49
49
50
- # LocalMSPDir is where to find the crypto material needed for signing in the orderer
51
- # It is set relative here as a default for dev environments but should be changed to the
52
- # real location in production
50
+ # LocalMSPDir is where to find the crypto material needed for signing in the
51
+ # orderer. It is set relative here as a default for dev environments but
52
+ # should be changed to the real location in production.
53
53
LocalMSPDir : msp/sampleconfig
54
54
55
- # LocalMSPID is the identity to register the local MSP material with the MSP manager
56
- # ----!!!!IMPORTANT!!!-!!!IMPORTANT!!!-!!!IMPORTANT!!!!----
57
- # Deployers need to change the value of the localMspId string.
58
- # In particular, the name of the local MSP ID of a orderer needs
59
- # to match the name of one of the MSPs in the ordering system channel
55
+ # LocalMSPID is the identity to register the local MSP material with the MSP
56
+ # manager. IMPORTANT: Deployers need to change the value of the localMspId
57
+ # string. In particular, the name of the local MSP ID of an orderer needs to
58
+ # match the name of one of the MSPs in the ordering system channel.
60
59
LocalMSPID : DEFAULT
61
60
62
61
# Enable an HTTP service for Go "pprof" profiling as documented at:
63
62
# https://golang.org/pkg/net/http/pprof
64
63
Profile :
65
64
Enabled : false
66
65
Address : 0.0.0.0:6060
67
-
68
- # BCCSP (Blockchain crypto provider) : Select which crypto implementation or
69
- # library to use
66
+
67
+ # BCCSP: Select which crypto implementation or library to use for the
68
+ # blockchain crypto service provider.
70
69
BCCSP :
71
70
Default : SW
72
71
SW :
73
72
Hash : SHA3
74
73
Security : 256
75
- # Location of Key Store . If this is unset, a temporary location will
76
- # be chosen using 'LocalMSPDir'/keystore
77
- FileKeyStore :
78
- KeyStore :
74
+ # Location of key store . If this is unset, a location will be
75
+ # chosen using: 'LocalMSPDir'/keystore
76
+ FileKeyStore :
77
+ KeyStore :
79
78
80
79
# ###############################################################################
81
80
#
82
81
# SECTION: RAM Ledger
83
82
#
84
- # - This section applies to the configuration of the RAM ledger
83
+ # - This section applies to the configuration of the RAM ledger.
85
84
#
86
85
# ###############################################################################
87
86
RAMLedger :
88
87
89
- # History Size: The number of blocks that the RAM ledger is set to retain
88
+ # History Size: The number of blocks that the RAM ledger is set to retain.
90
89
HistorySize : 1000
91
90
92
91
93
92
# ###############################################################################
94
93
#
95
94
# SECTION: File Ledger
96
95
#
97
- # - This section applies to the configuration of the file ledger
96
+ # - This section applies to the configuration of the file ledger.
98
97
#
99
98
# ###############################################################################
100
99
FileLedger :
101
100
102
- # Location: The directory to store the blocks in
101
+ # Location: The directory to store the blocks in.
103
102
# NOTE: If this is unset, a temporary location will be chosen using
104
- # the prefix specified by Prefix
103
+ # the prefix specified by Prefix.
105
104
Location :
106
105
107
- # The prefix to use when generating a ledger directory in temporary space
108
- # Otherwise, this value is ignored
106
+ # The prefix to use when generating a ledger directory in temporary space.
107
+ # Otherwise, this value is ignored.
109
108
Prefix : hyperledger-fabric-ordererledger
110
109
111
110
# ###############################################################################
112
111
#
113
112
# SECTION: Kafka
114
113
#
115
- # - This section applies to the configuration of the Kafka-backed orderer
114
+ # - This section applies to the configuration of the Kafka-based orderer.
116
115
#
117
116
# ###############################################################################
118
117
Kafka :
119
118
120
- # Retry: What to do if none of the Kafka brokers are available
119
+ # Retry: What to do if none of the Kafka brokers are available.
121
120
Retry :
122
121
# The producer should attempt to reconnect every <Period>
123
122
Period : 3s
124
123
# Panic if <Stop> has elapsed and no connection has been established
125
124
Stop : 60s
126
125
127
126
# Verbose: Turn on logging for sarama, the client library that we use to
128
- # interact with the Kafka cluster
127
+ # interact with the Kafka cluster.
129
128
Verbose : false
130
129
131
130
# TLS: TLS settings for the Kafka client
@@ -134,11 +133,11 @@ Kafka:
134
133
# Enabled: set to true enable TLS
135
134
Enabled : false
136
135
137
- # PrivateKey: PEM encoded private key orderer will use for authentication.
136
+ # PrivateKey: PEM- encoded private key orderer will use for authentication.
138
137
PrivateKey :
139
138
# File: uncomment to read PrivateKey from a file
140
139
141
- # Certificate: PEM encoded signed public key vertificate orderer will use
140
+ # Certificate: PEM- encoded signed public key vertificate orderer will use
142
141
# for authentication.
143
142
Certificate :
144
143
# File: uncomment to read Certificate from a file
@@ -150,12 +149,13 @@ Kafka:
150
149
151
150
# ###############################################################################
152
151
#
153
- # SECTION: Sbft local
152
+ # SECTION: SBFT Local
154
153
#
155
- # - This section applies to the configuration of the Sbft-backed orderer
154
+ # - This section applies to the configuration of the SBFT-based orderer.
156
155
#
157
156
# ###############################################################################
158
157
SbftLocal :
158
+
159
159
# Address to use for SBFT internal communication
160
160
PeerCommAddr : " :6101"
161
161
CertFile : " sbft/testdata/cert1.pem"
@@ -167,12 +167,14 @@ SbftLocal:
167
167
#
168
168
# SECTION: Genesis
169
169
#
170
- # - This section is pending removal but is left to support Sbft
171
- # to be migrated to genesis .yaml
170
+ # - This section is pending removal but is left to support SBFT
171
+ # to be migrated to configtx .yaml.
172
172
#
173
173
# ###############################################################################
174
174
Genesis :
175
- # Deprecated Batch Timeout: The amount of time to wait before creating a batch
175
+
176
+ # Deprecated Batch Timeout: The amount of time to wait before creating a
177
+ # batch.
176
178
DeprecatedBatchTimeout : 10s
177
179
178
180
# DeprecatedBatchSize: The absolute maximum number of bytes allowed for
0 commit comments