minermedic/api/cgminer.py
def reboot_claymore_miner(ip):

    """
    Sends a command to reboot a Claymore Miner

    Returns:
        dict - containing success or failure
    """

    port = flask_app.config.get("MINER_API_PORTS_CLAYMORE_PORT");
    cgminer = CgminerAPI(host=ip,port=port,payload_command="method")
    output = cgminer.miner_reboot()
    output.update({"IP": ip})
    return dict(output)

    Sends a command to reboot a Claymore Miner

    Returns:
        dict - containing success or failure
    
Sends a command to reboot a Claymore Miner
Sends a command to reboot a Claymore Miner
def reboot_claymore_miner(ip):
    port = flask_app.config.get("MINER_API_PORTS_CLAYMORE_PORT");
    cgminer = CgminerAPI(host=ip,port=port,payload_command="method")
    output = cgminer.miner_reboot()
    output.update({"IP": ip})
    return dict(output)
def reboot_claymore_miner ( ip ) : port = flask_app . config . get ( "MINER_API_PORTS_CLAYMORE_PORT" ) ; cgminer = CgminerAPI ( host = ip , port = port , payload_command = "method" ) output = cgminer . miner_reboot ( ) output . update ( { "IP" : ip } ) return dict ( output )
Sends a command to reboot a Claymore Miner
Sends a command to reboot a Claymore Miner
"""
    Sends a command to reboot a Claymore Miner

    Returns:
        dict - containing success or failure
    """
containing success or failure
containing success or failure
ip