Commit Graph

353 Commits

Author SHA1 Message Date
Matt
50ffb00440 Removed concept of 'maxdiff' for different algos - replaced with "share multiplier" which is more accurate. Removed use of bignum for determining difficulty as JS number seem to be precise enough 2014-04-20 11:56:00 -06:00
Matthew Little
9a42211c38 Converted init coin info detection from RPC waterfall to batch RPC call. Added getblocktemplate after submitting block 2014-04-19 13:46:34 -06:00
Matthew Little
a9270f3782 Removed p2p from "under development" status in readme 2014-04-18 21:57:34 -06:00
Matthew Little
f1f8060134 Updated algo status in readme 2014-04-18 21:55:15 -06:00
Matthew Little
4b1bece6d8 Updated npm version number and added more credits for LucasJones 2014-04-18 21:46:30 -06:00
Matthew Little
8806aa8896 Fixed block hash generation for various algos 2014-04-18 21:41:55 -06:00
Matt
7b24ce543d Fixed share diff for quarkcoin (blocks submit successfully but NOMP does not detect them due to the block hash not being generated correctly) 2014-04-18 16:28:11 -06:00
Matt
1dee4a5a0a Fixed job rebroadcast sending duplicate jobs. Rebroadcasting should work with miners such as bfgminer now. 2014-04-18 14:34:44 -06:00
Matt
a4b087cec4 Fixed block solutions not being reported 2014-04-18 13:33:17 -06:00
Matthew Little
3db1b47199 Changes in how max difficulty and share validation works. Should be more accurate for scrypt based algos and x11 2014-04-17 12:52:52 -06:00
Matt
ca27990228 Updated readme overscrolling text 2014-04-16 17:59:13 -06:00
Matt
7be455ebd2 Updated readme overscrolling text 2014-04-16 11:55:44 -06:00
Matt
5d236c63fb Added documentation for p2p usage 2014-04-16 11:50:58 -06:00
Matthew Little
c72d5e01ae Merge pull request #59 from LucasJones/master
Fixed p2p system
2014-04-16 08:06:31 -06:00
LucasJones
0de1e50f59 Some work on the p2p system
Fix several bugs in peer.js and enable it to successfully connect to a peer (tested with bitcoind).
2014-04-16 13:14:29 +01:00
LucasJones
cf3ffa375d Improve stratum message handling
Prevent the case where multiple messages are chunked together without being processed (occasionally leading to the buffer growing too large and the client being kicked).

Recognize messages consisting only of spaces as malformed.
2014-04-16 03:28:29 +01:00
Matt
ba492f2782 Made readme for banning more clear 2014-04-15 16:56:21 -06:00
Matt
fefa6986ea Added official haproxy support/configuration. Optimized/fixed banning. 2014-04-15 16:37:04 -06:00
Matthew Little
42178dd5ad Merge pull request #57 from suchpool/patch-2
Update to stratum.js
2014-04-15 12:10:49 -06:00
suchpool
911ba75d75 Update to stratum.js
I got this handed to me by zone117x to enable the haproxy to send the real user ip using the send-proxy flag. He will re-work it and integrate it better, but I've pushed this commit for now for those who want to have it working.

Also, I fixed an issue where miners using Uppercase characters in their workers wouldn't get authed by the stratum. I simply added .toLowerCase(); where the stratum looks in the db for the workername.
2014-04-15 04:20:26 -04:00
Matt
bbb465994f Updated readme to be clear that this is simply a node.js module. 2014-04-12 14:10:55 -06:00
Matthew Little
1a8c008beb Merge pull request #52 from bluecircle/keccak_hashrate
Keccak hash rate adjustment per piotrrojek
2014-04-09 10:04:36 -06:00
Jerry Brady
7f9623b2f8 Keccak hash rate adjustment per piotrrojek 2014-04-09 01:40:15 +00:00
Matt
91940045ca Exposed vardiff object for external use 2014-04-08 12:24:24 -06:00
Matt
a9208a39d3 Added check for if daemons config is not array 2014-04-08 11:41:50 -06:00
Matt
86a4c05429 Added check for missing daemon config 2014-04-08 11:38:36 -06:00
Matthew Little
eed16e0f2e Merge pull request #48 from bluecircle/master
Fixes to resolve proxy switching
2014-04-08 09:30:16 -06:00
Jerry Brady
7bdf345843 fixes to handle proxy switching accounting 2014-04-07 02:34:44 +00:00
Matt
0313b19036 Merge branch 'master' of https://github.com/zone117x/node-stratum-pool 2014-04-05 14:19:43 -06:00
Matt
98109f1324 Changed npm dependency to use git uri 2014-04-05 14:19:29 -06:00
Matthew Little
dfe459c31a Minor readame change 2014-04-04 14:11:01 -06:00
Matthew Little
54b73dd0df Added low share diff tolerance. 2014-04-03 14:38:40 -06:00
Matt
90cd9baf69 Merge remote-tracking branch 'origin/master' 2014-04-03 12:31:57 -06:00
Matt
d8abc4008d Accept low shares within a threshold - not finished 2014-04-03 12:31:48 -06:00
Matthew Little
0ede095a29 Rename algo_dev.txt to ALGO_RESEARCH.md 2014-04-03 08:55:35 -06:00
Matt
b77398c5e2 Added donation addresses 2014-04-02 18:31:11 -06:00
Matt
39643add39 Added donation addresses 2014-04-02 18:30:01 -06:00
Matt
68f9fb566c Added "emitInvalidBlockHashes" option for those in MPOS mode that require it 2014-04-02 13:01:45 -06:00
Matt
78f6a8c2e6 Change diffs to stay in buffer or bignum format rather than hex or js number 2014-04-01 22:22:47 -06:00
Matt
7d5c7ed277 Added check to see if a submitted share matched a miner's previous difficulty from before vardiff retarget. 2014-04-01 16:58:20 -06:00
Matt
1e9bd77072 Use truncated diff1 (max difficulty) for algos by default. Report difficulty of low-diff shares. 2014-04-01 16:31:34 -06:00
Matt
bbb759cf37 Refactored pukkeyToScript for clarity 2014-04-01 11:18:31 -06:00
Matt
e049c413ba Refactored addressToScript for clarity 2014-04-01 10:29:38 -06:00
Matt
741c2a6a6b Updated package version for npm 2014-04-01 10:19:32 -06:00
Matt
a50beb1932 Added jobRebroadcastTimeout configuration 2014-04-01 10:10:50 -06:00
Matt
a6e38a6bb0 Comment for hardcoding diff 2014-03-31 18:07:52 -06:00
Matt
d27f384461 Comment for hardcoding diff 2014-03-31 18:06:13 -06:00
Matt
274281cca1 Added instructions how how to use the new scrypt-n and scrypt-jane algos 2014-03-31 17:39:25 -06:00
Matt
4007a7e30c Made scrypt-n have configurable timeTables. 2014-03-31 16:40:22 -06:00
Matt
63c4f68da8 Scrypt-n (vertcoin and clones) officially supported :) 2014-03-31 10:53:12 -06:00