Same as the topic, is it possible to run 2 or more channels on a same peer container? I have been reading the docs for days about how to configure the MSP to allow such doing so?
相关问题
- How to add a new Orderer Organization to existing
- How do you generate pool_transactions_genesis and
- chaincode in hyperledger composer vs chaincode in
- Send Raw Transaction Ethereum infura nodejs npm
- Hyperledger fabcar sample fabric showing connect f
相关文章
- Does Composer needs an already built Fabric networ
- Hyperledger transaction verification
- Hyperledger Fabric - Error while Instantiating cha
- Hyperledger fabric's ChannelCreationPolicy
- Hyperledger fabric's ChannelCreationPolicy
- what kind of peer types does hyperledger have?
- Asset Creation through Transaction in Hyperledger
- hyperledger fabric first_network example create ch
Yes, you can run on one peer multiple chains, all you need is to produce configuration for each one of them and make peer to join it. Basically the flow works as following:
configtx.yaml
.Use
configtxgen
to produce create channel transaction and updates for anchor peerswhere
PeerChannelProfile
is the configuration profile you have defined inconfigtx.yaml
file. Now depends of number of organizations you need to produce an update for anchor peers per each org as following:need to be repeated for each org, if you have only one org, no need to follow this step.
Now when you have create channel transaction you can actually make your peer to join the network by:
this will produce genesis block for your channel, last step is to make peer to join it.
Joining new channel:
You can find more examples and details on Getting Started page.