Git Product home page Git Product logo

cryptonote-universal-pool's People

Contributors

barbushin avatar dayas avatar fancoder avatar lucasjones avatar pmitchev avatar sammy007 avatar yaymining avatar zone117x avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cryptonote-universal-pool's Issues

No currency is accrued for the mining

Prompt please, at me such problem:

I installed the pool, set everything up, fixed all errors ... I start the miner, it sees the pool and shows that the mining is working, there are no errors, but on the second day on the account 0.0000000000 on the account of the pool, as well as on the accounts of the miners.

Bugs refreshing pool blocks page and payments chart

Hello fancoder!
We have noticed that when refreshing Pool Blocks page there is no Info about blocks. You must buck to home page and back.
2nd is thst payments chart showing not correctly, ie its show time reverse.
And want ask you about charts : charts has, price ,difficulty take time from? and hashrate and workers from? it is different time. Last to depends on the server time? and first three from what?
Thanks in advice!

how to access web frontend?

hi to access web frontend?
i try but not work.

iam try but erros
Error getting daemon data {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"}

and erros

TypeError: Cannot read property 'pool' of undefined
at /home/dinho/pool/lib/charts.js:154:30
at IncomingMessage. (/home/dinho/pool/lib/apiInterfaces.js:31:17)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)

2017-07-12 16:43:40 [master] chartsDataCollector died, spawning replacement...
2017-07-12 16:43:41 [api] Error getting daemon data {"code":"ECONNRESET"}
2017-07-12 16:43:41 [api] Stat collection finished: 29 ms redis, 60654 ms daemon
2017-07-12 16:43:41 [api] Error collecting all stats
2017-07-12 16:43:41 [pool] (Thread 4) Error polling getblocktemplate {"code":"ECONNRESET"}
2017-07-12 16:43:41 [pool] (Thread 4) Could not start pool
2017-07-12 16:43:41 [pool] (Thread 1) Error polling getblocktemplate {"code":"ECONNRESET"}
2017-07-12 16:43:41 [pool] (Thread 1) Could not start pool
2017-07-12 16:43:41 [pool] (Thread 2) Error polling getblocktemplate {"code":"ECONNRESET"}
2017-07-12 16:43:41 [pool] (Thread 2) Could not start pool
2017-07-12 16:43:41 [pool] (Thread 3) Error polling getblocktemplate {"code":"ECONNRESET"}
2017-07-12 16:43:41 [pool] (Thread 3) Could not start pool
2017-07-12 16:43:42 [charts] Started
2017-07-12 16:43:42 [chartsDataCollector] Started

No "Hash/USD" and "Price in USD" charts

Hi guys,

I think I configured everything correctly but I cannot understand why my web page shows only 3 charts (Difficulty, Hashrate and Workers) out of 5.

Any help would be greatly appreciated.

Cheers,
M

AEON mining. Bad hash from miner.

I set up a private mining pool for AEON coin. But I recieved Results rejected by pool.

I can mine with other pools with no problem. I have daemon and wallet set up with no problem. Is there any modification I need to do specifically for AEON?

Empty Destination?

2017-06-05 14:59:37 Error with transfer RPC request to wallet daemon {"code":-4,"message":"The destination is empty"}
2017-06-05 14:59:37 Payments failed to send to {"amount":0,"address":"PLDMYpxd9WxQYbsrzB7tK1LdZ9cPZqBKnCc65R3D37BjFmmZaBZZVHL8DZ8TjAsnuW4Q9gwNpM3Jwi3P6kJCTDAwh3xnBccNxQK"}
2017-06-05 15:09:37 Error with transfer RPC request to wallet daemon {"code":-4,"message":"Wrong amount"}
2017-06-05 15:09:37 Payments failed to send to {"amount":1000000000,"address":"PLDMYpxd9WxQYbsrzB7tK1LdZ9cPZqBKnCc65R3D37BjFmmZaBZZVHL8DZ8TjAsnuW4Q9gwNpM3Jwi3P6kJCTDAwh3xnBccNxQK"}

num == numcpu issue

