Commit Graph

65 Commits

Author SHA1 Message Date
Matt
e9e7756242 Give 1% variance in shares to account for javascript precision loss 2014-05-09 10:01:59 -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
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
Lucas Jones
d75498c517 Fix coinbase hashing for skein 2014-04-22 17:42:46 +01: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
8806aa8896 Fixed block hash generation for various algos 2014-04-18 21:41:55 -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
Matthew Little
54b73dd0df Added low share diff tolerance. 2014-04-03 14:38:40 -06:00
Matt
d8abc4008d Accept low shares within a threshold - not finished 2014-04-03 12:31:48 -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
a50beb1932 Added jobRebroadcastTimeout configuration 2014-04-01 10:10:50 -06:00
Matt
4007a7e30c Made scrypt-n have configurable timeTables. 2014-03-31 16:40:22 -06:00
Matt
2d069546cc Increased percent digits 2014-03-30 17:15:34 -06:00
Matt
244d3a406d 1) Updated x11 to more accurate diff. 2) Low diff shares report percent off now - to detect if diff is too hard or you just have abusing miners. 3) Only 1 thread does the rpc calls to generate blockchain sync status 2014-03-30 17:03:23 -06:00
Matt
70c93178c6 Merged all hashing algos into one native addon, hurray! Diffs are dynamically calculated based off values in coin source code. 2014-03-30 03:09:44 -06:00
Matt
b05f7689f3 Restructured pool object - much cleaner and easier to follow flow. 2014-03-26 22:41: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
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
50c8fb7c1b Added txRefreshInterval 2014-03-19 14:52:27 -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
7cf448d1e2 Added reward to share emit (for payment processing ;) ) 2014-03-12 15:55:58 -06: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
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
57f8dc3ffa Add block height to data emitted on pool share 2014-02-26 21:34:04 -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
69feb04da1 Convert diff dividend to bignum only on init. 2014-02-21 23:09:02 -07:00
bart-is
b2f4596f1c Fixed calculating user share target by using bignum 2014-02-21 23:38:15 +00: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
96cfc412a8 Added random or configurable instance ID 2014-02-19 15:53:36 -07:00
Matt
d6b99ba0d9 Added X11-hashing for DarkCoin 2014-02-19 14:59:39 -07:00
Matt
897dadbf11 Fixed duplicate shares on vardiff difficulty update. Added more comments. 2014-02-19 13:46:17 -07:00