In all of the tutorials , I see that we can add an organization or peer manually to an existing fabric network. But how do i dynamically assign an incoming node as a peer or an orderer depending on some criteria?
I am not sure about adding peer to fabric network using node sdk, but you can definitely add peer by using CLI.
For that you need to generate crypto material for new Peer and joining the existing channel
Please follow below link for more detail
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.