This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce required config values by setting reasonable defaults. (#22)
The entries required by the base config have been reduced to: nodes.number, consensus, quorum version, and tessera version. An example of the minimal config is added under `examples/config/qubes-minimal.yaml` and shown here: ``` nodes: number: 4 quorum: # supported: (raft | istanbul) consensus: istanbul quorum: Quorum_Version: 2.2.5 tm: # (tessera|constellation) Name: tessera Tm_Version: 0.11 ``` All other values will receive reasonable defaults, e.g. geth ports will be the default geth ports. The default values are as follows: ``` Raft_Port = 50401 Tm_Port = 9001 Node_RPCPort = 8545 geth p2p port = 30303 service.type = "NodePort" geth.verbosity = 9 geth.chainId = 1101 Tessera_Config_Dir = "out/config" Genesis_File = "out/config/genesis.json" Permissioned_Nodes_File = "out/config/permissioned-nodes.json" Key_Dir_Base = "out/config" Node_DataDir = "/etc/quorum/qdata" ``` The default values will be overridden, If set in the config yaml used to generate the network.
- Loading branch information
Showing
18 changed files
with
179 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# This is the simplest configuration file, only specifying: | ||
# 1. the number of nodes | ||
# 2. quorum's consensus (istanbul IBFT, or Raft) | ||
# 3. the version of the quorum container and the transaction manger container. | ||
# Reasonable defaults will be chosen for the rest of the values, ports, associated K8s resources, etc. | ||
|
||
# number of nodes to deploy | ||
nodes: | ||
number: 4 | ||
quorum: | ||
# supported: (raft | istanbul) | ||
consensus: istanbul | ||
quorum: | ||
Quorum_Version: 2.2.5 | ||
tm: | ||
# (tessera|constellation) | ||
Name: tessera | ||
Tm_Version: 0.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.