How to configure multiple channel in fabric 1.0 using hyperledger-composer?

ⅰ亾dé卋堺 提交于 2019-12-08 11:22:09

问题


We are having more than 3 peer, We would like to configure two different channel for two different group of peers. How to configure multiple channel into connection.json for the fabric 1.0?


回答1:


The connection profile defines the channel name to connect to, so you can create one connection profile (cpA) for channel A and another (cpB) for channel B. You can then deploy a business network archive (BNA) using cpA and using cpB using the composer network deploy -p command.

This will give you two channels with the same business network definition (same logic), each with their own ledger and world-state.



来源:https://stackoverflow.com/questions/44525752/how-to-configure-multiple-channel-in-fabric-1-0-using-hyperledger-composer

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