https://github.com/zone117x/node-cryptonote-poolStuff that is working:
- Share validation
- Node.js clustering for pool performance
- Variable difficulty
- Long polling
- Configurable pool difficulty and vardiff
- Detailed logging with configurable log levels (debug, warn, error) and colorful log styling
- Storing shares in redis per miner
- Storing hashrate data
- Submitting and recording solved blocks
- Misc. configurable options: worker timeouts, block polling interval, pool threads
- Documentation (installation and usage instructions)
Stuff that is left:
- Payment processor (checks for confirmed blocks then payouts according to shares)
- AJAX/REST API to display stats (hashrates, payouts, coin network info, etc)
- Light-weight front-end which uses API to display stats
The stuff left are the easy parts. ETA for all of the above is 24-48 hours of this point.
Feel free to test it out:
https://github.com/zone117x/node-cryptonote-pool#usage It seems to be working.
From miner:
2014-May-12 12:19:32.355083 Share found: nonce=14000000 for job=963732803333550, submitting...
2014-May-12 12:19:32.908114 READ ENDS: Success. bytes_tr: 196
2014-May-12 12:19:32.915115 -->>http_stream_filter::parse_cached_header(*)
2014-May-12 12:19:32.924115 <<--http_stream_filter::parse_cached_header(*)
2014-May-12 12:19:32.933116 Share submitted successfully!
2014-May-12 12:19:32.939116 Getting next job...
From pool:
2014-05-12 19:06:56 [Pool] (Thread 4) [Share Validator] Accepted share at difficulty 12/57 from 44MhE4hX58XE4vCEkTbjpsE1EZVW4oQSaAqfwAbo5PufaYMPCSSf2L72bNhMkYzqULKrniDRWt7KCJq
QmWVEzxEC4s5yZxz@24.21.52.962014-05-12 19:07:03 [Pool] (Thread 4) [Share Validator] Accepted share at difficulty 8/12 from 44MhE4hX58XE4vCEkTbjpsE1EZVW4oQSaAqfwAbo5PufaYMPCSSf2L72bNhMkYzqULKrniDRWt7KCJq
QmWVEzxEC4s5yZxz@24.21.52.962014-05-12 19:07:10 [Pool] (Thread 4) [Share Validator] Accepted share at difficulty 8/36 from 44MhE4hX58XE4vCEkTbjpsE1EZVW4oQSaAqfwAbo5PufaYMPCSSf2L72bNhMkYzqULKrniDRWt7KCJq
QmWVEzxEC4s5yZxz@24.21.52.962014-05-12 19:07:13 [Pool] (Thread 4) [Share Validator] Accepted share at difficulty 8/75 from 44MhE4hX58XE4vCEkTbjpsE1EZVW4oQSaAqfwAbo5PufaYMPCSSf2L72bNhMkYzqULKrniDRWt7KCJq
QmWVEzxEC4s5yZxz@24.21.52.962014-05-12 19:07:15 [Pool] (Thread 4) [Share Validator] Accepted share at difficulty 8/9 from 44MhE4hX58XE4vCEkTbjpsE1EZVW4oQSaAqfwAbo5PufaYMPCSSf2L72bNhMkYzqULKrniDRWt7KCJq
QmWVEzxEC4s5yZxz@24.21.52.962014-05-12 19:07:28 [Pool] (Thread 4) [Difficulty Retargeter] Retargetting difficulty 8 to 19 for 44MhE4hX58XE4vCEkTbjps
Now to point more miners and solve a block.