node-stratum-pool/example
Andrea Baccega a42fe87723 Added todolist
code cleanup
Added jobManager.blockHashHex which should generate the expected block hash but it seems to not work properly
Moved check for the share difficulty after the block check since it's useless to make the check there.
Changed emit event from client to client.connected and added client.disconnected
Changed share emit data. Now we pass the client instance to everyone listening to the share event.
Added mining.get_transaction to the handled events of stratumclient. It looks like bfgminer uses this.
changed StratumClient.sendDifficulty to StratumCLient.sendAndSetDifficulty which will also perform a check on the given difficulty and broadcasts the sendDifficulty message to the client Only if the new difficulty is different from the previous one.
Code cleanup and comments
2014-01-13 16:17:38 +01:00
..
coins When clients disconnect new emit + memory clean up 2014-01-13 11:06:43 +01:00
config.json Refactored folder structure to better match node module standard structure. 2014-01-12 21:11:20 +01:00
init.js Added todolist 2014-01-13 16:17:38 +01:00
shareManager.js Added todolist 2014-01-13 16:17:38 +01:00