Commit Graph

319 Commits

Author SHA1 Message Date
Elbandi d7db8a3af6 Allow disable log colors 2014-05-08 14:56:20 +02:00
Matt d8444e6a6c Removed "shareVariancePercent" option as its no longer useful 2014-05-07 12:22:32 -06:00
Matt e72af00507 Merge remote-tracking branch 'origin/master' 2014-05-07 12:07:21 -06:00
Matt 57462c3de1 Better error handling for when website cannot start listening on configured port 2014-05-07 11:59:37 -06:00
Matt 3fb907f682 Changing _balances value to be stored in coin units rather than satoshi units 2014-05-07 11:58:56 -06:00
Hüseyin Uslu 7ae0107eea added totalPaid to /api/stats/ 2014-05-07 12:45:25 +03:00
Matt 036f246ab7 Allow stratum authentication with mining key on non-switching ports 2014-05-07 01:23:50 -06:00
Matt baadebd97d Detect kicked blocks and deal with them appropriately 2014-05-07 01:11:27 -06:00
Matt c3a15ad200 Updated to support slightly different logging implemented while doing new Darkcoin masternode features 2014-05-06 20:30:31 -06:00
Matt 964335340b More informative error when failing to parse satoshis in coin for payment processing 2014-05-04 15:29:59 -06:00
Matt fd7bf439e5 Fixed typo in my last commit that fixed payment processing for some coins. 2014-05-04 13:51:01 -06:00
Matt 81c3a66bde Fixed "missing output details to pool address" error messages for some types of coins 2014-05-04 02:21:15 -06:00
zacons cc3fe3ba8e Update cliListener.js 2014-05-04 09:44:53 +02:00
Lucas Jones 29d1cc455f Fix typo in paymentProcessor.js 2014-05-03 17:29:31 +01:00
Matt 73668709ce Added rewardRecipients configuration, refactored payment processing, moved p2p magic to coin config 2014-05-02 15:59:46 -06:00
thrassos 13a22d0ed6 Update poolWorker.js 2014-05-01 20:01:54 +03:00
Matt 5ea852d369 Added client-side mining key generation script for coin-switching port mining 2014-04-30 20:43:43 -06:00
Matt 66d7640c9b NOMP CLI gives replies now. Profit switching transitioned to using CLI port rather than old profitListener port. 2014-04-28 15:04:12 -06:00
Matt 52108e3b7a Added mysql connection pooling for reconnecting to db and better performance 2014-04-27 14:24:40 -06:00
Matt 4413bfd7e6 Mining with public key on a switching port will now do payouts. 2014-04-26 16:24:06 -06:00
Matt 952c7105cc Replaced various listeners (coinswitch and blocknotify) with united NOMP CLI (command-line interface) 2014-04-26 16:23:23 -06:00
Alex Petrov 444fc6c070 Added new tab, Table statistics per coin/algo 2014-04-24 19:19:14 -04:00
Matt f1627f222d Possible fix for payment processing with x11 coins 2014-04-24 14:53:06 -06:00
Matt 432af28a78 Added reward address account detection in payment processing so addresses not under the default account of "" (empty string) will work. 2014-04-23 23:59:53 -06:00
Matt a279fb486f Probably fixed negative hashrate issue 2014-04-23 12:53:19 -06:00
k7 019865bc95 fix auto create worker bug 2014-04-22 00:19:15 +08:00
k7 75c091457b fix auto create worker with right password 2014-04-21 23:58:50 +08:00
k7 882f779e20 auto create mpos worker 2014-04-21 16:09:37 +08:00
Matt a4a2278443 diff1 is a normal JS number now rather than a bignum 2014-04-20 12:17:44 -06:00
Matthew Little cf74872863 Merge pull request #67 from bluecircle/master
Feature: Added automagical coin switching based on profitability
2014-04-20 12:16:19 -06:00
Matt e58689956d Changed stats to use algo multiplier 2014-04-20 12:04:41 -06:00
Jerry Brady 31f6091a14 diff computed from block info 2014-04-19 23:08:52 +00:00
Jerry Brady 26d98a1fd1 Merge branch 'master' of https://github.com/zone117x/node-stratum-portal 2014-04-19 00:43:16 +00:00
Matt 167be4baf0 Minor change in logging: does not log 'Share data and stats recorded' anymore 2014-04-18 13:44:19 -06:00
Jerry Brady b7e8f67f70 removed tabs 2014-04-18 12:48:59 +00:00
Jerry Brady 1134f13a40 remove extra logging 2014-04-17 23:09:53 +00:00
Jerry Brady ba30133bb2 final changes 2014-04-17 22:55:54 +00:00
Jerry Brady 860d36139b Merge branch 'master' of https://github.com/zone117x/node-stratum-portal 2014-04-17 19:26:09 +00:00
Matthew Little 57be035ff2 Include actual share diff in log ouput 2014-04-17 12:51:44 -06:00
Jerry Brady 2e77108b3c final mintpal changes 2014-04-17 03:29:37 +00:00
Jerry Brady 4469cf546c profit data working 2014-04-17 02:42:38 +00:00
Jerry Brady 9ad11516d2 checkpoint 2014-04-17 01:53:40 +00:00
Jerry Brady 384a10d825 checkpoint 2014-04-17 01:52:57 +00:00
Jerry Brady 9213b6bf96 Merge branch 'master' of https://github.com/zone117x/node-stratum-portal 2014-04-16 22:31:19 +00:00
Matt db9767f08e Added documentation for p2p usage 2014-04-16 11:50:33 -06:00
Matt 5db8c4997a Merge remote-tracking branch 'origin/master' 2014-04-15 16:39:02 -06:00
Matt 4888aaffba Changed all references to localhost to 127.0.0.1 for better system compatibility. Implemented thread-wide IP banning via IPC. Added redis config for portal-wide related db interactions (stats and proxy) 2014-04-15 16:38:51 -06:00
Jerry Brady d789e48063 Merge branch 'master' of https://github.com/zone117x/node-stratum-portal 2014-04-13 23:21:05 +00:00
Jerry Brady 93274f907b added support for difficulty and blockreward 2014-04-13 23:17:40 +00:00
Matt Culpepper 2d6470cf3f missing comma 2014-04-13 14:06:24 -05:00
Matt Culpepper 7b6044d674 create a config option for difficulty multiplier 2014-04-13 13:59:19 -05:00
Jerry Brady 550b09767e whitespace formatting 2014-04-13 16:46:06 +00:00
Jerry Brady 0af27316d3 profitability data collection from Poloniex 2014-04-13 16:44:12 +00:00
Matt Culpepper 473322c72f handle x11 difficulty for mpos compatibility 2014-04-12 23:29:57 -05:00
Matt d08cd2fbc6 Merge remote-tracking branch 'origin/master' 2014-04-11 17:26:52 -06:00
Matt cf74cd4119 Fixed stat page erroring when coins were added. Changed default stat update interval to 60 seconds. 2014-04-11 17:26:45 -06:00
Jerry Brady 5f6b09a877 fix proxy state loading bug when key not present 2014-04-11 13:26:42 +00:00
Jerry Brady b9891c8624 fix proxy state loading bug when key not present 2014-04-11 13:24:12 +00:00
Matt 201d02d10b Refactored website. Added historical stats. 2014-04-10 19:33:41 -06:00
Jerry Brady 2f8620a454 store proxy state in redis and restore on restart; disable example pool 2014-04-09 01:33:46 +00:00
Matt c3ba819f24 Set coin switching feature to not require lower case. Added documentation for proxy and coin switching 2014-04-08 12:23:48 -06:00
Jerry Brady 27a8de62cb proxy switching added and working 2014-04-07 03:11:53 +00:00
Jerry Brady 8670a88de6 Merge branch 'master' of https://github.com/zone117x/node-stratum-portal into bluecircle 2014-04-06 00:16:21 +00:00
Jerry Brady 22697fed80 fix issue #40 2014-04-06 00:14:07 +00:00
Matthew Little fabf823727 Merge pull request #41 from bluecircle/bluecircle
Ensure configuration value for validation of pool workers is honored
2014-04-05 17:45:11 -06:00
Jerry Brady dc3dcd01a7 Ensure configuration value for validation of pool workers is honored 2014-04-05 23:43:02 +00:00
Matt 575158f858 More error handling for blocknotify 2014-04-05 16:29:24 -06:00
Eugene@ubuntu 086ace75d7 fix payment redis final cleanout issue - possible double spending - optimized.v2 2014-04-05 05:02:52 +04:00
Eugene@ubuntu 245cca1c9b Merge branch 'zone117x-master' 2014-04-05 04:45:15 +04:00
Matthew Little 3509d3f19b Merge pull request #39 from bluecircle/bluecircle
Fix hashrate bug and add stats by algorithm to index and stats pages
2014-04-04 10:55:54 -06:00
Jerry Brady 71024f18dc Fix hashrate bug and add stats by algorithm to index and stats pages 2014-04-04 02:55:35 +00:00
Matthew Little 257010f6a4 Added low share diff tolerance. 2014-04-03 14:37:55 -06:00
Matt 361641019f Better logging for shares 2014-04-03 12:33:10 -06:00
Eugene@ubuntu 0fc90d082d Merge branch 'zone117x-master' 2014-04-03 20:17:38 +04:00
Matthew Little 984d3251b4 Merge pull request #38 from bluecircle/bluecircle
Added stats grouped by algorithm
2014-04-03 10:03:41 -06:00
Jerry Brady 795b93e254 fixed bug in collection of per algo hash rate string 2014-04-03 02:04:39 +00:00
Jerry Brady 5918baac2f added human readable auto-scaling hash rate strings to stats 2014-04-02 23:36:36 +00:00
Matt abcf97d34f Blocknotify listener errors are logged and don't crash the system. 2014-04-02 16:17:57 -06:00
Jerry Brady df5ed6d29b Merge remote-tracking branch 'origin/master' into bluecircle 2014-04-02 22:15:14 +00:00
Jerry Brady ba1836b605 Added stats grouped by algorithm 2014-04-02 21:42:50 +00:00
Eugene@ubuntu a9132319cc fix payment redis final cleanout issue - possible double spending - optimized - fixed 2014-04-03 00:43:58 +04:00
Eugene@ubuntu 1f15c418c8 Merge branch 'zone117x-master' 2014-04-03 00:37:32 +04:00
Matt b08468ba8d Added "emitInvalidBlocksHahes" option for those in MPOS mode that require it. 2014-04-02 13:01:05 -06:00
Eugene@ubuntu 7fe215679a fix payment redis final cleanout issue - possible double spending - optimized 2014-04-02 14:56:13 +04:00
Matt dafb0a7a55 Added check for dropkicked (self orphaned) blocks that have the same txHash 2014-04-01 16:39:27 -06:00
Matt ba74b107d5 1) Added link to supported hashing algos, 2) added vertcoin (scrypt-n) example 2014-03-31 11:29:36 -06:00
Matt b7e7916736 Better logging for various components, changed example payment intervals from 10 seconds to 60 seconds. Added more coins and example pool configs. 2014-03-30 17:04:54 -06:00
Matt 9b3d5766df Stats now use algo data from stratum-pool module 2014-03-30 04:16:02 -06:00
Matt c699e66a5d Better mpos/mysql logging. Added maxcoin config. 2014-03-29 19:59:22 -06:00
Matthew Little 2e79bc098d Merge pull request #20 from UdjinM6/master
enabled:true seems more natural than disabled:false in poolOptions
2014-03-28 11:33:19 -06:00
Matt 514d04d6ad Allow shares of float difficulties to be inserted into redis instead of just integers. 2014-03-28 10:19:10 -06:00
Eugene@ubuntu a8d0f00e90 merging fixes 2014-03-28 02:50:55 +04:00
Matt 4a651dec89 Payment processing seems to be working well 2014-03-27 16:29:43 -06:00
Matt d3e2057ec9 Daemons will rarely arbitrarily drop blocks that it previously considered valid. This is a bug in the daemon or maybe only in testnet. This fix treats those dropped blocks as orhpans. 2014-03-27 12:57:56 -06:00
Matthew Little e4e1d1ecc7 Merge pull request #18 from UdjinM6/master
fixing timeout issue in paymentProcessor (and get rid of paytxfee - it doesn't help)
2014-03-27 11:53:52 -06:00
Matt 42ae0a4231 Added block hash (solution) to redis so we can see whats going on with the invalid transactions. 2014-03-27 11:52:54 -06:00
Eugene@ubuntu d3699b3d08 merge latest fixes and fee withdrawal functionality 2014-03-27 20:45:20 +04:00
Eugene@ubuntu d744dc2857 remove paytxfee functionality - it doesnt really help 2014-03-27 17:28:42 +04:00
Eugene@ubuntu b5c9d0174b get tx fee paid from transaction made by sendmany 2014-03-27 17:22:21 +04:00
Matt 634f6c842f Added lots more comments and tried to squeeze all comments and code into github's max page width 2014-03-27 00:56:36 -06:00
Matthew Little 024cc7492f Merge pull request #17 from UdjinM6/master
Add fees withdrawal (and fix possible typo in paymentProcessor)
2014-03-26 23:24:58 -06:00
Matt 1fc9684677 Prettier logs 2014-03-26 23:16:52 -06:00
Eugene@ubuntu b73b6a828e typo in paymentProcessor 2014-03-27 08:55:58 +04:00
Eugene@ubuntu 98619910d0 Merge branch 'master' of git://github.com/zone117x/node-open-mining-portal into zone117x-master 2014-03-27 08:11:41 +04:00
Matt 314dacf98a Fixed global hashrate problem 2014-03-26 20:53:30 -06:00
Matt 631575ed7b Added recursive watch so web development is easier. 2014-03-26 20:12:52 -06:00
Eugene@ubuntu fc5cf3b883 change success callback in finalizeRedisTx to logger.debug to prevent untimely withdrawalProfit call 2014-03-27 04:57:29 +04:00
Eugene@ubuntu 68bea9ea7d some syntax cleaning 2014-03-27 03:49:08 +04:00
Eugene@ubuntu a3b3b17d43 fix fee calculations and withdrawals once again 2014-03-27 03:36:07 +04:00
Matthew Little 609eb0ae90 Fixed errors that occurred when certain modules were not configured/enabled. 2014-03-26 15:08:34 -06:00
Eugene@ubuntu 0be59cb34f include tx fees and pool fees in minimumReserve check and adjust pool fees accordingly 2014-03-26 23:59:59 +04:00
Eugene@ubuntu df68d33983 add fees withdrawal 2014-03-26 19:43:52 +04:00
Eugene@ubuntu add62039db fix possible typo in paymentProcessor 2014-03-26 05:27:28 +04:00
Matt 572a5ea45b Typo with error message on tx error 2014-03-25 16:41:30 -06:00
Matt 72c26213a1 Updated git info for node-stratum-pool and refactored website/api structure. 2014-03-25 16:21:17 -06:00
Matt 82844687ac Fixed blockNotify.js script which was using wrong indexes for arguments. 2014-03-25 12:52:11 -06:00
Matt 1a00efc42a Better error message for when payment processor detects that it doesn't own the address. Updated readme with better deamon setup instructions. Removed 'reward' field from coins since we auto-detect that now. 2014-03-24 14:00:18 -06:00
Matt f2862598a9 Slightly faster hashrate adding without using math.random 2014-03-23 14:18:54 -06:00
Matt 14cd1d0070 Added interval for spawning pool forks 2014-03-23 00:46:59 -06:00
Matt ad1f4ce3d0 Betting logging. Payment processing fixes. 2014-03-23 00:16:06 -06:00
Matt cb30876b33 More fixes for payment processing 2014-03-22 20:08:33 -06:00
Matt ceb6f0dae0 More stats added 2014-03-22 13:58:51 -06:00
Matt 17bbc68b74 Updated readme with payment processing updates 2014-03-20 17:11:39 -06:00
Matt 74e4827057 Payment processing seems to be working. Does not withdrawal profit yet though 2014-03-20 17:05:13 -06:00
Matt eba32adde9 Payment processing is 98% done... 2014-03-20 16:34:44 -06:00
Matt be1b1f689c Payment processing is 95% done... 2014-03-20 16:25:59 -06:00
Matt 80ec2e8bca Fixed hashrate calculation by adding share multiplier per algo 2014-03-20 00:43:15 -06:00
Matt f0d90b71c2 added txRefreshInterval 2014-03-19 14:53:00 -06:00
Matt f85e7f0825 Restructured website folder 2014-03-19 14:36:44 -06:00
Matt ca60e5e7f4 Added live stats 2014-03-19 14:24:29 -06:00
Matt 4c7e41b71b Lots of work on front-end 2014-03-19 01:26:20 -06:00
Matt d1ee74b406 Lots of work on front-end 2014-03-19 00:54:18 -06:00
Matt 600bc43f02 Working on stats and payment processing 2014-03-15 20:48:53 -06:00
Matt ed9e61b8ee Working on stats and payment processing 2014-03-15 18:58:28 -06:00
Andrea Baccega 5b3c12508e Merged stuff 2014-03-14 21:56:54 +00:00
Andrea 437e242a25 UnMerge branch 'master' of https://github.com/zone117x/node-stratum-portal
Conflicts:
	config.json
	init.js
	libs/logUtil.js
2014-03-14 19:05:55 +00:00
Andrea fcc44b1942 First things for the miners switch 2014-03-14 19:02:55 +00:00
Matt 0db53a296f Work on front-end 2014-03-14 01:18:51 -06:00
Matt 6e41473f01 More efficient share processing wtih redis 2014-03-13 17:20:57 -06:00
Matt 0edfbdf0e1 Added logLevel to portal config 2014-03-13 15:03:28 -06:00
Matt 6899186dc3 Some work on website/api 2014-03-13 00:37:27 -06:00
Matt 5acaaa5686 More development for payment processing. so close... 2014-03-12 18:09:12 -06:00
Matt 191d81bd18 More development for payment processing... getting there.. 2014-03-12 16:33:29 -06:00
Matt 09443b4e6c More comments on how to to payment processing and also stats for API 2014-03-11 22:57:03 -06:00
Matt 5220ffdc3c Removed testing functions 2014-03-11 22:01:33 -06:00
Matt 834cb61229 More work on payment processing. Making super scalable database layers is exhausting... 2014-03-11 21:47:14 -06:00
Matt 9e5e5b7141 Work on payment processing 2014-03-11 19:58:33 -06:00
Matt 6860cd50cb Work on payment processing 2014-03-11 19:56:19 -06:00
Matt e62293ed2e Work on payment processing 2014-03-11 13:12:46 -06:00
Matt 1309aa6f19 Work on payment processing 2014-03-09 20:31:58 -06:00
Matt 34d5d998e9 Work on share processing 2014-03-07 15:04:14 -07:00
Matt 839ed52218 Bug in logging share data 2014-03-06 16:00:57 -07:00
Matt 27550caa39 More development for internal payment processing. Added new stratumpool module options. 2014-03-06 13:46:01 -07:00
Matt d33730c274 Merge remote-tracking branch 'origin/master' 2014-03-05 17:33:22 -07:00
Matt 318ad05de9 Added config options for internal payments 2014-03-05 17:33:07 -07:00
Andrea Baccega b12b8e0d33 solution cannot be null in mpos database. 2014-03-06 00:17:01 +01:00
Matt 6e91351af2 Bug in mpos compat auth level 2014-03-05 16:05:31 -07:00
Matt d2f9be48d2 Fixed some bugs with internal share processing 2014-03-05 15:31:32 -07:00
Matt 5c19ec9abc Moved database interactions out of master process into worker processes to avoid IPC overhead 2014-03-05 15:10:50 -07:00
Andrea Baccega 1c6f7c4f50 First and raw api support + mposcompatibility fixes/codereadability improvements 2014-03-04 23:35:43 +01:00
Andrea Baccega c7e61d681b Fixed mpos compatibility layer 2014-03-04 23:08:26 +01:00
Matt 943f3d1f32 Added mpos auth feature 2014-03-04 13:24:02 -07:00
Matt 95fe6129b3 Refactored share processing / worker communication 2014-03-04 01:33:55 -07:00
Matt 8e83c32e17 Started mysql code for mpos compat. 2014-03-03 13:51:11 -07:00
Matt acb5b5f551 Added more detailed instructions for configuration 2014-03-02 14:36:41 -07:00
Matt d640cc12c0 Started work on share processing. Added redis dependency. 2014-03-01 18:19:10 -07:00
Matt 0fe9ea3b13 Added clustering and moved blocknotify from stratum module to portal 2014-02-28 20:12:59 -07:00
Matthew Little d67b5c8bf7 modified to use new share data. enabled debug loggin for now 2014-01-15 16:04:19 -07:00
Andrea Baccega a39da882b2 Added Sophisticated logging interface.
Added package.json which contains also a dependency
2014-01-14 17:56:06 +01:00