Commit Graph

37 Commits

Author SHA1 Message Date
Matt
b85f78ef09 Fixed tx was removed during merge 2014-03-14 17:37:10 -06:00
Matt
a4ba169300 Fixed typo in stratum.js 2014-03-14 16:25:35 -06:00
Andrea
bcad84af80 Fixed merging shit lol 2014-03-14 20:53:20 +00:00
Andrea
a4f302b526 Stuff for miners switch 2014-03-14 19:11:52 +00:00
Matt
585baf7b92 Added tx to share emit 2014-03-09 20:32:24 -06:00
Matt
4a088b19fc Fix for miners disconnecting. Jobs are broadcasted at least every 30 seconds. 2014-03-09 13:16:47 -06:00
Matt
f43a5833cf Added the gibberish mining.set_difficulty flag to subscription - needed by some miners 2014-03-06 15:55:10 -07:00
Matt
bd2de18dab Made ban purge interval a config 2014-03-06 14:27:23 -07:00
Matt
43aa152c85 Added worker banning feature and updated readme 2014-03-06 13:46:16 -07:00
Matt
56e1905bb3 connection timeout to ms 2014-03-06 01:52:24 -07:00
Matt
7dbcc4f863 Updated readme desc 2014-03-06 01:50:43 -07:00
Matt
78d2e9bb14 Bug fix with stratum auth 2014-03-04 13:24:24 -07:00
Matt
eaf8f99d30 Added support for multiple ports with their own diffs and vardiff 2014-03-03 22:54:20 -07:00
Andrea Baccega
1716d6d738 Fixes issue #17 . Damn semicolumn! 2014-03-03 22:16:10 +01:00
Andrea Baccega
db331a697c Fix issue #16
Fix issue #16
2014-03-03 09:38:22 +01:00
Andrea Baccega
1e3c47d527 Refactored handleAuthorize to accept a new parameter used to reply or not to the socket 2014-03-02 15:57:06 +01:00
Andrea Baccega
75dfeccd8c Added basic API + first draft of miner moving methods 2014-03-01 20:04:13 +01: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
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
b5da5857be Close socket on flooding detection 2014-02-20 16:32:13 -07:00
Matt
04ba84f185 Closes socket when receiving malformed messages from client. Node-stratum now passes 20k concurrent requests with apache benchmark test. 2014-02-20 15:49:43 -07: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
Matt
9d8255a620 Vardiff perfect fix 2014-02-19 16:07:25 -07:00
Matt
3e77791509 Another fix for serializing height in coinbase. and removed old code 2014-02-18 14:27:48 -07:00
Matt
d0953c4196 Removed binpack as dependency. Possible fix with invalid height in coinbase problem. 2014-02-18 13:35:23 -07:00
Matthew Little
d5fdc519e5 Added socket buffer flooding detection 2014-01-17 14:21:18 -07:00
Matthew Little
6cdc9214ac Added events for mpos compatibility 2014-01-16 17:21:23 -07:00
Matthew Little
08e16cfb28 some comments 2014-01-16 10:05:44 -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