z-classic / z-nomp Goto Github PK
View Code? Open in Web Editor NEWz-nomp is mining pool software for Zcash and Zclassic so you can create internet money in your home!
License: MIT License
z-nomp is mining pool software for Zcash and Zclassic so you can create internet money in your home!
License: MIT License
When I start pool, I get this error.
/home/zamerica/z-nomp/node_modules/async/dist/async.js:837
if (fn === null) throw new Error("Callback was already called.");
^
Error: Callback was already called.
at /home/zamerica/z-nomp/node_modules/async/dist/async.js:837:32
at /home/zamerica/z-nomp/node_modules/async/dist/async.js:3691:13
at apply (/home/zamerica/z-nomp/node_modules/async/dist/async.js:21:25)
at /home/zamerica/z-nomp/node_modules/async/dist/async.js:56:12
at /home/zamerica/z-nomp/libs/paymentProcessor.js:93:17
at itemFinished (/home/zamerica/z-nomp/node_modules/stratum-pool/lib/daemon.js:155:36)
at /home/zamerica/z-nomp/node_modules/stratum-pool/lib/daemon.js:169:17
at parseJson (/home/zamerica/z-nomp/node_modules/stratum-pool/lib/daemon.js:85:17)
at IncomingMessage.<anonymous> (/home/zamerica/z-nomp/node_modules/stratum-pool/lib/daemon.js:95:17)
at emitNone (events.js:91:20)
2016-11-30 17:16:20 [Master] [Payment Processor] Payment processor died, spawning replacement...
I am using Arch Linux, node v7.2.0, npm 3.10.9.
I'm not sure what I'm doing wrong here but everything works except for this error connecting.
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/node_modules/stratum-pool/node_modules/equihashverify/build/Release/:$PWD/node_modules/equihashverify/build/Release/ node init.js
2017-01-16 10:56:17 [POSIX] [Connection Limit] (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised
2017-01-16 10:56:17 [Master] [CLI] CLI listening on port 17117
2017-01-16 10:56:18 [Master] [PoolSpawner] Spawned 1 pool(s) on 2 thread(s)
2017-01-16 10:56:18 [Payments] [zcash] Payment processing setup to run every 20 second(s) with daemon ([email protected]:19332) and redis (127.0.0.1:6379)
2017-01-16 10:56:18 [Payments] [zcash] Finished interval - time spent: 16ms total, 4ms redis, 5ms daemon RPC
2017-01-16 10:56:18 [Website] [Server] Website started on 0.0.0.0:8080
2017-01-16 10:56:19 [Switching] [Setup] (Thread 1) Loading last proxy state from redis
2017-01-16 10:56:19 [Pool] [zcash] (Thread 1) Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:8232"}
2017-01-16 10:56:19 [Switching] [Setup] (Thread 2) Loading last proxy state from redis
2017-01-16 10:56:19 [Pool] [zcash] (Thread 2) Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:8232"}
Thanks!
Hello
I get this error with the pool , the wallet has 0 coins on it
System OS: Ubuntu 16.10 (GNU/Linux 4.8.0-27-generic x86_64)
Node: v7.2.0
Npm: v3.10.9
2016-12-02 03:55:30 [Payments] [zclassic] t1PKo1eGPFj3mUDhJ5q5S9YX4LHDc7okZAv contains a balance of: 0
2016-12-02 03:55:30 [Payments] [zclassic] undefined contains a balance of: null
/home/scorpio/z-nomp-t/libs/paymentProcessor.js:166
for (var i = 0, len = result[0].response.length; i < len; i++) {
^
TypeError: Cannot read property 'length' of null
at /home/scorpio/z-nomp-t/libs/paymentProcessor.js:166:57
at /home/scorpio/z-nomp-t/node_modules/stratum-pool/lib/daemon.js:175:17
at /home/scorpio/z-nomp-t/node_modules/async/dist/async.js:356:16
at iteratorCallback (/home/scorpio/z-nomp-t/node_modules/async/dist/async.js:936:13)
at /home/scorpio/z-nomp-t/node_modules/async/dist/async.js:840:16
at itemFinished (/home/scorpio/z-nomp-t/node_modules/stratum-pool/lib/daemon.js:157:17)
at /home/scorpio/z-nomp-t/node_modules/stratum-pool/lib/daemon.js:169:17
at parseJson (/home/scorpio/z-nomp-t/node_modules/stratum-pool/lib/daemon.js:85:17)
at IncomingMessage. (/home/scorpio/z-nomp-t/node_modules/stratum-pool/lib/daemon.js:95:17)
at emitNone (events.js:91:20)
Hello, I want to mount my pool of europecoin, but there is still no support in unomp for this currency crypto, could you please. Make the adjustments, I am willing to pay 20.00 USD when the work is done
It kept doing this till it got to 100% and stopped
http://imgur.com/EzlynsX
updating to latest git:
rm -r node_modules
git pull
npm update
i get the following: (apologies for the long paste)
npm WARN prefer global [email protected] should be installed with -g
> [email protected] install /home/mylin/ZNOMP/znomp/node_modules/equihashverify
> node-gyp rebuild
make: Entering directory '/home/mylin/ZNOMP/znomp/node_modules/equihashverify/build'
CC(target) Release/obj.target/libequi/src/equi/equi.o
../src/equi/equi.c: In function ‘isZero’:
../src/equi/equi.c:78:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < len; i++) {
^
CC(target) Release/obj.target/libequi/src/equi/endian.o
SOLINK(target) Release/obj.target/equi.so
COPY Release/equi.so
CXX(target) Release/obj.target/equihashverify/equihashverify.o
In file included from ../equihashverify.cc:8:0:
../src/equi/equi.h:22:13: warning: ‘void digestInit(crypto_generichash_blake2b_state*, int, int)’ declared ‘static’ but never defined [-Wunused-function]
static void digestInit(crypto_generichash_blake2b_state *S, const int n, const int k);
^
../src/equi/equi.h:24:13: warning: ‘void expandArray(const unsigned char*, size_t, unsigned char*, size_t, size_t, size_t)’ declared ‘static’ but never defined [-Wunused-function]
static void expandArray(const unsigned char *in, const size_t in_len,
^
../src/equi/equi.h:28:12: warning: ‘int isZero(const uint8_t*, size_t)’ declared ‘static’ but never defined [-Wunused-function]
static int isZero(const uint8_t *hash, size_t len);
^
../src/equi/equi.h:30:13: warning: ‘void generateHash(crypto_generichash_blake2b_state*, uint32_t, uint8_t*, size_t)’ declared ‘static’ but never defined [-Wunused-function]
static void generateHash(crypto_generichash_blake2b_state *S, const uint32_t g, uint8_t *hash, const size_t hashLen);
^
SOLINK_MODULE(target) Release/obj.target/equihashverify.node
COPY Release/equihashverify.node
make: Leaving directory '/home/mylin/ZNOMP/znomp/node_modules/equihashverify/build'
> [email protected] install /home/mylin/ZNOMP/znomp/node_modules/bignum
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(403): https://rvagg-node.s3-us-west-2.amazonaws.com/bignum/v0.12.5/bignum-v0.12.5-node-v51-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v51 ABI) (falling back to source compile with node-gyp)
make: Entering directory '/home/mylin/ZNOMP/znomp/node_modules/bignum/build'
CXX(target) Release/obj.target/bignum/bignum.o
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::New(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:385:48: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(len, newArgs);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc:413:78: warning: ‘v8::Local<v8::Number> v8::Value::ToNumber() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
base = obj->ToObject()->Get(Nan::New("base").ToLocalChecked())->ToNumber()->Value();
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:8406:15: note: declared here
Local<Number> Value::ToNumber() const {
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Badd(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:461:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bsub(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:474:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bmul(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:488:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bdiv(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:502:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Uadd(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:520:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Usub(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:538:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Umul(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:557:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Udiv(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:576:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Umul_2exp(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:44:36: warning: ‘v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
uint32_t VAR = info[I]->ToUint32()->Value();
^
../bignum.cc:585:3: note: in expansion of macro ‘REQ_UINT32_ARG’
REQ_UINT32_ARG(0, x);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:8436:15: note: declared here
Local<Uint32> Value::ToUint32() const {
^
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:589:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Udiv_2exp(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:44:36: warning: ‘v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
uint32_t VAR = info[I]->ToUint32()->Value();
^
../bignum.cc:598:3: note: in expansion of macro ‘REQ_UINT32_ARG’
REQ_UINT32_ARG(0, x);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:8436:15: note: declared here
Local<Uint32> Value::ToUint32() const {
^
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:602:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Babs(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:614:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bneg(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:626:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bmod(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:640:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Umod(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:659:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bpowm(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:674:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Upowm(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:691:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Upow(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:707:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Brand0(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:720:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Uprime0(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:44:36: warning: ‘v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
uint32_t VAR = info[I]->ToUint32()->Value();
^
../bignum.cc:727:3: note: in expansion of macro ‘REQ_UINT32_ARG’
REQ_UINT32_ARG(0, x);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:8436:15: note: declared here
Local<Uint32> Value::ToUint32() const {
^
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:734:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Probprime(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:44:36: warning: ‘v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
uint32_t VAR = info[I]->ToUint32()->Value();
^
../bignum.cc:744:3: note: in expansion of macro ‘REQ_UINT32_ARG’
REQ_UINT32_ARG(0, reps);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:8436:15: note: declared here
Local<Uint32> Value::ToUint32() const {
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::IsBitSet(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:44:36: warning: ‘v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
uint32_t VAR = info[I]->ToUint32()->Value();
^
../bignum.cc:753:3: note: in expansion of macro ‘REQ_UINT32_ARG’
REQ_UINT32_ARG(0, n);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:8436:15: note: declared here
Local<Uint32> Value::ToUint32() const {
^
../bignum.cc: In static member function ‘static v8::Local<v8::Value> BigNum::Bop(Nan::NAN_METHOD_ARGS_TYPE, int)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:994:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Binvertm(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:1026:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bgcd(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:70:38: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:1061:3: note: in expansion of macro ‘WRAP_RESULT’
WRAP_RESULT(res, result);
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/v8.h:26:0,
from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:3288:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/mylin/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bsetcompact(Nan::NAN_METHOD_ARGS_TYPE)’:
../bignum.cc:1085:45: warning: ‘v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
unsigned int nCompact = info[0]->ToUint32()->Value();
^
In file included from /home/mylin/.node-gyp/7.2.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../bignum.cc:8:
/home/mylin/.node-gyp/7.2.0/include/node/v8.h:8436:15: note: declared here
Local<Uint32> Value::ToUint32() const {
^
SOLINK_MODULE(target) Release/obj.target/bignum.node
COPY Release/bignum.node
COPY /home/mylin/ZNOMP/znomp/node_modules/bignum/binding/bignum.node
TOUCH Release/obj.target/action_after_build.stamp
make: Leaving directory '/home/mylin/ZNOMP/znomp/node_modules/bignum/build'
[email protected] /home/mylin/ZNOMP/znomp
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected] (git+https://github.com/joshuayabut/node-stratum-pool.git#9485fe9f0401d72a1d30389b663a6ec809a42f6c)
npm update
npm WARN prefer global [email protected] should be installed with -g
> [email protected] install /home/evanto/z-nomp/node_modules/equihashverify
> node-gyp rebuild
make: Вход в каталог `/home/evanto/z-nomp/node_modules/equihashverify/build'
CC(target) Release/obj.target/libequi/src/equi/equi.o
../src/equi/equi.c:18:20: fatal error: sodium.h: Нет такого файла или каталога
compilation terminated.
make: *** [Release/obj.target/libequi/src/equi/equi.o] Ошибка 1
make: Выход из каталога `/home/evanto/z-nomp/node_modules/equihashverify/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.4.0-57-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/evanto/z-nomp/node_modules/equihashverify
gyp ERR! node -v v7.2.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
[email protected] /home/evanto/z-nomp
├── [email protected]
├── [email protected] extraneous
├── [email protected]
├── [email protected] extraneous (git+https://github.com/runn1ng/bitcoinjs-lib.git#c3f36a3a9b57c74fbf77624fe2a344773dbf6a67)
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] extraneous
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] extraneous (git+https://github.com/joshuayabut/merkle-bitcoin.git#ec00ae20ba60d444e150ead03c747695ddaa83a1)
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] extraneous
├── [email protected]
└── [email protected]
npm ERR! Linux 4.4.0-57-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "update"
npm ERR! node v7.2.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the equihashverify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs equihashverify
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls equihashverify
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/evanto/z-nomp/npm-debug.log
getting these error lately on startup:
/root/z-nomp/node_modules/stratum-pool/lib/pool.js:619
if (typeof(_this.jobManager.currentJob) !== 'undefined' && blockHash !== _this.jobManager.currentJob.rpcData.previousblockhash) {
^
TypeError: Cannot read property 'currentJob' of undefined
at pool.processBlockNotify (/root/z-nomp/node_modules/stratum-pool/lib/pool.js:619:36)
at process. (/root/z-nomp/libs/poolWorker.js:42:39)
at emitTwo (events.js:111:20)
at process.emit (events.js:191:7)
at processEmit [as emit] (/root/z-nomp/node_modules/signal-exit/index.js:155:32)
at process.nextTick (internal/child_process.js:752:12)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
any help?
how do you set the rewardRecipients?
i added
"rewardRecipients": {
"t1LVRY9TDBrZmagZ43oUVAJnnmKRUJykiEx": 1
},
but still says no pool fee:
2016-11-29 14:47:45 [Pool] [zcash] (Thread 1) Stratum Pool Server Started for zcash [ZEC] {equihash}
Network Connected: Mainnet
Detected Reward Type: POW
Current Block Height: 18814
Current Block Diff: 702279.73609124
Current Connect Peers: 8
Network Difficulty: 670838.41605654
Network Hash Rate: 37.95 MH
Stratum Port(s): 3333
Pool Fee Percent: 0%
Block polling every: 30 ms
and
2016-11-29 14:47:46 [Pool] [zcash] (Thread 2) No rewardRecipients have been setup which means no fees will be taken
i keep getting this error:
/home/mylin/ZNOMP/z-nomp/node_modules/typeforce/index.js:154
throw tfSubError(e, i)
^Error: Expected property "1" of type Satoshi, got Number 1174406164.9999998
2016-11-29 13:43:24 [Master] [PoolSpawner] Fork 0 died, spawning replacement worker...
2016-11-29 13:43:24 [Switching] [Setup] (Thread 4) Loading last proxy state from redis
2016-11-29 13:43:24 [Pool] [zcash] (Thread 4) Share processing setup with redis (127.0.0.1:6379)
2016-11-29 13:43:24 [Switching] [Setup] (Thread 3) Loading last proxy state from redis
2016-11-29 13:43:24 [Switching] [Setup] (Thread 4) Switching "switch1" listening for equihash on port 3333 into zcash
2016-11-29 13:43:24 [Pool] [zcash] (Thread 4) No rewardRecipients have been setup which means no fees will be taken
2016-11-29 13:43:24 [Pool] [zcash] (Thread 3) Share processing setup with redis (127.0.0.1:6379)
2016-11-29 13:43:24 [Switching] [Setup] (Thread 3) Switching "switch1" listening for equihash on port 3333 into zcash
and it keeps resetting the pool?
[zamerica] Not enough funds to cover the tx fees for sending out payments, decreasing rewards by 83.00000000000006% and retrying
2016-12-18 19:10:16 [Payments] [zamerica] Not enough funds to cover the tx fees for sending out payments, decreasing rewards by 84.00000000000006% and retrying
2016-12-18 19:10:16 [Payments] [zamerica] Not enough funds to cover the tx fees for sending out payments, decreasing rewards by 85.00000000000006% and retrying
2016-12-18 19:10:16 [Payments] [zamerica] Not enough funds to cover the tx fees for sending out payments, decreasing rewards by 86.00000000000006% and retrying
2016-12-18 19:10:16 [Payments] [zamerica] Finished interval - time spent: 130ms total, 1ms redis, 6ms daemon RPC
got this error same with zec and zclassic
/home/aayanl/z-nomp/node_modules/async/dist/async.js:985
if (fn === null) throw new Error("Callback was already called.");
^
Error: Callback was already called.
at /home/aayanl/z-nomp/node_modules/async/dist/async.js:985:32
at /home/aayanl/z-nomp/node_modules/async/dist/async.js:3850:13
at apply (/home/aayanl/z-nomp/node_modules/async/dist/async.js:41:25)
at /home/aayanl/z-nomp/node_modules/async/dist/async.js:76:12
at /home/aayanl/z-nomp/libs/paymentProcessor.js:98:21
at itemFinished (/home/aayanl/z-nomp/node_modules/stratum-pool/lib/daemon.js:155:36)
at /home/aayanl/z-nomp/node_modules/stratum-pool/lib/daemon.js:169:17
at parseJson (/home/aayanl/z-nomp/node_modules/stratum-pool/lib/daemon.js:85:17)
at IncomingMessage.<anonymous> (/home/aayanl/z-nomp/node_modules/stratum-pool/lib/daemon.js:95:17)
at IncomingMessage.emit (events.js:129:20)
2016-11-20 12:19:24 [Master] [Payment Processor] Payment processor died, spawning replacement...
Payment Processing in zclassic.json
"paymentProcessing": {
"enabled": true,
"paymentInterval": 20,
"minimumPayment": 0.2,
"daemon": {
"host": "127.0.0.1",
"port": 8000,
"user": "aayan",
"password": "hardrat"
}
}
Hi, I have an issue installing latest build due to this package not compatible with nodejs v0.10
[email protected] install /home/zcash/.npm/equihashverify/0.0.1/package
node-gyp rebuild
make: Entering directory `/home/zcash/.npm/equihashverify/0.0.1/package/build'
CC(target) Release/obj.target/libequi/src/equi/equi.o
../src/equi/equi.c: In function ‘isZero’:
../src/equi/equi.c:78:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < len; i++) {
^
CC(target) Release/obj.target/libequi/src/equi/endian.o
SOLINK(target) Release/obj.target/equi.so
SOLINK(target) Release/obj.target/equi.so: Finished
COPY Release/lib.target/equi.so
CXX(target) Release/obj.target/equihashverify/equihashverify.o
../equihashverify.cc:14:19: error: ‘FunctionCallbackInfo’ in namespace ‘v8’ does not name a type
void Verify(const v8::FunctionCallbackInfo& args) {
^
../equihashverify.cc:14:23: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
void Verify(const v8::FunctionCallbackInfo& args) {
^
../equihashverify.cc:14:43: error: expected ‘,’ or ‘...’ before ‘<’ token
void Verify(const v8::FunctionCallbackInfo& args) {
^
../equihashverify.cc: In function ‘void Verify(int)’:
../equihashverify.cc:16:28: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’
HandleScope scope(isolate);
^
../equihashverify.cc:16:28: note: candidates are:
In file included from /home/zcash/.node-gyp/0.10.25/src/node.h:62:0,
from ../node_modules/nan/nan.h:47,
from ../equihashverify.cc:1:
/home/zcash/.node-gyp/0.10.25/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)
HandleScope(const HandleScope&);
^
/home/zcash/.node-gyp/0.10.25/deps/v8/include/v8.h:473:3: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’
/home/zcash/.node-gyp/0.10.25/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()
HandleScope();
^
/home/zcash/.node-gyp/0.10.25/deps/v8/include/v8.h:448:3: note: candidate expects 0 arguments, 1 provided
../equihashverify.cc:18:7: error: ‘args’ was not declared in this scope
if (args.Length() < 2) {
^
../equihashverify.cc:19:12: error: ‘class v8::Isolate’ has no member named ‘ThrowException’
isolate->ThrowException(Exception::TypeError(
I believe we need to make a coin_equihash.class.php file for integrating with MPOS for things like calculating hashrate, difficulty adjustment etc.
https://github.com/MPOS/php-mpos/blob/master/include/classes/coins/coin_base.class.php#L54
getting this error:
events.js:160
throw er; // Unhandled 'error' event
^Error: bind EADDRINUSE 0.0.0.0:8080
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at cb (net.js:1327:16)
at rr (cluster.js:627:14)
at Worker. (cluster.js:596:9)
at process. (cluster.js:768:8)
at emitTwo (events.js:111:20)
at process.emit (events.js:191:7)
at processEmit [as emit] (/home/mylin/Pools/ZNOMP/znomp/node_modules/signal-exit/index.js:155:32)
at process.nextTick (internal/child_process.js:752:12)
2017-01-19 14:36:40 [Master] [Website] Website process died, spawning replacement...
As described in #11; the web interface reports hash rate in units of MH instead of Sol/s.
Adding this issue to keep track, there needs to be a way to show pending and issued rewards for pool workers.
I'm building a pool for swsicoin and had issues unsupported algorithm "Scrypt"
Please help me issues
2016-12-12 18:32:33 [POSIX] [Connection Limit] (Safe to ignore) Must be ran as root to increase resource limits
2016-12-12 18:32:33 [Master] [swiscoin] Cannot run a pool for unsupported algorithm "Scrypt"
2016-12-12 18:32:33 [Master] [PoolSpawner] No pool configs exists or are enabled in pool_configs folder. No pools spawned.
2016-12-12 18:32:33 [Master] [CLI] CLI listening on port 17117
## this's main config (config.json)
"logLevel": "debug",
"logColors": true,
"cliPort": 17117,
"clustering": {
"enabled": true,
"forks": "auto"
},
"defaultPoolConfigs": {
"blockRefreshInterval": 30,
"jobRebroadcastTimeout": 55,
"connectionTimeout": 600,
"emitInvalidBlockHashes": false,
"validateWorkerUsername": true,
"tcpProxyProtocol": false,
"banning": {
"enabled": true,
"time": 600,
"invalidPercent": 50,
"checkThreshold": 500,
"purgeInterval": 300
},
"redis": {
"host": "127.0.0.1",
"port": 6379
}
},
"website": {
"enabled": true,
"host": "10xxxxxx",
"port": 8080,
"stratumHost": "10xxxxx",
"stats": {
"updateInterval": 60,
"historicalRetention": 43200,
"hashrateWindow": 300
},
"adminCenter": {
"enabled": true,
"password": "xxxx"
}
},
"redis": {
"host": "127.0.0.1",
"port": 6379
},
"switching": {
"switch1": {
"enabled": false,
"algorithm": "sha256",
"ports": {
"3333": {
"diff": 10,
"varDiff": {
"minDiff": 16,
"maxDiff": 512,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30
}
}
}
},
"switch2": {
"enabled": false,
"algorithm": "scrypt",
"ports": {
"4444": {
"diff": 10,
"varDiff": {
"minDiff": 16,
"maxDiff": 512,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30
}
}
}
},
"switch3": {
"enabled": false,
"algorithm": "x11",
"ports": {
"5555": {
"diff": 0.001,
"varDiff": {
"minDiff": 0.001,
"maxDiff": 1,
"targetTime": 15,
"retargetTime": 60,
"variancePercent": 30
}
}
}
}
},
"profitSwitch": {
"enabled": false,
"updateInterval": 600,
"depth": 0.90,
"usePoloniex": true,
"useCryptsy": true,
"useMintpal": true,
"useBittrex": true
}
## this's coins config ( file swiscoin.json in directory coins)
"name": "Swiscoin",
"symbol": "SCN",
"algorithm": "Scrypt",
"peerMagic": "b3a1d1bd",
"peerMagicTestnet": "c1a2d7dc"
## this's pool config (file swiscoin.json in pool_configs)
{
"enabled": true,
"coin": "swiscoin.json",
"address": "SiPzZUFP4rsodEEFxj5uaWVGL2sm5qxASC",
"_comment_address": "a transparent address to send coinbase rewards to and to transfer to zAddress.",
"_zAddress": "ztqgT4xsouCyjHXrFtXnDVgtvPRmURMgHQw2gd39dLdtoYkmPACScHturZjqsNdAPtP6JCLaWmZmYDqbjCMRgdCfQ2vjY2K",
"_comment_zAddress": "a private address used to send coins to tAddress.",
"_tAddress": "SiPzZUFP4rsodEEFxj5uaWVGL2sm5qxASC",
"_comment_tAddress": "transparent address used to send payments",
"walletInterval": 12,
"rewardRecipients": {
},
"paymentProcessing": {
"enabled": true,
"paymentInterval": 20,
"minimumPayment": 0.00001000,
"daemon": {
"host": "127.0.0.1",
"port": 9228,
"user": "swiscoinrpc",
"password": "59iPqqXroFJR61Dv2QgHHgAjcvS1Gm15dDLn3jPWM2E5"
}
},
"ports": {
"3032": {
"diff": 0.125,
"varDiff": {
"minDiff": 0.125,
"maxDiff": 16,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30
}
}
},
"daemons": [
{
"host": "127.0.0.1",
"port": 9228,
"user": "swiscoinrpc",
"password": "59iPqqXroFJR61Dv2QgHHgAjcvS1Gm15dDLn3jPWM2E5"
}
],
"p2p": {
"enabled": false,
"host": "127.0.0.1",
"port": 19333,
"disableTransactions": true
},
"mposMode": {
"enabled": false,
"host": "127.0.0.1",
"port": 3306,
"user": "me",
"password": "mypass",
"database": "zcl",
"checkPassword": true,
"autoCreateWorker": false
}
}
`
and this's file config for wallet
`rpcuser=swiscoinrpc
rpcpassword=59iPqqXroFJR61Dv2QgHHgAjcvS1Gm15dDLn3jPWM2E5
rpcallowip=127.0.0.1
daemon=1
server=1
listen=1
rpcport=9228
gen=0`
When you run manner comes this error
2016-11-28 01:16:40 [Switching] [Setup] (equihash) Setting proxy difficulties after pool start
/home/evanto/z-nomp/node_modules/stratum-pool/lib/stratum.js:282
zeroPad = zeroPad.repeat(64 - adjPow.toString(16).length);
^
TypeError: undefined is not a function
at sendDifficulty (/home/evanto/z-nomp/node_modules/stratum-pool/lib/stratum.js:282:31)
at null.<anonymous> (/home/evanto/z-nomp/node_modules/stratum-pool/lib/pool.js:485:26)
at emit (events.js:110:17)
at handleSubscribe (/home/evanto/z-nomp/node_modules/stratum-pool/lib/stratum.js:96:15)
at handleMessage (/home/evanto/z-nomp/node_modules/stratum-pool/lib/stratum.js:62:17)
at /home/evanto/z-nomp/node_modules/stratum-pool/lib/stratum.js:237:25
at Array.forEach (native)
at Socket.<anonymous> (/home/evanto/z-nomp/node_modules/stratum-pool/lib/stratum.js:223:26)
at Socket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
2016-11-28 01:16:43 [Master] [PoolSpawner] Fork 0 died, spawning replacement worker...
2016-11-28 01:16:43 [Switching] [Setup] (Thread 2) Loading last proxy state from redis
2016-11-28 01:16:43 [Pool] [zclassic] (Thread 2) Share processing setup with redis (127.0.0.1:6379)
2016-11-28 01:16:43 [Pool] [zclassic] (Thread 2) No rewardRecipients have been setup which means no fees will be taken
2016-11-28 01:16:43 [Pool] [zclassic] (Thread 2) Stratum Pool Server Started for zclassic [ZCL] {equihash}
2016-11-28 01:16:43 [Switching] [Setup] (equihash) Setting proxy difficulties after pool start
2017-01-09 12:47:54 [Master] [PoolSpawner] Fork 2 died, spawning replacement worker...
2017-01-09 12:47:55 [Switching] [Setup] (Thread 4) Loading last proxy state from redis
2017-01-09 12:47:55 [Pool] [zcash] (Thread 4) Share processing setup with redis (127.0.0.1:6379)
/root/z-nomp/node_modules/bs58check/index.js:48
if (!payload) throw new Error('Invalid checksum')
^
Error: Invalid checksum
at Object.decode (/root/z-nomp/node_modules/bs58check/index.js:48:23)
at Object.fromBase58Check (/root/z-nomp/node_modules/bitcoinjs-lib-zcash/src/address.js:8:27)
at Object.exports.createGeneration (/root/z-nomp/node_modules/stratum-pool/lib/transactions.js:83:46)
at new BlockTemplate (/root/z-nomp/node_modules/stratum-pool/lib/blockTemplate.js:35:35)
at JobManager.processTemplate (/root/z-nomp/node_modules/stratum-pool/lib/jobManager.js:123:32)
at /root/z-nomp/node_modules/stratum-pool/lib/pool.js:578:66
at itemFinished (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:155:36)
at /root/z-nomp/node_modules/stratum-pool/lib/daemon.js:169:17
at parseJson (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:85:17)
at IncomingMessage. (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:95:17)
2017-01-09 12:47:55 [Master] [PoolSpawner] Fork 3 died, spawning replacement worker...
2017-01-09 12:47:55 [Switching] [Setup] (Thread 5) Loading last proxy state from redis
2017-01-09 12:47:55 [Pool] [zcash] (Thread 5) Share processing setup with redis (127.0.0.1:6379)
/root/z-nomp/node_modules/bs58check/index.js:48
if (!payload) throw new Error('Invalid checksum')
^
Error: Invalid checksum
at Object.decode (/root/z-nomp/node_modules/bs58check/index.js:48:23)
at Object.fromBase58Check (/root/z-nomp/node_modules/bitcoinjs-lib-zcash/src/address.js:8:27)
at Object.exports.createGeneration (/root/z-nomp/node_modules/stratum-pool/lib/transactions.js:83:46)
at new BlockTemplate (/root/z-nomp/node_modules/stratum-pool/lib/blockTemplate.js:35:35)
at JobManager.processTemplate (/root/z-nomp/node_modules/stratum-pool/lib/jobManager.js:123:32)
at /root/z-nomp/node_modules/stratum-pool/lib/pool.js:578:66
at itemFinished (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:155:36)
at /root/z-nomp/node_modules/stratum-pool/lib/daemon.js:169:17
at parseJson (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:85:17)
at IncomingMessage. (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:95:17)
2017-01-09 12:47:55 [Master] [PoolSpawner] Fork 4 died, spawning replacement worker...
2017-01-09 12:47:55 [Switching] [Setup] (Thread 6) Loading last proxy state from redis
2017-01-09 12:47:55 [Pool] [zcash] (Thread 6) Share processing setup with redis (127.0.0.1:6379)
/root/z-nomp/node_modules/bs58check/index.js:48
if (!payload) throw new Error('Invalid checksum')
^
Error: Invalid checksum
at Object.decode (/root/z-nomp/node_modules/bs58check/index.js:48:23)
at Object.fromBase58Check (/root/z-nomp/node_modules/bitcoinjs-lib-zcash/src/address.js:8:27)
at Object.exports.createGeneration (/root/z-nomp/node_modules/stratum-pool/lib/transactions.js:83:46)
at new BlockTemplate (/root/z-nomp/node_modules/stratum-pool/lib/blockTemplate.js:35:35)
at JobManager.processTemplate (/root/z-nomp/node_modules/stratum-pool/lib/jobManager.js:123:32)
at /root/z-nomp/node_modules/stratum-pool/lib/pool.js:578:66
at itemFinished (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:155:36)
at /root/z-nomp/node_modules/stratum-pool/lib/daemon.js:169:17
at parseJson (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:85:17)
at IncomingMessage. (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:95:17)
2017-01-09 12:47:55 [Master] [PoolSpawner] Fork 5 died, spawning replacement worker...
Adding this so it can be tracked...
In order to support the Zcash blockchain we need to generate a founder's reward transaction in discovered blocks.
I set the minimum and maximum values, connect 1 slow processor and a high rig, but the difficulty for them has not changed and remained 0.125
"ports": {
"3032": {
"diff": 0.125,
"varDiff": {
"minDiff": 0.01,
"maxDiff": 16,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30
}
}
},
Solution is in branch https://github.com/joshuayabut/z-nomp/tree/movrcx-hp but this makes the pool send unconfirmed coins. Better idea is to have the payment processor launch 10-20 minutes after the wallet interval in pool config or have the pool sending unconfirmed coins be an option in the config
hi,
Isnt their a possibility to do some kind of merged mining, since the algo (zcash and zclassic) is same??
Greetings,
Senne
Title, I had a block on testnet have 222 confirms, I checked that the block reward was going to the correct address and it was, but the address I set for it to pay never had any zct come
Adding this so it can be tracked.
Please enter your bitcoin address, I want to transfer BTC to support your work
/home/z-nomp/node_modules/stratum-pool/lib/pool.js:619
if (typeof(_this.jobManager.currentJob) !== 'undefined' && blockHash !== _this.jobManager.currentJob.rpcData.previousblockhash) {
^
TypeError: Cannot read property 'currentJob' of undefined
at pool.processBlockNotify (/home/z-nomp/node_modules/stratum-pool/lib/pool.js:619:36)
at process. (/home/z-nomp/libs/poolWorker.js:42:39)
at emitTwo (events.js:111:20)
at process.emit (events.js:191:7)
at processEmit [as emit] (/home/z-nomp/node_modules/signal-exit/index.js:155:32)
at process.nextTick (internal/child_process.js:752:12)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
here this error comes out
(node:29237) DeprecationWarning: Using Buffer without new
will soon stop working. Use new Buffer()
, or preferably Buffer.from()
, Buffer.allocUnsafe()
or Buffer.alloc()
instead.
2016-11-28 21:52:24 [Pool] [zclassic] (Thread 2) Share processing setup with redis (127.0.0.1:6379)
2016-11-28 21:52:25 [Pool] [zclassic] (Thread 2) No rewardRecipients have been setup which means no fees will be taken
(node:29237) DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead.
2016-11-28 21:52:25 [Pool] [zclassic] (Thread 1) Stratum Pool Server Started for zclassic [ZCL] {equihash}
Network Connected: Mainnet
Detected Reward Type: POW
Current Block Height: 13216
Current Block Diff: 17817.513446465
Current Connect Peers: 3
Network Difficulty: 17671.67445956
Network Hash Rate: 1.00 MH
Stratum Port(s): 3032
Pool Fee Percent: 0%
Block polling every: 30 ms
2016-11-28 21:52:25 [Switching] [Setup] (equihash) Setting proxy difficulties after pool start
(node:29243) DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead.
2016-11-28 21:52:25 [Pool] [zclassic] (Thread 2) Stratum Pool Server Started for zclassic [ZCL] {equihash}
in the statistics /workers not showing Shares
ZEC: Stratum - connecting to '139.162..' <139.162..> port 3032
ZEC: Stratum - Connected (139.162..:3032)
Pool sets new share target: 0x006e5846 (diff: 593H)
ZEC: Share rejected (120328 ms)!
ZEC: Authorization failed
: {"id":2,"result":false,"error":null}
Transactions fees can be random and will take away from the reward, so when the coins arrive at the payment address, totalOwed complains because it's not exactly the same amount as the block reward + fees even though it's a small amount difference
2016-12-28 21:30:44 [Website] [zclassic] Could not dumpprivkey for zclassic {"code":-4,"message":"Private key for address is not known"}
"rewardRecipients": {
"": 5.5 // this is 5.5%?
},
12.493125 (U)
0.006875 (U)
but this is not 5.5%.
/home/zcash/Pool/portal-znomp/node_modules/stratum-pool/lib/pool.js:577
result.response.miner = subsidy.miner;
^
TypeError: Cannot read property 'miner' of undefined
at /home/zcash/Pool/portal-znomp/node_modules/stratum-pool/lib/pool.js:577:56
at itemFinished (/home/zcash/Pool/portal-znomp/node_modules/stratum-pool/lib/daemon.js:155:36)
at /home/zcash/Pool/portal-znomp/node_modules/stratum-pool/lib/daemon.js:169:17
at parseJson (/home/zcash/Pool/portal-znomp/node_modules/stratum-pool/lib/daemon.js:85:17)
at IncomingMessage. (/home/zcash/Pool/portal-znomp/node_modules/stratum-pool/lib/daemon.js:95:17)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
2016-12-21 17:41:18 [Master] [PoolSpawner] Fork 0 died, spawning replacement worker...
Hi, I'm trying to setup z-nomp with zcash.
I'm getting this error when starting a freshly cloned and installed z-nomp
/root/z-nomp/node_modules/bs58check/index.js:48
if (!payload) throw new Error('Invalid checksum')
^
Error: Invalid checksum
at Object.decode (/root/z-nomp/node_modules/bs58check/index.js:48:23)
at Object.fromBase58Check (/root/z-nomp/node_modules/bitcoinjs-lib-zcash/src/address.js:8:27)
at Object.exports.createGeneration (/root/z-nomp/node_modules/stratum-pool/lib/transactions.js:83:46)
at new BlockTemplate (/root/z-nomp/node_modules/stratum-pool/lib/blockTemplate.js:35:35)
at JobManager.processTemplate (/root/z-nomp/node_modules/stratum-pool/lib/jobManager.js:123:32)
at /root/z-nomp/node_modules/stratum-pool/lib/pool.js:578:66
at itemFinished (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:155:36)
at /root/z-nomp/node_modules/stratum-pool/lib/daemon.js:169:17
at parseJson (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:85:17)
at IncomingMessage.<anonymous> (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:95:17
Debian 8
Zcash version v1.0.4
nodejs version v7.3.0
redis 2.8.17
Any help would be greatly appreciated!
Where is the MPOs configuration file. I can't display the block, height, difficulty in mpos.
thank u
/root/z-nomp/node_modules/stratum-pool/lib/pool.js:576
result.response.miner = subsidy.miner;
^
TypeError: Cannot read property 'miner' of undefined
at /root/z-nomp/node_modules/stratum-pool/lib/pool.js:576:56
at itemFinished (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:155:36)
at /root/z-nomp/node_modules/stratum-pool/lib/daemon.js:169:17
at parseJson (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:85:17)
at IncomingMessage. (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:95:17)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
/root/z-nomp/node_modules/stratum-pool/lib/pool.js:576
result.response.miner = subsidy.miner;
^
TypeError: Cannot read property 'miner' of undefined
at /root/z-nomp/node_modules/stratum-pool/lib/pool.js:576:56
at itemFinished (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:155:36)
at /root/z-nomp/node_modules/stratum-pool/lib/daemon.js:169:17
at parseJson (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:85:17)
at IncomingMessage. (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:95:17)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
/root/z-nomp/node_modules/stratum-pool/lib/pool.js:576
result.response.miner = subsidy.miner;
^
TypeError: Cannot read property 'miner' of undefined
at /root/z-nomp/node_modules/stratum-pool/lib/pool.js:576:56
at itemFinished (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:155:36)
at /root/z-nomp/node_modules/stratum-pool/lib/daemon.js:169:17
at parseJson (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:85:17)
at IncomingMessage. (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:95:17)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
2016-12-30 18:20:07 [Master] [PoolSpawner] Fork 1 died, spawning replacement worker...
2016-12-30 18:20:07 [Master] [PoolSpawner] Fork 3 died, spawning replacement worker...
2016-12-30 18:20:07 [Master] [PoolSpawner] Fork 0 died, spawning replacement worker...
/root/z-nomp/node_modules/stratum-pool/lib/pool.js:576
result.response.miner = subsidy.miner;
^
TypeError: Cannot read property 'miner' of undefined
at /root/z-nomp/node_modules/stratum-pool/lib/pool.js:576:56
at itemFinished (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:155:36)
at /root/z-nomp/node_modules/stratum-pool/lib/daemon.js:169:17
at parseJson (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:85:17)
at IncomingMessage. (/root/z-nomp/node_modules/stratum-pool/lib/daemon.js:95:17)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
2016-12-30 18:20:07 [Master] [PoolSpawner] Fork 2 died, spawning replacement worker...
xx@ubuntu:~/z-nomp$ npm start
[email protected] start /home/xx/z-nomp
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/node_modules/stratum-pool/node_modules/equihashverify/build/Release/ node init.js
2016-11-18 22:27:01 [POSIX] [Connection Limit] (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised
undefined:1
yWEEc6m72SwgfusgoS9y":0.2,"t1Rfwn87KpYpiqMyWEEc6m72SwgfusgoS9y":0.2,},"payment
^
SyntaxError: Unexpected token }
at Object.parse (native)
at /home/xx/z-nomp/init.js:102:32
at Array.forEach (native)
at buildPoolConfigs (/home/xx/z-nomp/init.js:100:31)
at init (/home/xx/z-nomp/init.js:431:19)
at Object. (/home/xx/z-nomp/init.js:443:3)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
npm ERR! Linux 4.4.0-47-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v0.12.17
npm ERR! npm v2.15.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/node_modules/stratum-pool/node_modules/equihashverify/build/Release/ node init.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/node_modules/stratum-pool/node_modules/equihashverify/build/Release/ node init.js'.
npm ERR! This is most likely a problem with the z-nomp package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/node_modules/stratum-pool/node_modules/equihashverify/build/Release/ node init.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs z-nomp
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls z-nomp
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/xx/z-nomp/npm-debug.log
your good ;
It's a good solution to my problem
thank you .
Zclassic pool
{
"walletversion" : 60000,
"balance" : 301.99145731,
"unconfirmed_balance" : 0.00000000,
"immature_balance" : 62.50032672,
"txcount" : 653,
"keypoololdest" : 1480675681,
"keypoolsize" : 101
}
E0078: RPC method did not return 200 OK: Address: t1b8dTy7cYGNCCVa3YhHXDkspWdera1tq7a ERROR: RPC call did not return 200: HTTP error: 500 - JSON Response: [-4] Insufficient funds, coinbase funds can only be spent after they have been sent to a zaddr
I added the address code zaddress verification and billing address
2016-11-24 10:23:10 [Master] [Payment Processor] Payment processor died, spawning replacement...
2016-11-24 10:23:13 [Payments] [zclassic] Error detecting number of satoshis in a coin, cannot do payment processing. Tried parsing: {"result":0.10035601,"error":null,"id":1479972193687}
/home/evanto/z-nomp/node_modules/async/dist/async.js:837
if (fn === null) throw new Error("Callback was already called.");
^
Error: Callback was already called.
at /home/evanto/z-nomp/node_modules/async/dist/async.js:837:32
at /home/evanto/z-nomp/node_modules/async/dist/async.js:3691:13
at apply (/home/evanto/z-nomp/node_modules/async/dist/async.js:21:25)
at /home/evanto/z-nomp/node_modules/async/dist/async.js:56:12
at /home/evanto/z-nomp/libs/paymentProcessor.js:114:21
at itemFinished (/home/evanto/z-nomp/node_modules/stratum-pool/lib/daemon.js:155:36)
at /home/evanto/z-nomp/node_modules/stratum-pool/lib/daemon.js:169:17
at parseJson (/home/evanto/z-nomp/node_modules/stratum-pool/lib/daemon.js:85:17)
at IncomingMessage.<anonymous> (/home/evanto/z-nomp/node_modules/stratum-pool/lib/daemon.js:95:17)
at IncomingMessage.emit (events.js:129:20)
i have an error "We thought a block was found but it was rejected by the daemon"
debug.log
ERROR: ContextualCheckBlock: founders reward missing
ERROR: ProcessNewBlock: AcceptBlock FAILED
zcash_testnet.json
{
"name": "zcash_testnet",
"symbol": "taz",
"algorithm": "equihash",
"payFoundersReward": true,
"percentFoundersReward": 20,
"maxFoundersRewardBlockHeight": 849999,
"foundersRewardAddressChangeInterval": 17709.3125,
"vFoundersRewardAddress": [
"t2UNzUUx8mWBCRYPRezvA363EYXyEpHokyi",
"t2N9PH9Wk9xjqYg9iin1Ua3aekJqfAtE543",
"t2NGQjYMQhFndDHguvUw4wZdNdsssA6K7x2",
"t27ktmq1kbeCWiQ5TZ7w5npSzcdbBmTB7v6",
"t2GcBttAKD2WTHka8HyGc2dfvVTKYZUfHmJ",
"t2Q3vxWaD9LrdqUE8Xd9Ddjpr9pUQ2aGotK",
"t2TTfWDsYu998fHWzVP9Gns4fgxXXRi1Wzu",
"t2KS6R4MMWdSBMjLCiw2iMyhWGRQPmyRqDn",
"t2Q2ELrgotWv3Eec6LEtMMiiQ8dtW38u8Tj",
"t2AEgJA88vTWAKqxJDFUEJWyHUtQAZi5G1D",
"t2HCSdmpq1TQKksuwPQevwAzPTgfJ2rkMbG",
"t2HQCPFAUQaUdJWHPhg5pPBxit7inaJzubE",
"t2Fzqvq8Y9e6Mn3JNPb982aYsLmq4b5HmhH",
"t2HEz7YZQqDUgC5h4y2WSD3mWneqJNVRjjJ",
"t2GCR1SCk687Eeo5NEZ23MLsms7JjVWBgfG",
"t2KyiPR9Lztq2w1w747X6W4nkUMAGL8M9KN",
"t2UxymadyxSyVihmbq7S1yxw5dCBqJ1S4jT",
"t2AVeMy7fdmTcJhckqiKRG8B7F1vccEhSqU",
"t26m7LwihQzD2sH7ZVhYpPJM5j7kzwbfKW9",
"t2DgwUNTe7NxuyPU6fxsB5xJXap3E4yWXrN",
"t2U6funcXA11fC9SZehyvUL3rk3Vhuh7fzS",
"t284JhyS8LGM72Tx1porSqwrcq3CejthP1p",
"t29egu8QcpzKeLoPLqWS6QVMnUUPQdF6eNm",
"t29LqD9p9D3B26euBwFi6mfcWu8HPA38VNs",
"t28GsAMCxAyLy85XaasddDzaYFTtfewr86y",
"t2GV44QyaikQPLUfm6oTfZnw71LLjnR7gDG",
"t2U2QzNLQ1jtAu4L6xxVnRXLBsQpQvGRR2g",
"t2QKGr5PNan7nrwDgseyHMN9NFeeuUjCh8b",
"t2AfS8u6HwBeJpKpbuxztvRjupKQDXqnrwa",
"t2CTRQUViQd3CWMhnKhFnUHqDLUyTxmWhJs",
"t2CbM9EqszNURqh1UXZBXYhwp1R4GwEhWRE",
"t2LM7uYiAsKDU42GNSnMwDxbZ8s1DowQzYH",
"t2AgvT35LHR378AE3ouz6xKMhkTLHLJC6nD",
"t285EAQXUVyi4NMddJv2QqTrnv45GRMbP8e",
"t2EpMRCD5b8f2DCQ37npNULcpZhkjC8muqA",
"t2BCmWXrRPiCeQTpizSWKKRPM5X6PS7umDY",
"t2DN7X6wDFn5hYKBiBmn3Z98st419yaTVTH",
"t2QJj8HeCwQ6mHwqekxxDLZntYpZTHNU62t",
"t2QdHBR1Yciqn4j8gpS8DcQZZtYetKvfNj3",
"t2E5cpLA1ey5VNxFNcuopeQMq2rH2NHiPdu",
"t2EVRGtzjFAyz8CF8ndvLuiJu7qZUfDa93H",
"t2KoQDk3BSFadBkuaWdLwchFuQamzw9RE4L",
"t2FnR3yhTmuiejEJeu6qpidWTghRd1HpjLt",
"t2BAuBAAospDc9d1u5nNGEi6x4NRJBD2PQ2",
"t2RtKrLCGcyPkm4a4APg1YY9Wu2m4R2PgrB",
"t28aUbSteZzBq2pFgj1K1XNZRZP5mMMyakV",
"t2Urdy1ERfkvsFuy6Z4BkhvYGzWdmivfAFR",
"t2ADinR4JrvCMd4Q1XGALPajzFrirqvhED6"
]
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.