node: ../deps/uv/src/unix/linux-core.c:680: read_times: Assertion `num == numcpus' failed.
Aborted

since today i have this Problem. Can somebody explain me that. In special how to fix it.

not enough outputs to mix

9-01 08:58:38 [payments] Started
2014-09-01 08:58:38 [payments] Error with transfer RPC request to wallet daemon {"code":-4,"message":"not enough outputs to mix"}
2014-09-01 08:58:38 [payments] Payments failed to send to {"amount":7944000000000,"address":"ddeExKX3jiVLS7cp3WqakpJ3gRQLFe6aFVdb1KNaRfQ77fBYhWXAEMYLHXEkRw85BRgWUmxzi7QT6JGptyJiqVLk1niuwCXqd"} { amount: 38121000000000,
address: 'dde4NHefkTHEExGvb4k75hafRRWiBCnwNfxGLreozwwcGp4nmvdi8AK9iL8qyYmu6W8ryKQuEiyxAFHqpBHjsqq138u97fMUF' } { amount: 34670000000000,
address: 'ddcX7XTPBqhP2m58ZfC4SHYrjEEoJLSFjPVU2opxzfnxKhVQhUoK9s84Q3kTv8viLrTt9bPB1pNK8ePA4gJkxxwe2L1Fvnowv' } { amount: 19265000000000,
address: 'ddcpWuWTgXkJCuH9ZpZWnjRrJLFLByxUsTh5C6gLrnWJHtX7cRSaBJw7ChEeuTEgvajc8xP2KoqAsARh3KpXBFsG1AAnLxKfL' }

WHY???


PS:config

"payments": {
    "enabled": true,
    "interval": 600,
    "maxAddresses": 10,
    "mixin": 5,
    "transferFee": 100000,
    "minPayment": 1000000000000,
    "maxTransactionAmount": 100000000000000,
    "denomination": 1000000000
},

Floating point exception

Hello,

I've created a XMR pool and run already but when i tried to test a miner to the pool, the error return "Floating point exception" like this

Address of the pool 69.61.66.233

How to fix this?

[2017-02-01 22:48:43] : Connecting to pool 69.61.66.233:3333 ...
[2017-02-01 22:48:43] : Connected. Logging in...
Floating point exception

Could not start pool (ECONNRESET)

Hello, I have this error and I don't know exactly why it is happening: Here's the log:

2017-04-13 13:17:53 [pool] (Thread 2) Error polling getblocktemplate {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}
2017-04-13 13:17:53 [pool] (Thread 2) Could not start pool

I followed every step and I don't really know why this is happening.
Also, in the daemon, I get the following message:

Exception in connectionHandler: Levin signature mismatch.

Merge mining support

Hi, are there any plans to add support for Merge Mining? Such as what MCN or FCN supports? Thank you!

Pool fails to build CentOS 6 (Kernel 2.6.32-642.1.1.el6.x86_64)

npm update
[email protected] node_modules/async
[email protected] node_modules/cli-color
├── [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] install /sata/cryptonote-universal-pool/node_modules/cryptonote-util
> node-gyp rebuild

make: Entering directory `/sata/cryptonote-universal-pool/node_modules/cryptonote-util/build'
make: *** No rule to make target `/.node-gyp/0.10.46/include/node/common.gypi', needed by `Makefile'.  Stop.
make: Leaving directory `/sata/cryptonote-universal-pool/node_modules/cryptonote-util/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 2.6.32-642.1.1.el6.x86_64
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /sata/cryptonote-universal-pool/node_modules/cryptonote-util
gyp ERR! node -v v0.10.46
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok 

> [email protected] install /sata/cryptonote-universal-pool/node_modules/multi-hashing
> node-gyp rebuild

make: Entering directory `/sata/cryptonote-universal-pool/node_modules/multi-hashing/build'
make: *** No rule to make target `/.node-gyp/0.10.46/include/node/common.gypi', needed by `Makefile'.  Stop.
make: Leaving directory `/sata/cryptonote-universal-pool/node_modules/multi-hashing/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 2.6.32-642.1.1.el6.x86_64
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /sata/cryptonote-universal-pool/node_modules/multi-hashing
gyp ERR! node -v v0.10.46
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok 
[email protected] node_modules/redis
├── [email protected]
├── [email protected]
└── [email protected]
npm WARN engine [email protected]: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.46","npm":"2.15.1"})
npm WARN engine [email protected]: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.46","npm":"2.15.1"})
[email protected] node_modules/dateformat
├── [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] install /sata/cryptonote-universal-pool/node_modules/base58-native/node_modules/bignum
> node-pre-gyp install --fallback-to-build

[bignum] Success: "/sata/cryptonote-universal-pool/node_modules/base58-native/node_modules/bignum/binding/bignum.node" is installed via remote

> [email protected] install /sata/cryptonote-universal-pool/node_modules/bignum
> node-pre-gyp install --fallback-to-build

[email protected] node_modules/base58-native
└── [email protected] ([email protected], [email protected])
[bignum] Success: "/sata/cryptonote-universal-pool/node_modules/bignum/binding/bignum.node" is installed via remote
[email protected] node_modules/bignum
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
npm ERR! Linux 2.6.32-642.1.1.el6.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "update"
npm ERR! node v0.10.46
npm ERR! npm  v2.15.1
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! This is most likely a problem with the cryptonote-util 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 cryptonote-util
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! 
npm ERR!     npm owner ls cryptonote-util
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /sata/cryptonote-universal-pool/npm-debug.log

'boost/variant.hpp' file not found

Hello guys, i try to run cryptonote-universal-pool on
OS X (x64) 10.11.4
Node.js v5.9.1
redis 3.0.7
and get error after "npm update" command

[email protected] install /Users/eimpex/Downloads/redis-3.0.7/pool/node_modules/cryptonote-util
node-gyp rebuild

CXX(target) Release/obj.target/cryptonote/src/main.o
In file included from ../src/main.cc:8:
../src/cryptonote_core/cryptonote_basic.h:7:10: fatal error: 'boost/variant.hpp' file not found

include <boost/variant.hpp>

     ^

1 error generated.
make: *** [Release/obj.target/cryptonote/src/main.o] Error 1

POOL fork dies

Hey so I configured everything right as far as I know yet I still get this recurring error and I don't know what to do?

pieter@arx36-nix01:~/pool$ node init.js
2017-07-10 15:47:45 [master] Pool spawned on 2 thread(s)
2017-07-10 15:47:45 [unlocker] Started
2017-07-10 15:47:45 [unlocker] No blocks candidates in redis
2017-07-10 15:47:45 [payments] Started
2017-07-10 15:47:45 [payments] No workers' balances reached the minimum payment threshold
2017-07-10 15:47:45 [charts] Started
2017-07-10 15:47:45 [charts] Started
2017-07-10 15:47:45 [chartsDataCollector] Started
2017-07-10 15:47:45 [api] API started & listening on port 8117
2017-07-10 15:47:45 [api] Stat collection finished: 28 ms redis, 27 ms daemon
2017-07-10 15:47:45 [api] Broadcasting to 0 visitors and 0 address lookups

module.js:356
Module._extensions[extension](this, filename);
^
Error: /home/pieter/pool/node_modules/bignum/binding/bignum.node: undefined symbol: node_module_register
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/pieter/pool/node_modules/bignum/index.js:4:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
2017-07-10 15:47:45 [master] Pool fork 1 died, spawning replacement worker...

module.js:356
Module._extensions[extension](this, filename);
^
Error: /home/pieter/pool/node_modules/bignum/binding/bignum.node: undefined symbol: node_module_register
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/pieter/pool/node_modules/bignum/index.js:4:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
2017-07-10 15:47:45 [master] Pool fork 2 died, spawning replacement worker...

module.js:356
Module._extensions[extension](this, filename);
^
Error: /home/pieter/pool/node_modules/bignum/binding/bignum.node: undefined symbol: node_module_register
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/pieter/pool/node_modules/bignum/index.js:4:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
2017-07-10 15:47:48 [master] Pool fork 1 died, spawning replacement worker...

module.js:356
Module._extensions[extension](this, filename);
^
Error: /home/pieter/pool/node_modules/bignum/binding/bignum.node: undefined symbol: node_module_register
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/pieter/pool/node_modules/bignum/index.js:4:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
2017-07-10 15:47:48 [master] Pool fork 2 died, spawning replacement worker...

module.js:356
Module._extensions[extension](this, filename);
^
Error: /home/pieter/pool/node_modules/bignum/binding/bignum.node: undefined symbol: node_module_register
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/pieter/pool/node_modules/bignum/index.js:4:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
2017-07-10 15:47:50 [master] Pool fork 1 died, spawning replacement worker...

module.js:356
Module._extensions[extension](this, filename);
^
Error: /home/pieter/pool/node_modules/bignum/binding/bignum.node: undefined symbol: node_module_register
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/pieter/pool/node_modules/bignum/index.js:4:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
2017-07-10 15:47:50 [master] Pool fork 2 died, spawning replacement worker...
2017-07-10 15:47:50 [api] Stat collection finished: 2 ms redis, 3 ms daemon
2017-07-10 15:47:50 [api] Broadcasting to 0 visitors and 0 address lookups

Sorry if this is the wrong place to post an error but no one could answer me on the freenode

Transactions not included in blockchain are counted as paid

Bytecoin and Dashcoin transactions have 24 hours life (not sure about other coins). When a transaction passes the daemon check (return success) but it is not included in the blockchain it is counted as 'paid'. The real status of the transaction is 'not paid' as it is returned to sender's wallet.

Error: Failed to parse block

Hello all,
I have a poblem with my pool.
When i run "node init.js" and run minerd, it occur that error.


2017-01-22 06:18:18 [api] Broadcasting to 2 visitors and 0 address lookups
Error: Failed to parse block
    at Object.BlockTemplate.nextBlob (/pool/lib/pool.js:120:23)
    at Object.Miner.getJob (/pool/lib/pool.js:297:41)
    at handleMinerMethod (/pool/lib/pool.js:492:28)
    at handleMessage (/pool/lib/pool.js:606:13)
    at Socket.socket.on.on.on.pushMessage (/pool/lib/pool.js:660:25)
    at Socket.EventEmitter.emit (events.js:95:17)
    at Socket.<anonymous> (_stream_readable.js:746:14)
    at Socket.EventEmitter.emit (events.js:92:17)
    at emitReadable_ (_stream_readable.js:408:10)
    at emitReadable (_stream_readable.js:404:5)

2017-01-22 06:18:20 [master] Pool fork 1 died, spawning replacement worker...

Do you have any way to resolve this poblem? Thank all

Submitting incorrect difficulty for PoW solved blocks

Please catch this codebase up to zone117x's repository or remove it; does not work against the newer revisions of the Cryptonight daemons. Calculates incorrect difficulty on PoW blocks.

height: 760752
have not enough proof of work: <fd67dcb9ca9dfffaa79a4a6fe18964121e203711d5d1b9399221b4b122aa298f>
nexpected difficulty: 110586489

Error running npm update

Hi so I have tried numerous versions of node. Node v5.0.0 seemed to have no problem however upon running init.js there were a bunch of errors talking about a recon error. I have now tried v6.2.0 and got similar errors to other node versions. (node:25510) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.


[email protected] install /home/pieter/cryptonote-universal-pool/node_modules/bignum
node-pre-gyp install --fallback-to-build

[bignum] Success: "/home/pieter/cryptonote-universal-pool/node_modules/bignum/binding/bignum.node" is i nstalled via remote

[email protected] install /home/pieter/cryptonote-universal-pool/node_modules/cryptonote-util
node-gyp rebuild

make: Entering directory '/home/pieter/cryptonote-universal-pool/node_modules/cryptonote-util/build'
CXX(target) Release/obj.target/cryptonote/src/main.o
../src/main.cc: In function ‘v8::Handlev8::Value except(const char*)’:
../src/main.cc:21:44: error: ‘New’ is not a member of ‘v8::String’
return ThrowException(Exception::Error(String::New(msg)));
^
../src/main.cc:21:61: error: ‘ThrowException’ was not declared in this scope
return ThrowException(Exception::Error(String::New(msg)));
^
../src/main.cc: At global scope:
../src/main.cc:80:34: error: ‘Arguments’ does not name a type
Handle convert_blob(const Arguments& args) {
^
In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0,
from ../src/main.cc:2:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h: In function ‘v8::Handlev8::Value convert_blob(const i nt&)’:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:904:13: error: ‘v8::HandleScope::HandleScope()’ is prote cted
V8_INLINE HandleScope() {}
^
../src/main.cc:81:17: error: within this context
HandleScope scope;
^
../src/main.cc:83:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const i nt’
if (args.Length() < 1)
^
../src/main.cc:86:34: error: invalid types ‘const int[int]’ for array subscript
Local target = args[0]->ToObject();
^
../src/main.cc:111:11: error: expected primary-expression before ‘’ token
Buffer
buff = Buffer::New(output.data(), output.size());
^
../src/main.cc:111:13: error: ‘buff’ was not declared in this scope
Buffer* buff = Buffer::New(output.data(), output.size());
^
../src/main.cc:111:60: error: no matching function for call to ‘New(const char*, std::cxx11::basic_st ring::size_type)’
Buffer* buff = Buffer::New(output.data(), output.size());
^
In file included from ../src/main.cc:3:0:
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:31:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length);
^
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘const char*’ to ‘v8::Isolate*’
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:34:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:34:40: note: no known conversion for argument 1 from ‘const char*’ to ‘v8::Isolate*’
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:39:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:39:40: note: candidate expects 5 arguments, 2 provided
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:46:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:46:40: note: candidate expects 3 arguments, 2 provided
../src/main.cc:112:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(buff->handle
);
^
../src/main.cc: At global scope:
../src/main.cc:115:34: error: ‘Arguments’ does not name a type
Handle get_block_id(const Arguments& args) {
^
In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0,
from ../src/main.cc:2:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h: In function ‘v8::Handlev8::Value get_block_id(const i nt&)’:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:904:13: error: ‘v8::HandleScope::HandleScope()’ is prote cted
V8_INLINE HandleScope() {}
^
../src/main.cc:116:17: error: within this context
HandleScope scope;
^
../src/main.cc:118:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if (args.Length() < 1)
^
../src/main.cc:121:34: error: invalid types ‘const int[int]’ for array subscript
Local target = args[0]->ToObject();
^
../src/main.cc:137:11: error: expected primary-expression before ‘’ token
Buffer
buff = Buffer::New(reinterpret_cast<char*>(&block_id), sizeof(block_id));
^
../src/main.cc:137:13: error: ‘buff’ was not declared in this scope
Buffer* buff = Buffer::New(reinterpret_cast<char*>(&block_id), sizeof(block_id));
^
../src/main.cc:137:84: error: no matching function for call to ‘New(char*, long unsigned int)’
Buffer* buff = Buffer::New(reinterpret_cast<char*>(&block_id), sizeof(block_id));
^
In file included from ../src/main.cc:3:0:
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:31:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length);
^
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:34:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:34:40: note: no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:39:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:39:40: note: candidate expects 5 arguments, 2 provided
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:46:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:46:40: note: candidate expects 3 arguments, 2 provided
../src/main.cc:138:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(buff->handle);
^
../src/main.cc: At global scope:
../src/main.cc:141:42: error: ‘Arguments’ does not name a type
Handle construct_block_blob(const Arguments& args) {
^
In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0,
from ../src/main.cc:2:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h: In function ‘v8::Handlev8::Value construct_block_blob (const int&)’:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:904:13: error: ‘v8::HandleScope::HandleScope()’ is prote cted
V8_INLINE HandleScope() {}
^
../src/main.cc:142:17: error: within this context
HandleScope scope;
^
../src/main.cc:144:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if (args.Length() < 2)
^
../src/main.cc:147:46: error: invalid types ‘const int[int]’ for array subscript
Local block_template_buf = args[0]->ToObject();
^
../src/main.cc:148:37: error: invalid types ‘const int[int]’ for array subscript
Local nonce_buf = args[1]->ToObject();
^
../src/main.cc:179:11: error: expected primary-expression before ‘’ token
Buffer
buff = Buffer::New(output.data(), output.size());
^
../src/main.cc:179:13: error: ‘buff’ was not declared in this scope
Buffer* buff = Buffer::New(output.data(), output.size());
^
../src/main.cc:179:60: error: no matching function for call to ‘New(const char*, std::_cxx11::basic_st ring::size_type)’
Buffer* buff = Buffer::New(output.data(), output.size());
^
In file included from ../src/main.cc:3:0:
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:31:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length);
^
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘const char*’ to ‘v8::Isolate*’
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:34:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:34:40: note: no known conversion for argument 1 from ‘const char*’ to ‘v8::Isolate*’
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:39:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:39:40: note: candidate expects 5 arguments, 2 provided
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:46:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:46:40: note: candidate expects 3 arguments, 2 provided
../src/main.cc:180:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(buff->handle
);
^
../src/main.cc: At global scope:
../src/main.cc:183:37: error: ‘Arguments’ does not name a type
Handle convert_blob_bb(const Arguments& args) {
^
In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0,
from ../src/main.cc:2:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h: In function ‘v8::Handlev8::Value convert_blob_bb(cons t int&)’:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:904:13: error: ‘v8::HandleScope::HandleScope()’ is prote cted
V8_INLINE HandleScope() {}
^
../src/main.cc:184:17: error: within this context
HandleScope scope;
^
../src/main.cc:186:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if (args.Length() < 1)
^
../src/main.cc:189:34: error: invalid types ‘const int[int]’ for array subscript
Local target = args[0]->ToObject();
^
../src/main.cc:204:11: error: expected primary-expression before ‘’ token
Buffer
buff = Buffer::New(output.data(), output.size());
^
../src/main.cc:204:13: error: ‘buff’ was not declared in this scope
Buffer* buff = Buffer::New(output.data(), output.size());
^
../src/main.cc:204:60: error: no matching function for call to ‘New(const char*, std::_cxx11::basic_st ring::size_type)’
Buffer* buff = Buffer::New(output.data(), output.size());
^
In file included from ../src/main.cc:3:0:
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:31:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length);
^
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘const char*’ to ‘v8::Isolate*’
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:34:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:34:40: note: no known conversion for argument 1 from ‘const char*’ to ‘v8::Isolate*’
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:39:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:39:40: note: candidate expects 5 arguments, 2 provided
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:46:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:46:40: note: candidate expects 3 arguments, 2 provided
../src/main.cc:205:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(buff->handle
);
^
../src/main.cc: At global scope:
../src/main.cc:208:36: error: ‘Arguments’ does not name a type
Handle address_decode(const Arguments& args) {
^
In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0,
from ../src/main.cc:2:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h: In function ‘v8::Handlev8::Value address_decode(const int&)’:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:904:13: error: ‘v8::HandleScope::HandleScope()’ is prote cted
V8_INLINE HandleScope() {}
^
../src/main.cc:209:17: error: within this context
HandleScope scope;
^
../src/main.cc:211:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if (args.Length() < 1)
^
../src/main.cc:214:34: error: invalid types ‘const int[int]’ for array subscript
Local target = args[0]->ToObject();
^
../src/main.cc:224:22: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Undefined());
^
../src/main.cc:224:38: error: too few arguments to function ‘v8::Localv8::Primitive v8::Undefined(v8: :Isolate*)’
return scope.Close(Undefined());
^
In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0,
from ../src/main.cc:2:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:322:27: note: declared here
friend Local Undefined(Isolate* isolate);
^
../src/main.cc:228:22: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Undefined());
^
../src/main.cc:228:38: error: too few arguments to function ‘v8::Localv8::Primitive v8::Undefined(v8: :Isolate*)’
return scope.Close(Undefined());
^
In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0,
from ../src/main.cc:2:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:322:27: note: declared here
friend Local Undefined(Isolate* isolate);
^
../src/main.cc:231:22: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Undefined());
^
../src/main.cc:231:38: error: too few arguments to function ‘v8::Localv8::Primitive v8::Undefined(v8: :Isolate*)’
return scope.Close(Undefined());
^
In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0,
from ../src/main.cc:2:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:322:27: note: declared here
friend Local Undefined(Isolate* isolate);
^
../src/main.cc:233:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Integer::New(static_cast<uint32_t>(prefix)));
^
../src/main.cc:233:66: error: no matching function for call to ‘v8::Integer::New(uint32_t)’
return scope.Close(Integer::New(static_cast<uint32_t>(prefix)));
^
In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0,
from ../src/main.cc:2:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:2547:25: note: candidate: static v8::Localv8::Integer v8::Integer::New(v8::Isolate*, int32_t)
static Local New(Isolate* isolate, int32_t value);
^
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:2547:25: note: candidate expects 2 arguments, 1 provid ed
../src/main.cc: In function ‘void init(v8::Handlev8::Object)’:
../src/main.cc:237:18: error: ‘NewSymbol’ is not a member of ‘v8::String’
exports->Set(String::NewSymbol("construct_block_blob"), FunctionTemplate::New(construct_block_blob
^
../src/main.cc:237:103: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v 8::Value> (&)(const int&))’
->Set(String::NewSymbol("construct_block_blob"), FunctionTemplate::New(construct_block_blob)->GetFunct
^
In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0,
from ../src/main.cc:2:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: candidate: static v8::Local<v8::FunctionT emplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Local< v8::Signature>, int)
static Local New(
^
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate*’
../src/main.cc:238:18: error: ‘NewSymbol’ is not a member of ‘v8::String’
exports->Set(String::NewSymbol("get_block_id"), FunctionTemplate::New(get_block_id)->GetFunction()
^
../src/main.cc:238:87: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’
exports->Set(String::NewSymbol("get_block_id"), FunctionTemplate::New(get_block_id)->GetFunction()
^
In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0,
from ../src/main.cc:2:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: candidate: static v8::Local<v8::FunctionT emplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Local< v8::Signature>, int)
static Local New(
^
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate*’
../src/main.cc:239:18: error: ‘NewSymbol’ is not a member of ‘v8::String’
exports->Set(String::NewSymbol("convert_blob"), FunctionTemplate::New(convert_blob)->GetFunction()
^
../src/main.cc:239:87: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’
exports->Set(String::NewSymbol("convert_blob"), FunctionTemplate::New(convert_blob)->GetFunction()
^
In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0,
from ../src/main.cc:2:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: candidate: static v8::Local<v8::FunctionT emplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Local< v8::Signature>, int)
static Local New(
^
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate*’
../src/main.cc:240:18: error: ‘NewSymbol’ is not a member of ‘v8::String’
exports->Set(String::NewSymbol("convert_blob_bb"), FunctionTemplate::New(convert_blob_bb)->GetFunc
^
../src/main.cc:240:93: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’
exports->Set(String::NewSymbol("convert_blob_bb"), FunctionTemplate::New(convert_blob_bb)->GetFunct
^
In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0,
from ../src/main.cc:2:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: candidate: static v8::Local<v8::FunctionT emplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Local< v8::Signature>, int)
static Local New(
^
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate*’
../src/main.cc:241:18: error: ‘NewSymbol’ is not a member of ‘v8::String’
exports->Set(String::NewSymbol("address_decode"), FunctionTemplate::New(address_decode)->GetFuncti
^
../src/main.cc:241:91: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’
exports->Set(String::NewSymbol("address_decode"), FunctionTemplate::New(address_decode)->GetFuncti
^
In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0,
from ../src/main.cc:2:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: candidate: static v8::Local<v8::FunctionT emplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Local< v8::Signature>, int)
static Local New(
^
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate*’
cryptonote.target.mk:100: recipe for target 'Release/obj.target/cryptonote/src/main.o' failed
make: *** [Release/obj.target/cryptonote/src/main.o] Error 1
make: Leaving directory '/home/pieter/cryptonote-universal-pool/node_modules/cryptonote-util/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/bu ild.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:204:12)
gyp ERR! System Linux 4.4.0-89-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/pieter/cryptonote-universal-pool/node_modules/cryptonote-util
gyp ERR! node -v v6.2.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
[email protected] /home/pieter/cryptonote-universal-pool
├─┬ [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]
│ │ ├── [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]
│ │ ├── [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]
│ │ │ │ └── [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]
│ │ │ ├── [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]
│ │ ├── [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]
│ │ └── [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]
│ │ ├── [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]
│ └── [email protected]
├── [email protected]
├─┬ [email protected] (git://github.com/fancoder/node-multi-hashing.git#ec00b7429b668b3366d80a8fa85e 9c22b4792d70)
│ └── [email protected]
└─┬ [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

npm ERR! Linux 4.4.0-89-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.2.0
npm ERR! npm v3.8.9
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 cryptonote-util 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 cryptonote-util
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls cryptonote-util
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/pieter/cryptonote-universal-pool/npm-debug.log


Sorry I know it is a very long post but I was thinking more info is better.
Thanks in advance

Please note the following lines saying "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 cryptonote-util 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 cryptonote-util
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls cryptonote-util
npm ERR! There is likely additional logging output above.

And yes I know this isn't the proper log file

Error: Failed to parse block at Object.BlockTemplate.nextBlob

Hi all, I'm hoping someone with a little more experience can help me with this pool I am setting up on a VPS for the CryptoNote DigitalNote (XDN). I have the server up and running, node, wallet, daemon, redis all configured but I am running into an error when miners try to connect. The VPS node init.js displays this error when a miner tries to connect:

https://i.imgur.com/5vh9yQK.jpg
Error: Failed to parse block at Object.BlockTemplate.nextBlob etc

I tried using LucasJones' version of cryptonote-utils as recommended here (https://monero.stackexchange.com/questions/1603/cryptonote-universal-pool-stratum-authentication-failed/4059) but that just introduces another error with address verification so it isn't fixing anything just covering up the block error.

I've been told that this may have to do with XDN adding merged mining and that it changed the block format.

Does anyone have any advice for getting this setup? It's so close. Thank you.

Unable to mine on ports 3333, 5555, 7777, 8888

Hi i have configured the pool to the letter but i'm having some issues, not really able to mine through the assigned ports.
i can mine from different devices on a single port which is the one that the daemon uses..
also i am able to see the statistics of the Network, like Hashrate, block found, and all the other goodies but nothing is shown on the pool side even though i have a few miners started,
can someone please help me with this issue?
the pool address is 132.148.128.118 and the daemon port is 8084

i will appreciate any help

Cryptonote-util missing from npm

It seems cryptonote-util is broken and not building properly. Referenced log file: https://pastebin.com/M5raQfQe

[intense@server1 pool]$ npm update

> [email protected] install /home/intense/pool/node_modules/cryptonote-util
> node-gyp rebuild

make: Entering directory `/home/intense/pool/node_modules/cryptonote-util/build'
  CXX(target) Release/obj.target/cryptonote/src/main.o
In file included from ../src/contrib/epee/include/serialization/keyvalue_serialization.h:31,
                 from ../src/cryptonote_core/cryptonote_basic.h:20,
                 from ../src/main.cc:8:
../src/contrib/epee/include/misc_log_ex.h:32:18: warning: atomic: No such file or directory
In file included from /home/intense/.node-gyp/6.11.2/include/node/node.h:42,
                 from ../src/main.cc:2:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:345: error: expected unqualified-id before ‘using’
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In constructor ‘v8::MaybeLocal<T>::MaybeLocal()’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:362: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::IsEmpty() const’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:369: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::ToLocal(v8::Local<S>*) const’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:373: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In member function ‘bool v8::WeakCallbackInfo<T>::IsFirstPass() const’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:441: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: At global scope:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:481: error: expected unqualified-id before ‘using’
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In constructor ‘v8::Global<T>::Global()’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:820: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In constructor ‘v8::Global<T>::Global(v8::Global<T>&&)’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:845: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In member function ‘v8::Global<T>& v8::Global<T>::operator=(v8::Global<S>&&)’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:857: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: At global scope:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:882: error: expected unqualified-id before ‘using’
/home/intense/.node-gyp/6.11.2/include/node/v8.h:1119: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h:1125: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In member function ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:3279: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: At global scope:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:4499: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h:4515: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In member function ‘v8::Local<T> v8::MaybeLocal<T>::ToLocalChecked()’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:7539: error: ‘nullptr’ was not declared in this scope
In file included from ../src/cryptonote_core/cryptonote_basic.h:16,
                 from ../src/main.cc:8:
../src/serialization/binary_archive.h: At global scope:
../src/serialization/binary_archive.h:18: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
../src/serialization/binary_archive.h:169: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
In file included from ../src/contrib/epee/include/misc_log_ex.h:54,
                 from ../src/contrib/epee/include/serialization/keyvalue_serialization.h:31,
                 from ../src/cryptonote_core/cryptonote_basic.h:20,
                 from ../src/main.cc:8:
../src/contrib/epee/include/string_tools.h:184: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
../src/contrib/epee/include/string_tools.h:185: warning: unknown option after ‘#pragma GCC diagnostic’ kind
../src/contrib/epee/include/string_tools.h: In function ‘bool epee::string_tools::get_xtype_from_string(XType&, const std::string&)’:
../src/contrib/epee/include/string_tools.h:191: error: expected initializer before ‘:’ token
../src/contrib/epee/include/string_tools.h:196: error: expected primary-expression before ‘}’ token
../src/contrib/epee/include/string_tools.h:196: error: expected ‘;’ before ‘}’ token
../src/contrib/epee/include/string_tools.h:196: error: expected primary-expression before ‘}’ token
../src/contrib/epee/include/string_tools.h:196: error: expected ‘)’ before ‘}’ token
../src/contrib/epee/include/string_tools.h:196: error: expected primary-expression before ‘}’ token
../src/contrib/epee/include/string_tools.h:196: error: expected ‘;’ before ‘}’ token
../src/contrib/epee/include/string_tools.h: At global scope:
../src/contrib/epee/include/string_tools.h:215: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
In file included from ../src/contrib/epee/include/misc_log_ex.h:55,
                 from ../src/contrib/epee/include/serialization/keyvalue_serialization.h:31,
                 from ../src/cryptonote_core/cryptonote_basic.h:20,
                 from ../src/main.cc:8:
../src/contrib/epee/include/time_helper.h: In function ‘std::string epee::misc_utils::get_time_str(const time_t&)’:
../src/contrib/epee/include/time_helper.h:62: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h:65: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h: In function ‘std::string epee::misc_utils::get_time_str_v2(const time_t&)’:
../src/contrib/epee/include/time_helper.h:84: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h:87: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h: In function ‘std::string epee::misc_utils::get_internet_time_str(const time_t&)’:
../src/contrib/epee/include/time_helper.h:112: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h:115: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h: In function ‘std::string epee::misc_utils::get_time_interval_string(const time_t&)’:
../src/contrib/epee/include/time_helper.h:124: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h:133: error: #pragma GCC diagnostic not allowed inside functions
In file included from ../src/contrib/epee/include/serialization/keyvalue_serialization.h:31,
                 from ../src/cryptonote_core/cryptonote_basic.h:20,
                 from ../src/main.cc:8:
../src/contrib/epee/include/misc_log_ex.h: In function ‘bool epee::log_space::is_stdout_a_tty()’:
../src/contrib/epee/include/misc_log_ex.h:205: error: expected initializer before ‘<’ token
../src/contrib/epee/include/misc_log_ex.h:206: error: expected initializer before ‘<’ token
../src/contrib/epee/include/misc_log_ex.h:208: error: ‘initialized’ was not declared in this scope
../src/contrib/epee/include/misc_log_ex.h:208: error: ‘memory_order_acquire’ is not a member of ‘std’
../src/contrib/epee/include/misc_log_ex.h:213: error: ‘is_a_tty’ was not declared in this scope
../src/contrib/epee/include/misc_log_ex.h:213: error: ‘memory_order_relaxed’ is not a member of ‘std’
../src/contrib/epee/include/misc_log_ex.h:215: error: ‘memory_order_release’ is not a member of ‘std’
../src/contrib/epee/include/misc_log_ex.h:218: error: ‘is_a_tty’ was not declared in this scope
../src/contrib/epee/include/misc_log_ex.h:218: error: ‘memory_order_relaxed’ is not a member of ‘std’
In file included from ../src/contrib/epee/include/serialization/keyvalue_serialization.h:31,
                 from ../src/cryptonote_core/cryptonote_basic.h:20,
                 from ../src/main.cc:8:
