Can we define multiple orderers and ca in connection.json?

北慕城南 提交于 2019-12-11 16:59:30

问题


Can we define multiple orderers and ca in connection.json, so that if one orderer is down then client application will automatically connect with the another available orderer? And same with the case of CA server.


回答1:


The node sdk for hyperledger fabric v1.0 has always supported adding multiple orderers in it's various pre-releases of v1.0 so the hyperledger composer connection profile has always supported being able to add multiple orderers. However with the release of rc1 the comments to the methods have been updated to say that only the first orderer in the list is used (which implies that for 1.0 the node sdk won't support multiple orderers for the v1.0 release) and as an implication of that hyperledger composer only supports a single orderer in it's connection profile (although multiple ones could be defined). The connection profile also only supports defining a single CA. Hyperledger Composer doesn't provide any sort of concept of HA for the CA.



来源:https://stackoverflow.com/questions/44849887/can-we-define-multiple-orderers-and-ca-in-connection-json

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!