def relay(self, message, peer):

        # relaying will not be implemented until checkpoints are
        return

        # quota reached for this peer
        if self._relay_count.get(peer, 0) > MAX_RELAY_COUNT:
            return

        # track this relay request
        if peer not in self._relay_count: self._relay_count[peer] = 0
        self._relay_count[peer] += 1

        # relay to every peer except the sender
        for n in self.peers:
            if n == peer: continue
            peer.send(message)
Relay a message for a peer, providing it has not reached its quota.
dataset/ETHPy150Open ricmoo/pycoind/pycoind/node/basenode.py/BaseNode.relay