-
yacovm authored
This change set adds a new option ('--collections-config') so that the chaincode developer can specify the configuration of a collection when deploying a new chaincode. The option expects a file name; the content of the file will be read and parsed as a JSON-formatted array of the following struct type collectionConfigJson struct { Name string `json:"name"` Policy string `json:"policy"` RequiredCount int32 `json:"requiredPeerCount"` MaxPeerCount int32 `json:"maxPeerCount"` } Change-Id: Ifceed0db612b36c793937ef6704e8a179981413d Signed-off-by: Alessandro Sorniotti <ale.linux@sopit.net> Signed-off-by: yacovm <yacovm@il.ibm.com>
c0a2615b