Skip to content

Instantly share code, notes, and snippets.

@pre
Created October 23, 2021 07:50
Show Gist options
  • Save pre/a231618e3ecee651b93729452370cb40 to your computer and use it in GitHub Desktop.
Save pre/a231618e3ecee651b93729452370cb40 to your computer and use it in GitHub Desktop.
cpuminer-simple.sh
#!/usr/bin/env bash
set -euo pipefail
WALLET="RLGATTHE1rdfkhWEHHRVnABE86CNXyyqwW"
WORKER="hello"
THREADS="12"
while true; do
set +e
cpuminer-zen3 \
-a gr \
-o stratum+tcps://eu.flockpool.com:5555 \
-u "${WALLET}.${WORKER}" \
-d 0 \
--retries=0 \
--timeout=60 \
--threads="${THREADS}" \
--tune-full
set -e
sleep 5
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment