dvandal / cryptonote-nodejs-pool Goto Github PK
View Code? Open in Web Editor NEWMining pool for all CryptoNote based coins using Cryptonight, Cryptonight Light and Cryptonight Heavy algorithms
License: GNU General Public License v2.0
Mining pool for all CryptoNote based coins using Cryptonight, Cryptonight Light and Cryptonight Heavy algorithms
License: GNU General Public License v2.0
Hello dvandal,
Which coin needs monerovariant options true or false?
Sorry for posting much hehe but is there any settings I'll have to make on the Telegram bot using their website such as /setcommands to get the commands to work? Or should this bot do that by it self?
Now the interval is working fine updating the pool statistics, but the commands does not? /stats, /enable and /disable doesn't seem to work?
No errors, nothing.
Hello Dvandal,
Can you add discord webhook api for blocks, payments?
Thank You.
On a fresh IPBC pool setup, i can this error in pool log once a miner will conntect to the pool:
Error: Failed to parse block
at Error (native)
at Object.nextBlob (/home/pool/pool/lib/pool.js:177:23)
at Object.getJob (/home/pool/pool/lib/pool.js:346:41)
at handleMinerMethod (/home/pool/pool/lib/pool.js:651:28)
at handleMessage (/home/pool/pool/lib/pool.js:789:13)
at Socket. (/home/pool/pool/lib/pool.js:843:25)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
I instal your pool. Download sumokoin.json and run pool.
I use srb miner 1.4.3 - it work good!
But,
If I use "cryptonight_type" : "normal" (old cryptonight) - Pool accepted result
If I use "cryptonight_type" : "heavy" - Pool rejected result 0x000100B3 (low difficulty share)
What's problem?
Thx!
Just wondering what payment system this pool is, I can't find documentation.
Hello Dvandal,
Our api page doesnt show workers information.
My Test Pool: https://images2.imgbox.com/45/e9/mUuSWLPb_o.png
Others Pool: https://images2.imgbox.com/98/7d/psaUAAPW_o.png
How we can add workers data to api?
Sorry for bad english.
Thank You.
npm ERR! git clone git://github.com/dvandal/node-multi-hashing.git Cloning into bare repository '/pinkstar/.npm/_git-remotes/git-github-com-dvandal-node-multi-hashing-git-d0610969'...
npm ERR! git clone git://github.com/dvandal/node-multi-hashing.git fatal: unable to connect to github.com:
npm ERR! git clone git://github.com/dvandal/node-multi-hashing.git github.com[0: 192.30.253.112]: errno=Connection refused
npm ERR! git clone git://github.com/dvandal/node-multi-hashing.git github.com[1: 192.30.253.113]: errno=Connection refused
npm ERR! git clone git://github.com/dvandal/node-cryptonote-util Cloning into bare repository '/pinkstar/.npm/_git-remotes/git-github-com-dvandal-node-cryptonote-util-b8547a6e'...
npm ERR! git clone git://github.com/dvandal/node-cryptonote-util fatal: unable to connect to github.com:
npm ERR! git clone git://github.com/dvandal/node-cryptonote-util github.com[0: 192.30.253.112]: errno=Connection refused
npm ERR! git clone git://github.com/dvandal/node-cryptonote-util github.com[1: 192.30.253.113]: errno=Connection refused
Hello dvandal,
My blocks and all payments data is gone when i restart my server. This is problem or i mistake something?
Hi, would you pls help me to config for IPBC?
Idk how to do that
Thanks
2018-04-13 16:15:46 [master] Pool fork 4 died, spawning replacement worker...
Error: Symbol cryptonight_hashing_module not found.
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 bindings (/pools/xtl/node_modules/cryptonight-hashing/node_modules/bindings/bindings.js:81:44)
at Object. (/pools/xtl/node_modules/cryptonight-hashing/index.js:1:99)
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)
Can you confirm if this is
PPLNS
PROP
PPL
RBPPS
Running these command with a properly configuration file
npm update
node init.js
module.js:356
Module._extensions[extension](this, filename);
^
Error: /home/user/pool/cryptonote-nodejs-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.<anonymous> (/home/user/pool/cryptonote-nodejs-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)
2018-03-07 12:37:56 [master] Pool fork 1 died, spawning replacement worker...
These are the node-modules installed
async base58-native bignum cli-color cryptonote-util dateformat mailgun.js multi-hashing nodemailer nodemailer-sendmail-transport node-pre-gyp redis
Unfortunatly i'm going into this issue.
node v4.8.7
npm v2.15.11
Not sure what if anything is wrong, but the Hash Rate, Difficulty, and Workers won't update beyond the original day from the pool start. That would be 5/1/2018 because I updated to 1.3.0 yesterday.
Hi.
Where I can see wallet and daemon ports for INTS?
"daemon": {
"host": "127.0.0.1",
"port": ???
},
"wallet": {
"host": "127.0.0.1",
"port": ???
},
make: *** [Release/obj.target/multihashing/cn_heavy/cn_slow_hash_hard_intel.o] Error 1
make: Leaving directory /pinkstar/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 (/pinkstar/.nvm/versions/node/v4.8.7/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:12)
gyp ERR! System Linux 3.13.0-139-generic
gyp ERR! command "/pinkstar/.nvm/versions/node/v4.8.7/bin/node" "/pinkstar/.nvm/versions/node/v4.8.7/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /pinkstar/pool/node_modules/multi-hashing
gyp ERR! node -v v4.8.7
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Linux 3.13.0-139-generic
npm ERR! argv "/pinkstar/.nvm/versions/node/v4.8.7/bin/node" "/pinkstar/.nvm/versions/node/v4.8.7/bin/npm" "update"
npm ERR! node v4.8.7
npm ERR! npm v2.15.11
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 multi-hashing 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 multi-hashing
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls multi-hashing
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /pinkstar/pool/npm-debug.log
"coin": "dero",
"symbol": "DERO",
"coinUnits": 1000000000000,
"coinDifficultyTarget": 120,
"cnVariant": null,
You can add an example, the pool has earned
http://dero.minexmr24.ru
internal/modules/cjs/loader.js:683
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: Module did not self-register.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:683:18)
at Module.load (internal/modules/cjs/loader.js:566:32)
at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
at Function.Module._load (internal/modules/cjs/loader.js:498:3)
at Module.require (internal/modules/cjs/loader.js:598:17)
at require (internal/modules/cjs/helpers.js:11:18)
Could you add something like this bar graph?
http://krb.hashgang.io/blocks
https://minexmr.com/#pool_blocks
Hi, love the pool and the front end. Well done dude \o/
I have followed your install notes, but I get an error with pool.js, well, that's what it looks like to me. I have attached some screenshots for you to view
I am 60 years old housebound and look to run my own pool, for fun and something to do. Sorry for the noob here, I am new to all this mining pool stuff but not mining!!
User list don't show any user
I'm working to fix issues with integrated addresses validations, if possible please provides me for the different coins a normal address and an integrated address so that I can test each different cases. Thanks!
If you start monerod, then start init.js, everything works great.
But if you start init.js then start monerod, the pool server ports (ie 3333 5555 8888 etc) never recover and never open.
So it seems theres a race condition between monerod and init.js starting
Hello dvandal,
I think this guys fixed parse block error.
sebseb7/node-cryptonote-util@d63dea1
Can you update your code with this?
Thank You.
โ2018-03-03 22:54:04.240 [RPC0] ERROR net.dns src/common/dns_utils.cpp:407 wrong address: G6VA4BGzR5r6tFfXxJMu5xVThXfsNPDTt1aSLJssv59Q1Nqvf23j7XHNybUy4e7jGT9g3Ga4FhuCJJV45nwnehXyPeyYM5t+gaming_pc
It seems to be appending the workers name for payment, anyone know how I can fix it ?
Please update with ITNS support, would be great!
Cheers!
Could you integrate block explorer?
That will be nice - one package for all.
Having issues that the Telegram bot only posts the Pool Stats when I start the pool, it sends it one time and doesn't send it again after 5 minutes, any ideas?
The test in Admin panel works perfectly.
config:
"channelStats": {
"enabled": true,
"interval": 5
},
OK, so after a week of banging my head against my desk I think I have figured out my issue. I am currently running the same run of the mill forknote pool and I find it boring. I LOVE this one. I can get this pool up and running beautifully with Masari.
But here is my issue, I own and host my own server. It's a dual Xeon server board, 12 core 24 thread 48gb ecc ram beast, in my house with my ISP blocking port 80. So I go to apache/nginx and change the listening port to 8090. With the other forknote pool, no problem, works perfectly. With nodejs-pool, the webpage loads, but none of the stats or anything work. I've changed the config.js to reflect the proper localhost:8090. So what else do I need change in order for the webpages to populate correctly?
I just git pulled the latest and did a npm update
and ran node init.js
and got the following error. I'm running v0.10.48
of node. Any thoughts?
/srv/cryptonote-nodejs-pool/node_modules/mailgun.js/lib/client.js:18
class Client {
^^^^^
SyntaxError: Unexpected reserved word
at Module._compile (module.js:439:25)
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)
at require (module.js:380:17)
at Object.<anonymous> (/srv/cryptonote-nodejs-pool/node_modules/mailgun.js/index.js:5:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
Hai,
Is it possible to add multiple stratum nodes as leaf nodes to this pool?
Api down every 5 minutes. I tried this #9 but nothing. Help
Hi, could you please build a new version to support integrate address like DERO wallet
in https://stocks.exchange
this is wallet from stocks.exchange:
dERimZr1Af9CjQCCUTZQakNLqgDPQCnMfUdTH5fLWoBAg3JnU79jNkFarUVGqwJc6R5NW2qLE5iuocmSHgQWgHop47bTJCr1LvK7Bf2A78pJU
With the latest update the pool name in the top left corner gets over written.
This is what happens with the live version: (wrong)
This is what happens with the non-live version: (right)
I can't for the life of me figure out where the setting is to stop it from being overwritten. I even setup a 100% fresh VM thinking my live pool was the problem, but even the brand new setup does the same thing.
Any ideas?
How can I know which "intAddressPrefix": is used for each coin?
Hi. Network hash rate and Last Hash is not update on my pool! http://intense.rocketpool.pro
Why? Thx
API module crashes when users opens workers stats on pool few times.
<--- Last few GCs --->
96629 ms: Scavenge 1401.4 (1456.9) -> 1401.4 (1456.9) MB, 61.6 / 0 ms (+ 46.5 ms in 1 steps since last GC) [allocation failure] [incremental marking delaying mark-sweep].
101854 ms: Mark-sweep 1401.4 (1456.9) -> 1397.5 (1452.9) MB, 5224.7 / 0 ms (+ 415.0 ms in 805 steps since start of marking, biggest step 46.5 ms) [last resort gc].
106600 ms: Mark-sweep 1397.5 (1452.9) -> 1397.3 (1456.9) MB, 4745.6 / 0 ms [last resort gc].
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x12b6e1137399
1: convertPaymentsDataToChart(aka convertPaymentsDataToChart) [/var/www/pool/cryptonote-nodejs-pool/lib/charts.js:~39] [pc=0x227cba999ce7] (this=0x12b6e1104131 ,paymentsData=0x128f76e4e781 <JS Array[60]>)
2: /* anonymous /(aka / anonymous */) [/var/www/pool/cryptonote-nodejs-pool/lib/charts.js:59] [pc=0x227cba93742c] (this=0x12b6e1104131 ,callback=0x2b0625e80b71 ...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
2018-03-20 13:43:21 [master] API died, spawning replacement...
2018-03-20 13:43:21 [charts] Unable to get API data for stats: Error: read ECONNRESET
2018-03-20 13:43:21 [charts] Unable to get API data for stats: Error: read ECONNRESET
Hi
I made a pool on the script - http://sup.minexmr24.ru
I found several blocks, but they are all empty and in http://superior-coin.info:8081/block/9cc98badf40a2688b9b30f9b0592568200e7701c4d15c18c25cb01462d09f432 there are no such blocks
Pool-Found Blocks
Cant get block <5ee6c6bc7ff7c6d6d859f60673ff88e7d620f8928a9f3689db2491d0ef52f07a> for some uknown reason
Cant get block <22d9607c400dbf40961f6de480063451e56be2bb14e4eadb78e510ddadf9896a> for some uknown reason
Cant get block <164e991edc5336ad89f06cc1ea5519dc22f31936fb31170e7ebf57047f56a63e> for some uknown reason
Cant get block <9cc98badf40a2688b9b30f9b0592568200e7701c4d15c18c25cb01462d09f432> for some uknown reason
What could be the problem ?
I have deployed this pool for use with Intensecoin - using variant 1 initially, and using the V4 forked daemon. It worked fine for almost a day , when it started rejected miners shares and BAD. Restarting all components did not solve the issue - but changing the variant back to 0 and restarting the pool did. Shares accepted - but not sure it will be able to submit a solved block.
Any ideas - anyone else seeing this ?
Hi,
I want to use your pool for TurtleCoin.
That coin is forked to algo CryptoNight Lite V1.
Is it possible to use it with your software?
At the moment I am using cryptonote-forknote-pool and thats working fine.
With your pool I am getting:
Error: Failed to parse block
at BlockTemplate.nextBlob (/home/trtlpool/pool/lib/pool.js:171:23)
at Miner.getJob (/home/trtlpool/pool/lib/pool.js:341:41)
at handleMinerMethod (/home/trtlpool/pool/lib/pool.js:687:28)
at handleMessage (/home/trtlpool/pool/lib/pool.js:825:13)
at Socket. (/home/trtlpool/pool/lib/pool.js:879:25)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:246:13)
at Socket.Readable.push (_stream_readable.js:208:10)
Hi, I have a problem with cookies when using ETN.
Every time I delete my cookies, the website is updated there. Is there an entry for the Config.json or an optimal template? To customize the cookies or cookieprefix. Or are these inserted in another file?
Many Thanks
Good evening.
Is it expected to support other coins, for example Alloy, Plura
Is it expected to support the localization of the interface, I can help with translating into Russian.
"coin": "intuCoin",
"symbol": "INTU",
"coinUnits": 100,
"coinDifficultyTarget": 120,
"cnVariant": null,
You can add an example, the pool has earned
http://intu.minexmr24.ru
Could you please function to summary payment as miner earned everyday?
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.