Skip to content

Instantly share code, notes, and snippets.

@rossgoodwin
Last active February 6, 2020 00:57
Show Gist options
  • Save rossgoodwin/54db4870838bfad93a8c81d5e71632a2 to your computer and use it in GitHub Desktop.
Save rossgoodwin/54db4870838bfad93a8c81d5e71632a2 to your computer and use it in GitHub Desktop.
#!/bin/bash
wget https://github.com/ethereum-mining/ethminer/releases/download/v0.19.0-alpha.0/ethminer-0.19.0-alpha.0-cuda-9-linux-x86_64.tar.gz
tar -xvzf ethminer-0.19.0-alpha.0-cuda-9-linux-x86_64.tar.gz
export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
cd bin
./ethminer --farm-recheck 200 -U -S us1.ethermine.org:4444 -FS us2.ethermine.org:4444 -O 0x5e9c910618ae158a312ba4f7ad2d365a7aa1659b.Benjamin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment