Set up your own private stratum pool

cd YOUR_BUILD_DIRECTORY/poolcore/x8664-Linux
poolrpccmd/poolrpccmd p2p://127.0.0.1:12201 queryClientStats … …
poolrpccmd/poolrpccmd p2p://127.0.0.1:12201 queryClientInfo

Help I have this error in the pool web

Check out the full inclusion of components pool “screen -ls”
Check the connections between the constituent pool

this happens when one of the components not included

Thanks much @megacrypto!

This was a good walkthrough. I’ll send you some ZCash :slight_smile:
It would be nice if there was more information on adding to the Pool Front End to change some of the values.

Pool is running though and could use help testing it if someone wants to help out.

http://zcash.tooroot.com:8080

Thanks!

1 Like

why my pool always excluded?
stops without error, why?
perhaps someone is it?

how many connections the pool can withstand?

Having problems with poolcore. I’ve tried a couple different virtual servers and always have a problem with poolcore.

Ubuntu 16.0.4

/home/elrond/zec-pool/zcash
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
AIO_LIBRARY
    linked by target "poolrpccmd" in directory /home/elrond/zec-pool/poolcore/src/poolrpccmd
P2P_LIBRARY
    linked by target "poolrpccmd" in directory /home/elrond/zec-pool/poolcore/src/poolrpccmd

-- Configuring incomplete, errors occurred!

Any ideas?

Thanks in advance for your help.

Hello
have a nice day.

Is there anything that can help me set up a mining pool?

Will you tell me step by step?

This might be a noob question but ill go for it anyway :slight_smile:

If I setup a private stratum pool only for myself (LAN) and connecting to it for mining with my miningrig.
I suppose I will get shares as asuall but I still have to find a block in my pool in order to get zcash right ? :blush:

Yes. You don’t get paid anything until you actually mine a block.

Please take a video of the pool installation :frowning:

Btw, if you’re solo mining, this is the better solution, from the same folks that produced the open source Z-NOMP pool software:

And if you want to start a normal public pool, things have come a long way since this thread was started, so take a look at Z-NOMP on github (it has it’s own thread here on the forum):

The installation of Z-NOMP is MUCH more straightforward than the instructions provided in this thread.

Hi,

I am getting the following error when doing this section:

patch -p0 < /home/starpooladmin/ZEC/pool_frontend_zcash/pool.diff

Outcome:
root@StarPool:~/ZEC/zcash# patch -p0 < /home/starpooladmin/ZEC/pool_frontend_zcash/pool.diff
patching file src/init.cpp
Hunk #1 succeeded at 52 (offset -6 lines).
Hunk #2 succeeded at 1520 (offset -116 lines).
patching file src/main.cpp
Hunk #2 FAILED at 2710.
1 out of 2 hunks FAILED – saving rejects to file src/main.cpp.rej
patching file src/miner.cpp
Hunk #1 FAILED at 456.
1 out of 1 hunk FAILED – saving rejects to file src/miner.cpp.rej

It is failing on Hunk #1 and #2

Any ideas?

Thanks

Stu

i am getting errors compiling poolcore

can you help? so far all the steps went ok, but i am stalled here.

nuno@zec-pt:~/ZEC/poolcore/x86_64-Linux$ cmake …/src -DROOT_SOURCE_DIR=/home/nuno/ZEC -DZCASH_ENABLED=1
– The C compiler identification is GNU 5.4.0
– The CXX compiler identification is GNU 5.4.0
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– Looking for pthread.h
– Looking for pthread.h - found
– Looking for pthread_create
– Looking for pthread_create - not found
– Looking for pthread_create in pthreads
– Looking for pthread_create in pthreads - not found
– Looking for pthread_create in pthread
– Looking for pthread_create in pthread - found
– Found Threads: TRUE
– Boost version: 1.58.0
– Found the following Boost libraries:
– thread
– system
– chrono
– date_time
– atomic
– Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version “1.0.2g”)
/home/nuno/ZEC/zcash
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
AIO_LIBRARY
linked by target “poolrpccmd” in directory /home/nuno/ZEC/poolcore/src/poolrpccmd
P2P_LIBRARY
linked by target “poolrpccmd” in directory /home/nuno/ZEC/poolcore/src/poolrpccmd

– Configuring incomplete, errors occurred!
See also “/home/nuno/ZEC/poolcore/x86_64-Linux/CMakeFiles/CMakeOutput.log”.
See also “/home/nuno/ZEC/poolcore/x86_64-Linux/CMakeFiles/CMakeError.log”.

@twistedmonkey

I came across this issue as well. Im not sure what fixed it but I know I ran the below and just installed / updated a lot of dependencies:

sudo apt-get install cmake libssl-dev libsodium-dev libpcre3-dev libleveldb-dev libboost-all-dev libgmp-dev libprotobuf-dev protobuf-compiler libjansson-dev screen build-essential pkg-config libc6-dev m4 g+±multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake

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

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

1 Like

it seems i have all those packages installed. which OS are you using ? i am on ubuntu 16.04 lts

root@zec-pt:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial

I have the pool working on Ubuntu 16.04 LTS and Server. Both worked fine. Are you still getting the same errors?

I have moved over and started to use Z-Nomp form Git Hub in which this is installed on my server at the moment and working great.

I have been away for a long time … life and what it throws at you :)))

this article was written when things were at the very beginning … i believe that z-nomp is a more suitable and updated open source pool to use … i have been using it on and off to solo mine

Just so you know, there is now a open source node.js solo mining proxy, that came from the z-nomp code base: