Commit Graph

26 Commits

Author SHA1 Message Date
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
Matthew Little
69feb04da1 Convert diff dividend to bignum only on init. 2014-02-21 23:09:02 -07:00
bart-is
b2f4596f1c Fixed calculating user share target by using bignum 2014-02-21 23:38:15 +00:00
Andrea Baccega
969292c111 Removed debuglogging
Moved the difficultyChanged code
2014-02-20 01:04:04 +01: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
Andrea Baccega
04ddb472ee Fixed nTime check. We were comparing the nTime(hex) with an int. So string comparison were going on! 2014-02-20 00:09:15 +01:00
Matt
96cfc412a8 Added random or configurable instance ID 2014-02-19 15:53:36 -07:00
Matt
d6b99ba0d9 Added X11-hashing for DarkCoin 2014-02-19 14:59:39 -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
Matt
3e77791509 Another fix for serializing height in coinbase. and removed old code 2014-02-18 14:27:48 -07:00
Matt
9edaa33c8b Fix for counter 2014-02-18 13:55:45 -07:00
Matt
028321a248 Fix for counter 2014-02-18 13:55:09 -07:00
Matt
880c9d06a8 Fix for counter 2014-02-18 13:53:31 -07:00
Matt
d0953c4196 Removed binpack as dependency. Possible fix with invalid height in coinbase problem. 2014-02-18 13:35:23 -07: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
Matt
4691df0dc5 Added POS and transaction comment support 2014-02-13 13:59:47 -07:00
Matthew Little
1205706ca0 vardiff bug fixes 2014-01-16 12:17:48 -07:00
Matthew Little
08e16cfb28 some comments 2014-01-16 10:05:44 -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