Commit Graph

185 Commits

Author SHA1 Message Date
Christopher Franko
d7802bcbd3 Updated to add Scypt-og
For aidencoin
2014-06-21 14:32:32 -04:00
Matthew Little
d2354063ac Allow reward type to be configured in coin definition instead of auto detected 2014-06-21 09:20:03 -06:00
Matthew Little
66d4038051 Added NIST5 hashing 2014-06-16 11:39:45 -06:00
Darkcoin
c371039070 Darkcoin masternode payments have been changed from 10% to 20% 2014-06-07 15:03:31 -07:00
Matthew Little
58d1cb11ae Merge remote-tracking branch 'origin/master' 2014-05-30 09:17:55 -06:00
Matthew Little
0aa86f2157 Added x13 as supported algo 2014-05-30 09:17:46 -06:00
Jerry Brady
da5adfc3a1 remove extra emit of started event 2014-05-15 00:14:59 +00:00
Matt
e70ae9c533 Fixed port emit, it was using remotePort instead of localPort 2014-05-09 17:14:15 -06:00
Matt
eb4b62e9c4 Added port to share emitter 2014-05-09 16:43:53 -06:00
Matt
de1c8c018b Fixed bug in last commit 2014-05-09 10:07:23 -06:00
Matt
e9e7756242 Give 1% variance in shares to account for javascript precision loss 2014-05-09 10:01:59 -06:00
Matt
dc17481db6 Increased socket flooding detection threshold 2014-05-07 12:24:29 -06:00
Matt
74b6cc0052 Removed "shareVariancePercent" option as its no longer useful 2014-05-07 12:22:10 -06:00
Matt
b4784b1d9f Removed "txRefreshInterval" option as its function is now replaced with "jobRebroadcastTimeout" 2014-05-07 11:56:16 -06:00
Matt
b24151729d Modified coinbase generation to force Darkcoin's masternode payee as 2nd tx output. 2014-05-07 09:36:41 -06:00
Matt
a06ba67ab3 Updated to support new Darkcoin masternode features 2014-05-06 20:29:15 -06:00
Matt
dfad9e58c6 Added rewardRecipients config, moved peer magic to coin config 2014-05-02 16:02:17 -06:00
Matt
64d832e1a2 Merge remote-tracking branch 'origin/master' 2014-04-30 20:42:32 -06:00
Matt
42e6df669e Removed redundant code 2014-04-30 20:42:26 -06:00
Lucas Jones
41ff0b0868 Fix vardiff 2014-04-27 17:38:59 +01:00
Matt
fe64fb8855 Changes to setting vardiff (for coin-switching). Added pubkey to address function 2014-04-26 16:24:54 -06:00
Matt
89e9f47e47 Fixed share multipliers for groestl and fugue 2014-04-26 00:55:45 -06:00
Matt
c7bf05107f Fix for fugue - was missing share multiplier 2014-04-25 22:28:31 -06:00
Matt
3680413f89 Merge remote-tracking branch 'origin/master' 2014-04-25 21:33:12 -06:00
Matt
92cd1f7907 Fix for groestl - was missing share multiplier 2014-04-25 21:33:04 -06:00
Jordan Earls
6e854e2354 Allow specifying raw N-value and R-value to scrypt 2014-04-25 00:36:19 -04:00
Lucas Jones
d75498c517 Fix coinbase hashing for skein 2014-04-22 17:42:46 +01:00
Matt
e44f2636ae Added more algos for testing 2014-04-21 16:26:09 -06:00
Matt
a7896d593b scrypt-jane POS coins don't use sha256d for block hash. 2014-04-21 14:54:42 -06:00
Matt
7aa918ef95 Added groestl to algos 2014-04-21 14:31:35 -06:00
Matt
58668a9543 Fixed blockhash generation (block submission checking) for POS scrypt coins 2014-04-20 21:17:47 -06:00
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
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
5d236c63fb Added documentation for p2p usage 2014-04-16 11:50:58 -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
fefa6986ea Added official haproxy support/configuration. Optimized/fixed banning. 2014-04-15 16:37:04 -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
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
Jerry Brady
7bdf345843 fixes to handle proxy switching accounting 2014-04-07 02:34:44 +00:00
Matthew Little
54b73dd0df Added low share diff tolerance. 2014-04-03 14:38:40 -06:00