Commit 97338dc Jason Yellick
committed
1 parent bd549d7 commit 97338dc Copy full SHA for 97338dc
File tree 1 file changed +28
-0
lines changed
common/configtx/handlers/orderer
1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,34 @@ import (
30
30
"github.com/op/go-logging"
31
31
)
32
32
33
+ var orgSchema = & cb.ConfigGroupSchema {
34
+ Groups : map [string ]* cb.ConfigGroupSchema {},
35
+ Values : map [string ]* cb.ConfigValueSchema {
36
+ "MSP" : nil , // TODO, consolidate into a constant once common org code exists
37
+ },
38
+ Policies : map [string ]* cb.ConfigPolicySchema {
39
+ // TODO, set appropriately once hierarchical policies are implemented
40
+ },
41
+ }
42
+
43
+ var Schema = & cb.ConfigGroupSchema {
44
+ Groups : map [string ]* cb.ConfigGroupSchema {
45
+ "" : orgSchema ,
46
+ },
47
+ Values : map [string ]* cb.ConfigValueSchema {
48
+ ConsensusTypeKey : nil ,
49
+ BatchSizeKey : nil ,
50
+ BatchTimeoutKey : nil ,
51
+ ChainCreationPolicyNamesKey : nil ,
52
+ KafkaBrokersKey : nil ,
53
+ IngressPolicyNamesKey : nil ,
54
+ EgressPolicyNamesKey : nil ,
55
+ },
56
+ Policies : map [string ]* cb.ConfigPolicySchema {
57
+ // TODO, set appropriately once hierarchical policies are implemented
58
+ },
59
+ }
60
+
33
61
const (
34
62
// ConsensusTypeKey is the cb.ConfigItem type key name for the ConsensusType message
35
63
ConsensusTypeKey = "ConsensusType"
You can’t perform that action at this time.
0 commit comments