Set up your own private stratum pool

this error is usually related to the restapi … double check the steps for that

Hi @megacrypto i need some help
when i run ../src -DROOT_SOURCE_DIR=/home/streamview/ZEC -DZCASH_ENABLED=1

i get error .
> /home/streamview/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/streamview/ZEC/poolcore/src/poolrpccmd
P2PUTILS_LIBRARY
    linked by target "poolrpccmd" in directory /home/streamview/ZEC/poolcore/src/poolrpccmd
P2P_LIBRARY
    linked by target "poolrpccmd" in directory /home/streamview/ZEC/poolcore/src/poolrpccmd
-- Configuring incomplete, errors occurred!

any idea how to fix it?
thanks

FIXED ,
its my Mistake used x86_64-linux instead of x86_64-Linux . (with capital L)

1 Like

you are referring to this part:

cd poolcore
mkdir x86_64-Linux
cd x86_64-Linux
cmake …/src -DROOT_SOURCE_DIR=/home/user/ZEC -DZCASH_ENABLED=1
make -j4
cd …/…

from the error … im guessing it has to do with the P2P library which should’ve been the step before this one … thats my best guess !!

try going through the steps, just to make sure you didn’t skip a make or so (I always do that … miss a make :slight_smile: )

I have trouble in build.any tips?

root@zcash:/home/user/ZEC/poolcore/x86_64-Linux# make -j5
[ 5%] Generating pool_generated.cpp, pool_generated.h
Scanning dependencies of target poolrpczcash
[ 11%] Building CXX object zcash/CMakeFiles/poolrpczcash.dir/__/poolrpc/poolrpc.cpp.o
[ 16%] Building CXX object zcash/CMakeFiles/poolrpczcash.dir/zcash.cpp.o
Scanning dependencies of target poolcommon
[ 22%] Building CXX object poolcommon/CMakeFiles/poolcommon.dir/poolapi.cpp.o
[ 27%] Building CXX object poolcommon/CMakeFiles/poolcommon.dir/pool_generated.cpp.o
/home/user/ZEC/poolcore/src/zcash/zcash.cpp:3:18: fatal error: main.h: No such file or directory
#include “main.h”
^
compilation terminated.
zcash/CMakeFiles/poolrpczcash.dir/build.make:86: recipe for target ‘zcash/CMakeFiles/poolrpczcash.dir/zcash.cpp.o’ failed
make[2]: *** [zcash/CMakeFiles/poolrpczcash.dir/zcash.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs…
CMakeFiles/Makefile2:250: recipe for target ‘zcash/CMakeFiles/poolrpczcash.dir/all’ failed
make[1]: *** [zcash/CMakeFiles/poolrpczcash.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
[ 33%] Linking CXX static library libpoolcommon.a
[ 33%] Built target poolcommon
Makefile:83: recipe for target ‘all’ failed
make: *** [all] Error 2
root@zcash:/home/user/ZEC/poolcore/x86_64-Linux#

I think you have to have zcash built first before running this (without the patching)

and then at the end, patch zcash and then rebuild it again

@megacrypto
is your pool working ?
i get The connection has timed out

for some reason many people tell me that… i can connect to it normally here from anywhere !!

i have it to be a private pool but i thought if i’d mention it if anyone wants to see how it looks like and such, in all it looks the same as zog pool (although they have done some enhancements on theirs i think)

Hi
finally i finished , wallet is running , and web page running , still no domain name just ip address.74 …
what should I use port number with my web IP to point workers to mine ?

thanks

1 Like

nice going :)))))

port is defaulted to 3357 … i still dont know how to change that :smiley:

Try this

2 Likes

ahaaaaaa :))))) niceee :))))

@voxelot updated the notes up there with your post :smiley:

Nice!!
My pool is working now too.
Feel free to give it a try! I need some testing.
Fees are set at 0%btw :slight_smile:

http://theminingpool.mine.nu

TY!

1 Like

congratulations :))))

i have been running mine for a week (just for my 2 GPU’s) and trying to see if they will hit a block (and get paid for it) … so lets hope it does :smiley:

mine and yours :))))

and make a post on the forum … it will definitely pull some miners (a lot of people have some mining rigs they can put aside to test :wink: )

Jejej I have 7 R9 280x now… about 700 sols… .let see what I can do :slight_smile:

using here 1 R9 390x getting about 230 S/s and 1 RX470 with around 170 S/s … and thats it :smiley:

yet … the two blocks that were found on zog’s pool were caught by someone with like 300 S/s :wink:

:joy: STILL NOT WORKING PLUS: I USE Ubuntu 16.10 SERVER OF DIGITALOCEAN

