@@ -41,31 +41,35 @@ General:
41
41
# per: fabric/docs/Setup/logging-control.md
42
42
LogLevel : debug
43
43
44
- # Genesis method: The method by which to retrieve/generate the genesis
45
- # block . Available values are "provisional", "file". Provisional utilizes
46
- # the parameters in the Genesis section to dynamically generate a new
47
- # genesis block. File uses the file provided by GenesisFile as the genesis
48
- # block.
44
+ # Genesis method: The method by which the genesis block for the orderer
45
+ # system channel is specified . Available options are "provisional", "file":
46
+ # - provisional: Utilizes a genesis profile, specified by GenesisProfile,
47
+ # to dynamically generate a new genesis block.
48
+ # - file: Uses the file provided by GenesisFile as the genesis block.
49
49
GenesisMethod : file
50
50
51
- # Genesis profile: The profile to use when using the provisional
52
- # GenesisMethod, See the configtx.yaml file for the descriptions of the
53
- # available profiles.
51
+ # Genesis profile: The profile to use to dynamically generate the genesis
52
+ # block to use when initializing the orderer system channel and
53
+ # GenesisMethod is set to "provisional". See the configtx.yaml file for the
54
+ # descriptions of the available profiles. Ignored if GenesisMethod is set to
55
+ # "file".
54
56
GenesisProfile : SampleSingleMSPSolo
55
57
56
- # Genesis file: The file containing the genesis block. Used by the orderer
57
- # when GenesisMethod is set to "file".
58
+ # Genesis file: The file containing the genesis block to use when
59
+ # initializing the orderer system channel and GenesisMethod is set to
60
+ # "file". Ignored if GenesisMethod is set to "provisional".
58
61
GenesisFile : genesis.block
59
62
60
- # LocalMSPDir is where to find the crypto material needed for signing in the
63
+ # LocalMSPDir is where to find the private crypto material needed by the
61
64
# orderer. It is set relative here as a default for dev environments but
62
65
# should be changed to the real location in production.
63
66
LocalMSPDir : msp
64
67
65
68
# LocalMSPID is the identity to register the local MSP material with the MSP
66
- # manager. IMPORTANT: Deployers need to change the value of the localMspId
67
- # string. In particular, the name of the local MSP ID of an orderer needs to
68
- # match the name of one of the MSPs in the ordering system channel.
69
+ # manager. IMPORTANT: The local MSP ID of an orderer needs to match the MSP
70
+ # ID of one of the organizations defined in the in the orderer system
71
+ # channel's /Channel/Orderer configuration. The sample organization defined
72
+ # in the sample configuration provided has an MSP ID of "DEFAULT".
69
73
LocalMSPID : OrdererMSP
70
74
71
75
# Enable an HTTP service for Go "pprof" profiling as documented at:
@@ -74,10 +78,17 @@ General:
74
78
Enabled : false
75
79
Address : 0.0.0.0:6060
76
80
77
- # BCCSP: Select which crypto implementation or library to use for the
78
- # blockchain crypto service provider.
81
+ # BCCSP configures the blockchain crypto service providers.
79
82
BCCSP :
83
+ # Default specifies the preferred blockchain crypto service provider
84
+ # to use. If the preferred provider is not available, the software
85
+ # based provider ("SW") will be used.
86
+ # Valid providers are:
87
+ # - SW: a software based crypto provider
88
+ # - PKCS11: a CA hardware security module crypto provider.
80
89
Default : SW
90
+
91
+ # SW configures the software based blockchain crypto provider.
81
92
SW :
82
93
# TODO: The default Hash and Security level needs refactoring to be
83
94
# fully configurable. Changing these defaults requires coordination
@@ -89,24 +100,11 @@ General:
89
100
FileKeyStore :
90
101
KeyStore :
91
102
92
- # ###############################################################################
93
- #
94
- # SECTION: RAM Ledger
95
- #
96
- # - This section applies to the configuration of the RAM ledger.
97
- #
98
- # ###############################################################################
99
- RAMLedger :
100
-
101
- # History Size: The number of blocks that the RAM ledger is set to retain.
102
- HistorySize : 1000
103
-
104
-
105
103
# ###############################################################################
106
104
#
107
105
# SECTION: File Ledger
108
106
#
109
- # - This section applies to the configuration of the file or json ledgers
107
+ # - This section applies to the configuration of the file or json ledgers.
110
108
#
111
109
# ###############################################################################
112
110
FileLedger :
@@ -120,6 +118,22 @@ FileLedger:
120
118
# Otherwise, this value is ignored.
121
119
Prefix : hyperledger-fabric-ordererledger
122
120
121
+ # ###############################################################################
122
+ #
123
+ # SECTION: RAM Ledger
124
+ #
125
+ # - This section applies to the configuration of the RAM ledger.
126
+ #
127
+ # ###############################################################################
128
+ RAMLedger :
129
+
130
+ # History Size: The number of blocks that the RAM ledger is set to retain.
131
+ # WARNING: Appending a block to the ledger might cause the oldest block in
132
+ # the ledger to be dropped in order to limit the number total number blocks
133
+ # to HistorySize. For example, if history size is 10, when appending block
134
+ # 10, block 0 (the genesis block!) will be dropped to make room for block 10.
135
+ HistorySize : 1000
136
+
123
137
# ###############################################################################
124
138
#
125
139
# SECTION: Kafka
@@ -131,31 +145,40 @@ Kafka:
131
145
132
146
# Retry: What to do if none of the Kafka brokers are available.
133
147
Retry :
134
- # The producer should attempt to reconnect every <Period>
148
+ # The orderer should attempt to reconnect every <Period>
135
149
Period : 3s
136
150
# Panic if <Stop> has elapsed and no connection has been established
137
151
Stop : 60s
138
152
139
- # Verbose: Turn on logging for sarama, the client library that we use to
140
- # interact with the Kafka cluster.
153
+ # Verbose: Enable logging for interactions with the Kafka cluster.
141
154
Verbose : false
142
155
143
- # TLS: TLS settings for the Kafka client
156
+ # TLS: TLS settings for the orderer's connection to the Kafka cluster.
144
157
TLS :
145
158
146
- # Enabled: set to true enable TLS
159
+ # Enabled: Use TLS when connecting to the Kafka cluster.
147
160
Enabled : false
148
161
149
- # PrivateKey: PEM-encoded private key orderer will use for authentication.
162
+ # PrivateKey: PEM-encoded private key the orderer will use for
163
+ # authentication.
150
164
PrivateKey :
151
- # File: uncomment to read PrivateKey from a file
165
+ # As an alternative to specifying the PrivateKey here, uncomment the
166
+ # following "File" key and specify the file name from which to load the
167
+ # value of PrivateKey.
168
+ # File: path/to/PrivateKey
152
169
153
- # Certificate: PEM-encoded signed public key vertificate orderer will use
154
- # for authentication.
170
+ # Certificate: PEM-encoded signed public key certificate the orderer will
171
+ # use for authentication.
155
172
Certificate :
156
- # File: uncomment to read Certificate from a file
173
+ # As an alternative to specifying the Certificate here, uncomment the
174
+ # following "File" key and specify the file name from which to load the
175
+ # value of Certificate.
176
+ # File: path/to/Certificate
157
177
158
- # RootCAs: PEM encoded trusted signer certificates used to validate
178
+ # RootCAs: PEM- encoded trusted root certificates used to validate
159
179
# certificates from the Kafka cluster.
160
180
RootCAs :
161
- # File: uncomment to read Certificate from a file
181
+ # As an alternative to specifying the RootCAs here, uncomment the
182
+ # following "File" key and specify the file name from which to load the
183
+ # value of RootCAs.
184
+ # File: path/to/RootCAs
0 commit comments