FirmwareAPI DocumentationCGminer commands

disablepool

Disables a pool

disablepool

Description

Disables a specific pool. If the pool is already disabled, the command returns an error (code 49, Pool <n>:'<url>' already disabled) and nothing changes. Note that LUXminer uses code 49 for both the already-enabled and the already-disabled case, whereas stock CGMiner uses 50 for already-disabled; check the STATUS field, not the code. To set the enabled state without that error, use editpool with enabled=false. If the disabled pool is the currently active within the group, the connection will be closed and the next pool will be used.

Note: If autosave is disabled, the changes will be lost after a reboot.

Command

$ echo '{"command": "disablepool", "parameter": "1"}' | nc $MINER_IP 4028 | jq

Examples

$ echo '{"command": "disablepool", "parameter": "1"}' | nc $MINER_IP 4028 | jq
{
  "STATUS": [
    {
      "Code": 48,
      "Description": "LUXminer 2024.2.19.131822-ef17c0c4",
      "Msg": "Disabling pool 1: 'btc.global.luxor.tech:700'",
      "STATUS": "S",
      "When": 1672770090
    }
  ],
  "id": 1
}

Parameters

ParameterNotes
pool_idPositional index of the pool, shown as POOL in pools (not PoolId). See POOL and PoolId.

On this page