root@zcash:/home/user/ZEC/poolcore/x86_64-Linux# cmake …/src -DROOT_SOURCE_DIR=/home/user/ZEC -DZCASH_ENABLED=1
– Boost version: 1.61.0
– Found the following Boost libraries:
– thread
– system
– chrono
– date_time
– atomic
/home/user/ZEC/zcash
– Configuring done
– Generating done
– Build files have been written to: /home/user/ZEC/poolcore/x86_64-Linux
root@zcash:/home/user/ZEC/poolcore/x86_64-Linux# make -j4
[ 22%] Built target poolcommon
[ 27%] Building CXX object poolcore/CMakeFiles/poolcore.dir/leveldbBase.cpp.o
[ 38%] Built target poolrpccmd
[ 44%] Building CXX object poolcore/CMakeFiles/poolcore.dir/backendData.cpp.o
[ 50%] Building CXX object poolcore/CMakeFiles/poolcore.dir/backend.cpp.o
[ 66%] Built target poolrpczcash
[ 72%] Building CXX object poolcore/CMakeFiles/poolcore.dir/accounting.cpp.o
In file included from /home/user/ZEC/poolcore/src/poolcore/backendData.cpp:2:0:
/home/user/ZEC/poolcore/src/include/poolcore/backendData.h:174:8: error: ‘vector’ in namespace ‘std’ does not name a template type
std::vector info;
^~~~~~
/home/user/ZEC/poolcore/src/poolcore/backendData.cpp: In member function ‘bool shareStats::deserializeValue(const void*, size_t)’:
/home/user/ZEC/poolcore/src/poolcore/backendData.cpp:368:7: error: ‘info’ was not declared in this scope
info.clear();
^~~~
/home/user/ZEC/poolcore/src/poolcore/backendData.cpp: In member function ‘void shareStats::serializeValue(xmstream&) const’:
/home/user/ZEC/poolcore/src/poolcore/backendData.cpp:392:26: error: ‘info’ was not declared in this scope
stream.write<uint32_t>(info.size());
^~~~
/home/user/ZEC/poolcore/src/poolcore/backendData.cpp:393:16: error: unable to deduce ‘auto&&’ from ‘info’
for (auto I: info) {
^~~~
poolcore/CMakeFiles/poolcore.dir/build.make:110: recipe for target ‘poolcore/CMakeFiles/poolcore.dir/backendData.cpp.o’ failed
make[2]: *** [poolcore/CMakeFiles/poolcore.dir/backendData.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs…
In file included from /home/user/ZEC/poolcore/src/include/poolcore/accounting.h:4:0,
from /home/user/ZEC/poolcore/src/poolcore/accounting.cpp:4:
/home/user/ZEC/poolcore/src/include/poolcore/backendData.h:174:8: error: ‘vector’ in namespace ‘std’ does not name a template type
std::vector info;
^~~~~~
In file included from /home/user/ZEC/poolcore/src/include/poolcore/accounting.h:4:0,
from /home/user/ZEC/poolcore/src/include/poolcore/backend.h:4,
from /home/user/ZEC/poolcore/src/poolcore/backend.cpp:2:
/home/user/ZEC/poolcore/src/include/poolcore/backendData.h:174:8: error: ‘vector’ in namespace ‘std’ does not name a template type
std::vector info;
^~~~~~
poolcore/CMakeFiles/poolcore.dir/build.make:206: recipe for target ‘poolcore/CMakeFiles/poolcore.dir/accounting.cpp.o’ failed
make[2]: *** [poolcore/CMakeFiles/poolcore.dir/accounting.cpp.o] Error 1
poolcore/CMakeFiles/poolcore.dir/build.make:182: recipe for target ‘poolcore/CMakeFiles/poolcore.dir/backend.cpp.o’ failed
make[2]: *** [poolcore/CMakeFiles/poolcore.dir/backend.cpp.o] Error 1
CMakeFiles/Makefile2:140: recipe for target ‘poolcore/CMakeFiles/poolcore.dir/all’ failed
make[1]: *** [poolcore/CMakeFiles/poolcore.dir/all] Error 2
Makefile:83: recipe for target ‘all’ failed
make: *** [all] Error 2
root@zcash:/home/user/ZEC/poolcore/x86_64-Linux#

1 Like

Hello!
How to fix error???:

nginx: [error] ngx_http_cxxrest_pass_handler: got destination: api_backend

What should be in zcash.conf ???

i believe that this has to do with something in the nginx.conf:

location /api {
    cxxrest_pass api_backend;
}

yet i could not figure that out … i’m also getting the same till now!!!

What is this error???

screen -x zecapi
can’t read message size, exiting…
can’t read message size, exiting…
can’t read message size, exiting…
can’t read message size, exiting…

same problem with me briskvoice…
don’t know what error is…
help please…