You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://jira.hyperledger.org/browse/FAB-1612
The orderer.yaml file is currently very confusing because it mixes
configuration variables which are set one time via provisional genesis
with variables which can change on restart.
This changeset clarifies this issue.
Change-Id: I80cdd9f8c7702b158186468b0413ffc6f46ec6ff
Signed-off-by: Jason Yellick <[email protected]>
Copy file name to clipboardexpand all lines: orderer/sample_clients/broadcast_config/client.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ func main() {
75
75
76
76
flag.StringVar(&srv, "server", fmt.Sprintf("%s:%d", conf.General.ListenAddress, conf.General.ListenPort), "The RPC server to connect to.")
77
77
flag.StringVar(&cmd.name, "cmd", "newChain", "The action that this client is requesting via the config transaction.")
78
-
flag.StringVar(&cmd.args.consensusType, "consensusType", conf.General.OrdererType, "In case of a newChain command, the type of consensus the ordering service is running on.")
78
+
flag.StringVar(&cmd.args.consensusType, "consensusType", conf.Genesis.OrdererType, "In case of a newChain command, the type of consensus the ordering service is running on.")
79
79
flag.StringVar(&cmd.args.creationPolicy, "creationPolicy", "AcceptAllPolicy", "In case of a newChain command, the chain creation policy this request should be validated against.")
80
80
flag.StringVar(&cmd.args.chainID, "chainID", "NewChainID", "In case of a newChain command, the chain ID to create.")
0 commit comments