Skip to content

Instantly share code, notes, and snippets.

View stralex7's full-sized avatar

Alexey S. stralex7

View GitHub Profile
@stralex7
stralex7 / Installation Guide.md
Last active December 23, 2021 09:56 — forked from hkaraoguz/Installation Guide
How to install Nvidia 470.57.02 Drivers for Ubuntu 20.04 using a run file
@stralex7
stralex7 / API.txt
Created May 18, 2018 13:40 — forked from ivy/API.txt
Claymore JSON-RPC API documentation (from Claymore v9.6)
EthMan uses raw TCP/IP connections (not HTTP) for remote management and statistics. Optionally, "psw" field is added to requests is the password for remote management is set for miner.
The following commands are available (JSON format):
----------------
REQUEST:
{"id":0,"jsonrpc":"2.0","method":"miner_getstat1"}
RESPONSE:
{"result": ["9.3 - ETH", "21", "182724;51;0", "30502;30457;30297;30481;30479;30505", "0;0;0", "off;off;off;off;off;off", "53;71;57;67;61;72;55;70;59;71;61;70", "eth-eu1.nanopool.org:9999", "0;0;0;0"]}
@stralex7
stralex7 / emwrapper.py
Last active January 30, 2018 15:38
monitor and restart ethminer due to cuda errors/no responses
#!/usr/bin/python3
import os
import signal
import subprocess
import sys
import time
try:
TIMEOUT_NO_ACTIVITY_SECONDS = int(os.getenv('TIMEOUT_NO_ACTIVITY_SECONDS', 60))