Commit Graph

39 Commits

Author SHA1 Message Date
Matt
4bad017613 Added block/network difficulty to pool on share emitter 2014-02-27 01:26:43 -07:00
Matt
2d1b23ddb8 Minor logging improvements 2014-02-27 00:25:23 -07:00
Matt
0f38fd5549 Fixed bug where block was not being reported as found when it actually was 2014-02-26 22:56:47 -07:00
Matt
79c1a95b59 Switch vardiff.mode to safe by default. 2014-02-26 21:21:41 -07:00
Matt
5b0c39e840 Fix for broken block polling 2014-02-26 18:37:12 -07:00
Matt
2d3416a02f Added support for multiple daemons/rpc for redundancy when they occasionally die or drop out-of-sync 2014-02-26 18:16:18 -07:00
Matt
37ab36f776 Check for updates with block transactions 2014-02-25 14:19:11 -07:00
Matt
31d42f3f51 Began work on creating a peer node module for more efficient block notifications 2014-02-21 17:49:59 -07:00
Matt
422822ff14 Very miner code reformatting 2014-02-20 00:14:19 -07:00
Matt
a202be4976 Added log message for if running on testnet or live blockchain 2014-02-20 00:11:30 -07:00
Matt
c898ecd52c Updated some comments 2014-02-20 00:02:18 -07:00
Matt
2f4425a087 Updated readme setup options 2014-02-19 23:46:14 -07:00
Matt
1b7a0fd7ad vardiff mode 2014-02-19 17:26:20 -07:00
Andrea Baccega
3ed4e93b5f Refactored Matthew fix for vardiff.
Fixed .size() bug that was causing crash

Merge branch 'master' of https://github.com/zone117x/node-stratum

Conflicts:
	lib/jobManager.js
2014-02-20 00:45:32 +01:00
Matt
25df42692c Uses pendingDifficulty 2014-02-19 16:32:38 -07:00
Matt
9d8255a620 Vardiff perfect fix 2014-02-19 16:07:25 -07:00
Matt
c8553e63af Fixed duplicate shares on vardiff difficulty update. Added more comments. 2014-02-19 13:54:59 -07:00
Matt
0dcccbd56e Fixed duplicate shares on vardiff difficulty update. Added more comments. 2014-02-19 13:52:43 -07:00
Matt
897dadbf11 Fixed duplicate shares on vardiff difficulty update. Added more comments. 2014-02-19 13:46:17 -07:00
Andrea Baccega
3054616736 Fixed getdifficulty request to rpc
Fixed vardiff (currently not taking into account daemon difficulty since it looks like it's non-sense)
2014-02-19 01:15:30 +01:00
Andrea Baccega
bda4c57bd9 Fixed crash when running over a POS coin
Added emitLog for debugging the Block Submit
2014-02-14 12:03:25 +01:00
Andrea Baccega
e1c143de18 Merge branch 'master' of https://github.com/zone117x/node-stratum
Conflicts:
	lib/pool.js
2014-02-13 22:25:33 +01:00
Andrea Baccega
4fdd4fcf51 Fixed a couple of bugs that were preventing the thing to start in case of POS 2014-02-13 22:23:51 +01:00
Matt
6dde238374 Added POS and transaction comment support 2014-02-13 14:16:07 -07:00
Matthew Little
d5fdc519e5 Added socket buffer flooding detection 2014-01-17 14:21:18 -07:00
Matthew Little
d38b332f81 Better errors on init 2014-01-17 12:48:23 -07:00
Matthew Little
beff912825 Better errors on init 2014-01-17 12:41:35 -07:00
Matthew Little
6cdc9214ac Added events for mpos compatibility 2014-01-16 17:21:23 -07:00
Matthew Little
524e366dba Added pool.start() so log event can be hooked in time for initialization 2014-01-16 12:27:27 -07:00
Matthew Little
1205706ca0 vardiff bug fixes 2014-01-16 12:17:48 -07:00
Matthew Little
e1c24559f0 Added initial vardiff. Needs testing... 2014-01-15 21:54:41 -07:00
Matthew Little
cca1313430 Added initial vardiff. Needs testing... 2014-01-15 20:57:18 -07:00
Matthew Little
13b04ab509 Added initial vardiff. Needs testing... 2014-01-15 20:56:55 -07:00
Matthew Little
8e3b28cea3 Fixed up error handling for stratum socket 2014-01-15 17:52:05 -07:00
Matthew Little
e02b265d13 Added lots of comments, cleaned up a some code 2014-01-15 17:37:43 -07:00
Matthew Little
cb5d7c7bdc Add check for if submitblock was successful and refined the data emitted by onShare 2014-01-15 16:03:30 -07:00
Matthew Little
cbcaa1cf98 Added proper block hash to share solution. Added members to emitted share data. 2014-01-14 18:40:19 -07:00
Andrea Baccega
61db6d7ea4 Removed jobs object from jobManager since we only need one job! There's no need to keep the olders in memory.
Refactored, a bit, the emit log event introducing a key for every log message Current keys are:
 - 'client': for all the client related events
 - 'submitblock': dedicated only to events about the block submission!
 - 'system': all log events about the stratum pool
2014-01-14 14:32:30 +01:00
Matthew Little
cea68b771f Updated structure 2014-01-13 17:45:10 -07:00