Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
in Blockchain by (4.1k points)

When you create a hyperledger fabric network, you define organizations, orderers and peers in crypto-config.yaml and configtx.yaml.

But how do you add a new organization or a new peer to an existing organization in a network that is already setup? Run cryptogen and configtxgen pointing to config files that contain only the new organizations/peers? Re-generate everything?

1 Answer

0 votes
by (14.4k points)

Well, you are correct that orderers and peers are defined in crypto-config.yaml and configtx.yaml

You can add peers to an existing Hyperledger Fabric Network by generating crypto material. You can do that by using cryptogen extends for the new peer. This will spawn the new peer and join it with the existing channel on the network for further synchronization.

Browse Categories