../src/contrib/epee/include/misc_log_ex.h: At global scope:
../src/contrib/epee/include/misc_log_ex.h:980: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
../src/contrib/epee/include/misc_log_ex.h:981: warning: unknown option after ‘#pragma GCC diagnostic’ kind
../src/contrib/epee/include/misc_log_ex.h:989: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
In file included from ../src/contrib/epee/include/serialization/keyvalue_serialization.h:33,
                 from ../src/cryptonote_core/cryptonote_basic.h:20,
                 from ../src/main.cc:8:
../src/contrib/epee/include/serialization/keyvalue_serialization_overloads.h: In function ‘bool epee::serialization::serialize_stl_container_t_obj(const stl_container&, t_storage&, typename t_storage::hsection, const char*)’:
../src/contrib/epee/include/serialization/keyvalue_serialization_overloads.h:167: error: ‘nullptr’ was not declared in this scope
../src/contrib/epee/include/serialization/keyvalue_serialization_overloads.h: In function ‘bool epee::serialization::unserialize_stl_container_t_obj(stl_container&, t_storage&, typename t_storage::hsection, const char*)’:
../src/contrib/epee/include/serialization/keyvalue_serialization_overloads.h:186: error: ‘nullptr’ was not declared in this scope
In file included from ../src/main.cc:8:
../src/cryptonote_core/cryptonote_basic.h: In static member function ‘static size_t cryptonote::transaction::get_signature_size(const cryptonote::txin_v&)’:
../src/cryptonote_core/cryptonote_basic.h:312: error: no matching function for call to ‘apply_visitor(cryptonote::transaction::get_signature_size(const cryptonote::txin_v&)::txin_signature_size_visitor, const boost::variant<cryptonote::txin_gen, cryptonote::txin_to_script, cryptonote::txin_to_scripthash, cryptonote::txin_to_key, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>&)’
../src/cryptonote_core/cryptonote_basic.h: In static member function ‘static size_t cryptonote::bb_transaction::get_signature_size(const cryptonote::txin_v&)’:
../src/cryptonote_core/cryptonote_basic.h:349: error: no matching function for call to ‘apply_visitor(cryptonote::bb_transaction::get_signature_size(const cryptonote::txin_v&)::txin_signature_size_visitor, const boost::variant<cryptonote::txin_gen, cryptonote::txin_to_script, cryptonote::txin_to_scripthash, cryptonote::txin_to_key, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>&)’
In file included from ../src/main.cc:8:
../src/cryptonote_core/cryptonote_basic.h: At global scope:
../src/cryptonote_core/cryptonote_basic.h:544: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/cryptonote_basic.h:544: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/cryptonote_basic.h:544: error: ‘nullptr’ was not declared in this scope
In file included from ../src/cryptonote_core/cryptonote_format_utils.h:6,
                 from ../src/main.cc:9:
