(envs, block_path)
Join peer nodes to the channel.
    :param envs: environments variables for peer CLI.
    :param block_path: Path to file containing genesis block
Join peer nodes to the channel.
    :param envs: environments variables for peer CLI.
    :param block_path: Path to file containing genesis block
Join peer nodes to the channel . : param envs : environments variables for peer CLI . : param block_path : Path to file containing genesis block
def join_peers(envs, block_path):
    """
    Join peer nodes to the channel.
    :param envs: environments variables for peer CLI.
    :param block_path: Path to file containing genesis block
    """
    # Join the peers to the channel.
    peer_channel_cli = PeerChannel("v2.2.0", **envs)
    peer_channel_cli.join(
        block_file=block_path
    )
def join_peers ( envs , block_path ) : # Join the peers to the channel. peer_channel_cli = PeerChannel ( "v2.2.0" , * * envs ) peer_channel_cli . join ( block_file = block_path )