Commit Graph

67 Commits

Author SHA1 Message Date
Matt
c8355ea211 Prettier log messages on init 2014-03-26 23:25:56 -06:00
Matt
b05f7689f3 Restructured pool object - much cleaner and easier to follow flow. 2014-03-26 22:41:25 -06:00
Matt
5b849dce59 Updated some git naming info 2014-03-26 20:13:25 -06:00
Matthew Little
41b121ab56 Fixed bugs that happen when banning is disabled. Attempted to add keccak (maxcoin). 2014-03-26 15:07:03 -06:00
Matt
1ae82cb21b Fixed difficulty not being correct for anything not scrypt. Fixed maxDiff for x11 hash. 2014-03-25 15:52:45 -06:00
Matt
57d2f02b28 Show progress is module was spawned without forkid 2014-03-23 22:24:57 -06:00
Matt
ffc01054c6 Added fixes for POS. And when getblocktemplate fails because its out of sync then it shows syncing progress :) 2014-03-23 22:22:01 -06:00
Matt
32dc22944e Better logging 2014-03-23 00:16:22 -06:00
Matt
b965b2d61d Another fix where vardiff was breaking things 2014-03-20 12:20:08 -06:00
Matt
b2052b6fbd Fixed vardiff (thanks pokecheck) 2014-03-20 01:24:13 -06:00
Matt
ed75a50d11 Do not depend on getmininginfo to see network diff 2014-03-19 15:20:06 -06:00
Matt
50c8fb7c1b Added txRefreshInterval 2014-03-19 14:52:27 -06:00
Matt
98d3dcc532 Added log error for socket error 2014-03-15 17:50:10 -06:00
Matt
5fd4097ce6 Removed console.logs not needed 2014-03-14 17:50:11 -06:00
Matt
b85f78ef09 Fixed tx was removed during merge 2014-03-14 17:37:10 -06: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
43aa152c85 Added worker banning feature and updated readme 2014-03-06 13:46:16 -07:00
Matt
7dbcc4f863 Updated readme desc 2014-03-06 01:50:43 -07:00
Matt
98e57a1712 Removed innaccurate log message 2014-03-04 01:34: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
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
c81d9c463a Refactored configuration options to preparation for portal software 2014-02-27 16:59:32 -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
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
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