../src/cryptonote_protocol/cryptonote_protocol_defs.h:25: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:25: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:25: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:45: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:45: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:45: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:64: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:64: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:64: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:81: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:81: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:81: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:99: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:99: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:99: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:114: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:114: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:114: error: ‘nullptr’ was not declared in this scope
In file included from ../src/cryptonote_core/cryptonote_format_utils.h:6,
                 from ../src/main.cc:9:
../src/cryptonote_protocol/cryptonote_protocol_defs.h:128: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:128: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:128: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:144: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:144: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:144: error: ‘nullptr’ was not declared in this scope
In file included from ../src/cryptonote_core/cryptonote_format_utils.h:9,
                 from ../src/main.cc:9:
../src/cryptonote_core/account.h:20: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/account.h:20: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/account.h:20: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/account.h:51: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/account.h:51: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/account.h:51: error: ‘nullptr’ was not declared in this scope
In file included from ../src/main.cc:9:
../src/cryptonote_core/cryptonote_format_utils.h: In function ‘bool cryptonote::find_tx_extra_field_by_type(const std::vector<boost::variant<cryptonote::tx_extra_padding, cryptonote::tx_extra_pub_key, cryptonote::tx_extra_nonce, cryptonote::tx_extra_merge_mining_tag, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, std::allocator<boost::variant<cryptonote::tx_extra_padding, cryptonote::tx_extra_pub_key, cryptonote::tx_extra_nonce, cryptonote::tx_extra_merge_mining_tag, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> > >&, T&)’:
../src/cryptonote_core/cryptonote_format_utils.h:50: error: expected primary-expression before ‘[’ token
../src/cryptonote_core/cryptonote_format_utils.h:50: error: expected primary-expression before ‘]’ token
../src/cryptonote_core/cryptonote_format_utils.h:50: error: expected primary-expression before ‘const’
../src/cryptonote_core/cryptonote_format_utils.h:50: error: unable to deduce ‘auto’ from ‘std::find_if(tx_extra_fields->std::vector<_Tp, _Alloc>::begin [with _Tp = boost::variant<cryptonote::tx_extra_padding, cryptonote::tx_extra_pub_key, cryptonote::tx_extra_nonce, cryptonote::tx_extra_merge_mining_tag, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, _Alloc = std::allocator<boost::variant<cryptonote::tx_extra_padding, cryptonote::tx_extra_pub_key, cryptonote::tx_extra_nonce, cryptonote::tx_extra_merge_mining_tag, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> >](), tx_extra_fields->std::vector<_Tp, _Alloc>::end [with _Tp = boost::variant<cryptonote::tx_extra_padding, cryptonote::tx_extra_pub_key, cryptonote::tx_extra_nonce, cryptonote::tx_extra_merge_mining_tag, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, _Alloc = std::allocator<boost::variant<cryptonote::tx_extra_padding, cryptonote::tx_extra_pub_key, cryptonote::tx_extra_nonce, cryptonote::tx_extra_merge_mining_tag, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> >](), <expression error>)’
../src/main.cc: At global scope:
../src/main.cc:20: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/main.cc:80: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/main.cc:51: warning: ‘bool mergeBlocks(const cryptonote::block&, cryptonote::block&, const std::vector<crypto::hash, std::allocator<crypto::hash> >&)’ defined but not used
../src/main.cc:68: warning: ‘bool construct_parent_block(const cryptonote::block&, cryptonote::block&)’ defined but not used
make: *** [Release/obj.target/cryptonote/src/main.o] Error 1
make: Leaving directory `/home/intense/pool/node_modules/cryptonote-util/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/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 2.6.32-696.3.2.el6.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/intense/pool/node_modules/cryptonote-util
gyp ERR! node -v v6.11.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
[email protected] /home/intense/pool
└── [email protected]  (git://github.com/fancoder/node-multi-hashing.git#ec00b7429b668b3366d80a8fa85e9c22b4792d70)

npm ERR! Linux 2.6.32-696.3.2.el6.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "update"
npm ERR! node v6.11.2
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 cryptonote-util 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 cryptonote-util
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls cryptonote-util
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/intense/pool/npm-debug.log
[intense@server1 pool]$ npm owner ls cryptonote-util
npm ERR! owner ls Couldn't get owner data cryptonote-util
npm ERR! Linux 2.6.32-696.3.2.el6.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "owner" "ls" "cryptonote-util"
npm ERR! node v6.11.2
npm ERR! npm  v3.10.10
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/cryptonote-util
npm ERR! 404
npm ERR! 404  'cryptonote-util' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/intense/pool/npm-debug.log
[intense@server1 pool]$ npm bugs cryptonote-util
npm ERR! Linux 2.6.32-696.3.2.el6.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "bugs" "cryptonote-util"
npm ERR! node v6.11.2
npm ERR! npm  v3.10.10
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/cryptonote-util
npm ERR! 404
npm ERR! 404  'cryptonote-util' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/intense/pool/npm-debug.log

Payments failed to send

I'm having a problem running the node init.js shows the following error:
Error with transfer RPC request to wallet daemon {"code":-4,"message":"Bad address"}
2017-07-15 09:09:34 Payments failed to send to {"amount":2846390000000000,"address":"EEbABh85ww8R6sxiiRZDHD9AyaE88uS2sX7BoxpyGbDZiXf3A2Hfebf4YMr2qGEV77EqjduegzhCFKKpG5cRv66U811hMQh"}

At first everything worked fine. Mining pool issued payments normally. Then, for some reason, ceased to do. Tell me please in what the problem?

hello!!

hi, how can I contact you?

TypeError: Cannot set property '3' of undefined

015-10-06 12:17:08 [master] API died, spawning replacement...
2015-10-06 12:17:10 [pool](Thread 1) New block to mine at height 770528 w/ difficulty of 718962252
2015-10-06 12:17:10 [api] API started & listening on port 8117
2015-10-06 12:17:10 [api] Stat collection finished: 27 ms redis, 30 ms daemon
2015-10-06 12:17:10 [api] Broadcasting to 1 visitors and 0 address lookups

TypeError: Cannot set property '3' of undefined
at collectStats as _onTimeout
at Timer.listOnTimeout as ontimeout

2015-10-06 12:17:15 [master] API died, spawning replacement...

the line is the rediscommands line in

var windowTime = (((Date.now() / 1000) - config.api.hashrateWindow) | 0).toString();
redisCommands[0][3] = '(' + windowTime;

Cannot read property 'pool' of undefined

TypeError: Cannot read property 'pool' of undefined
at /var/www/pool/lib/charts.js:154:30
at IncomingMessage. (/var/www/pool/lib/apiInterfaces.js:31:17)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)

any help?

Payments issue - Wrong amount

Hello.
I've setted up a pool and everything is working fine but payments to miners saying "Wrong amount" on looger.-
The currency parameters are:

  • 8 decimals (min units per coin)
  • the max coin emmited are cryptonote "standard" ((uint64_t)(-1))

2017-07-03 10:26:09 [payments] Error with transfer RPC request to wallet daemon {"code":-4,"message":"Wrong amount"}
2017-07-03 10:26:09 [payments] Payments failed to send to {"amount":241362000000000,"address":"auc146AdaMKeXpQHyX3UeFBqZYM2nqw12eKGUuXAJ1b6K8k4XbYMeRDTCWowNPwai4VEyWM2onLQkdoryRsKaoG35hB8wscNaJ"}
2017-07-03 10:26:09 [payments] Payments splintered and 0 successfully sent, 1 failed

I think it is something related to ./lib/paymentProcessor.js but I don't think where to find exactly.

Could you please lend me a hand?

Error: Failed to parse block

Help to understand the problem, when connecting to the pool, the miner issues an error

Error: Failed to parse block
at Object.BlockTemplate.nextBlob (/home/USER/fork/lib/pool.js:128:23)
at Object.Miner.getJob (/home/USER/fork/lib/pool.js:302:41)
at handleMinerMethod (/home/USER/fork/lib/pool.js:531:28)
at handleMessage (/home/USER/fork/lib/pool.js:660:13)
at Socket.socket.on.on.on.pushMessage (/home/USER/fork/lib/pool.js:714:25)
at Socket.emit (events.js:95:17)
at Socket. (stream_readable.js:765:14)
at Socket.emit (events.js:92:17)
at emitReadable (_stream_readable.js:427:10)
at emitReadable (_stream_readable.js:423:5)

2017-06-07 07:28:44 [master] Pool fork 1 died, spawning replacement worker...

wensit url

I have a low level problem.
I would like to build a pool of cryptonote, I have started the background program and can normally receive the shares. But I can not access my mine through a browser.
But I will not configure the website url address, can you tell me where to add the address or port?
Do i have only one IP address, do I need a domain name? Use ip address can be achieved.
Or who can have other contact information to help me?
PM me thanks~~
crypt

Failed to parse block

The console print 'startum_recv_line failed...' when i start cryptonote miner on my pc.
this is error msg print pool console:
Error: Failed to parse block
at Object.BlockTemplate.nextBlob (/data/src/cryptonote-universal-pool/lib/pool.js:120:23)
at Object.Miner.getJob (/data/src/cryptonote-universal-pool/lib/pool.js:297:41)
at handleMinerMethod (/data/src/cryptonote-universal-pool/lib/pool.js:492:28)
at handleMessage (/data/src/cryptonote-universal-pool/lib/pool.js:606:13)
at Socket.socket.on.on.on.pushMessage (/data/src/cryptonote-universal-pool/lib/pool.js:660:25)
at Socket.EventEmitter.emit (events.js:95:17)
at Socket. (stream_readable.js:746:14)
at Socket.EventEmitter.emit (events.js:92:17)
at emitReadable
(_stream_readable.js:408:10)
at emitReadable (_stream_readable.js:404:5)

what's wrong? Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.