Commit Graph

214 Commits

Author SHA1 Message Date
Andrea Baccega
75dfeccd8c Added basic API + first draft of miner moving methods 2014-03-01 20:04:13 +01:00
Matt
06e882d80e Moved blocknotify related code out of this repo into the portal repo where it is more appropriately used 2014-02-28 20:13:51 -07:00
Matt
16008d8559 Updated version for npm 2014-02-27 17:51:02 -07:00
Matt
c81d9c463a Refactored configuration options to preparation for portal software 2014-02-27 16:59:32 -07:00
Matt
b33d5f7941 Made network difficulty different than share difficulty - had accidently made them duplicate 2014-02-27 12:32:54 -07:00
Matt
b6c8039168 Fixed type rcpCommand -> rpcCommand lol 2014-02-27 11:40:50 -07:00
Matthew Little
d45c2fadc6 Merge pull request #13 from bricecarpentier/master
Fixed issue #12
2014-02-27 11:33:42 -07:00
Matt
6cc97aff5b Better error handling when dealing with multiple RPC daemons 2014-02-27 11:27:09 -07:00
Brice Carpentier
09e1c34192 Merge branch 'issue_012' 2014-02-27 10:28:52 +01:00
Brice Carpentier
eb8907e1a9 fixed #12 JobManager's newBlock event never gets emitted
The `init` function does not auto-execute anymore. It is instead added as a public member for `DaemonInterface` and called by `Pool.SetupDaemonInterface`.
2014-02-27 10:27:43 +01:00
Matt
16807d3226 Added more details for upcoming new hashing algos 2014-02-27 01:31:17 -07:00
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
57f8dc3ffa Add block height to data emitted on pool share 2014-02-26 21:34:04 -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
54ef804c05 Updated readme 2014-02-26 18:18:22 -07:00
Matt
fd974569be Fixed readme line overflow 2014-02-26 18:17:08 -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
Matthew Little
a8653e7357 Update README.md 2014-02-25 12:50:02 -07:00
Matthew Little
6d310ef968 Cleaner message stream reading 2014-02-22 21:13:14 -07:00
Matthew Little
47892ab6d8 Cleaner message stream reading 2014-02-22 20:52:11 -07:00
Matthew Little
0a6f05a067 Update peer.js
Added documentation for relay transaction flag.
2014-02-22 19:28:02 -07:00
Matthew Little
9bb998dc19 Update package.json 2014-02-22 13:17:54 -07:00
Matthew Little
8b25a85c3e Delete TODOLIST.md 2014-02-22 13:16:30 -07:00
Matthew Little
7a8adc80bd Update README.md 2014-02-22 12:52:01 -07:00
Matthew Little
94d6ba212e Update README.md 2014-02-22 12:43:29 -07:00
Matthew Little
69feb04da1 Convert diff dividend to bignum only on init. 2014-02-21 23:09:02 -07:00
Matthew Little
b26312cf73 Update README.md 2014-02-21 21:12:03 -07:00
Matthew Little
070d7c2f2a Merge pull request #7 from bart-is/master
Fixed calculating user share target by using bignum
2014-02-21 21:09:25 -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
bart-is
b2f4596f1c Fixed calculating user share target by using bignum 2014-02-21 23:38:15 +00: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
Matt
9a9726cd1d Updated readme description 2014-02-20 00:36:06 -07:00
Matt
ed8dd71386 Updated readme description 2014-02-20 00:32:09 -07:00
Matt
f7eaa561e2 Updated readme description 2014-02-20 00:30:21 -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
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
9d8255a620 Vardiff perfect fix 2014-02-19 16:07:25 -07:00
Matt
96cfc412a8 Added random or configurable instance ID 2014-02-19 15:53:36 -07:00