def send_success(self, id_val=1):
        succ = {'id': id_val, 'result': True, 'error': None}
        if __debug__:
            self.logger.debug("success response: {}".format(pformat(succ)))
        self.write_queue.put(json.dumps(succ, separators=(',', ':')) + "\n")
Utility for transmitting success to the client
dataset/ETHPy150Open simplecrypto/powerpool/powerpool/stratum_server.py/StratumClient.send_success