def peersetup(self, peers, cb=None):
        _log.debug("peersetup(%s)" % (peers))
        peers_copy = peers[:]
        peer_node_ids = {}
        if not cb:
            callback = CalvinCB(self.logging_callback, preamble="peersetup cb")
        else:
            callback = CalvinCB(self.peersetup_collect_cb, peers=peers_copy, peer_node_ids=peer_node_ids, org_cb=cb)

        self.network.join(peers, callback=callback)
Construct an immutable set from an optional iterable.
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/calvin_node.py/Node.peersetup--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/sets.py/ImmutableSet.__init__