Setting up mining at a pool

So I have spent the better part of this weekend setting up my new rig for the sole purpose of mining.

Disclaimer: I have a love/hate relationship with linux and need some serious step by step

I have Zcash rpc running.


Is this still correct for the newest Zcash RPC?


I have tried to follow instructions for NHequiminer to set up on both supernovas and coinmine, to no avail.

I get this everytime with NH

~/nheqminer/build$ qmake …/nhequiminer/
qmake: could not exec ‘/usr/lib/x86_64-linux-gnu/qt4/bin/qmake’: No such file or directory

Someone point me in the right direction please. I am trying to be ready for friday as the rest of us are,

thank you

CPU mining or GPU mining?
Solo or pool mining ?

I have AMD cards, so unless I missed a GPU miner being available CPU for now

To install and get running:

sudo apt-get upgrade

sudo apt-get update

sudo apt-get install
build-essential pkg-config libc6-dev m4 g+±multilib
autoconf libtool ncurses-dev unzip git python
zlib1g-dev wget bsdmainutils automake

git clone GitHub - zcash/zcash: Zcash - Internet Money
cd zcash/
git checkout v1.0.0-rc2


./zcutil/ -j$(nproc)


mkdir -p ~/.zcash

nano ~/.zcash/zcash.conf


y - enter

~/zcash/./src/zcashd -daemon

This should get you mining on tromps solvers

./src/zcash-cli stop
error: {“code”:-28,“message”:“Activating best chain…”}

currently getting this

This is after i ran "./src/zcashd -reindex


cd zcash/
make clean
git fetch origin
git checkout v1.0.0-rc2

rm -rf ~/.zcash/testnet3

i am seriously about to wipe it and start over

best thing to do is wipe when you have major issues

I also wipe it out each new version that comes out.

git checkout v1.0.0-rc2
HEAD is now at 90c116a… Add release notes and Debian changelog entry.

Yeah Im just gonna wipe it damn it

I’d been getting exactly the same error message. According to the accepted answer to this SE question it indicates that the node hasn’t started up yet and it may take a few minutes. For me, waiting two hours had no effect, so I have wiped and rebuilt the whole thing and zcashd is now starting up alright.
I have yet to figure out how to connect it to the pool, but that’s a topic for another post…

On the number of cores if I have a 8 core cpu i put 8 correct?

yes but 75% usually is faster so 6

I cant figure out the whole pool thing, solo i got down, but thats pointless

For testing pool mining use this

and run

src/zcash-miner -genproclimit=numberofcores -stratum=stratum+tcp:// -user=username.worker -password=yourpass -debug -printtoconsole

It’s the same solvers

@trolloniex I got that working yesterday, but the wiki got updated and now states:

“Update: DO NOT USE THIS FORK. Changes in this fork are integrated into official zcash build. Use following command with official build to run tromp solver for mining. zcashd -daemon -equihashsolver=tromp”

However, when I build the “official” one, there’s no zcash-miner binary anywhere. So I am kind of stuck.

Let me test one of my miners to see if I can get it running on the official zcashd.

I rebuilt the entire thing only to get the same errors

~/zcash/./src/zcashd -daemon
Zcash server starting
:~/zcash$ Error: An error occurred while setting up the RPC address port 18232 for listening: bind: Address already in use
Error: Unable to bind to on this computer. Bitcoin Core is probably already running.
Error: Failed to listen on any port. Use -listen=0 if you want this.
./src/zcash-cli stop
error: incorrect rpcuser or rpcpassword (authorization failed)
:~/zcash$ ./src/zcash-cli stop
error: incorrect rpcuser or rpcpassword (authorization failed)
~/zcash$ ./src/zcash-cli stop
error: {“code”:-28,“message”:“Activating best chain…”}

BTW it works in official zcashd

~/zcash/./src/zcashd -daemon -stratum=poolstratum -user=username.worker -password=yourpass -debug -printtoconsole

NOTE: Suprnova is running on another chain so it wont work