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.