Created
          October 23, 2021 07:50 
        
      - 
      
 - 
        
Save pre/a231618e3ecee651b93729452370cb40 to your computer and use it in GitHub Desktop.  
    cpuminer-simple.sh
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/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