How to configure multiple channel in fabric 1.0 us

2019-06-11 01:40发布

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条回答
啃猪蹄的小仙女
2楼-- · 2019-06-11 02:26

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.

查看更多
登录 后发表回答