Commit Graph

277 Commits

Author SHA1 Message Date
hellcatz 25e94a305e Added miner_stats.js
Added miner_stats.html
Added worker stats api call to api.js
Added miner_stats.html page to website.js
Updated workers.html to support worker stat pages.
Do not log accepted shares to console in poolWorker.js
Removed worker and block charts from stats.html and stats.js
Updated stats.html to show found blocks
Major updates to paymentProcessor.js
* worker names now supported
* operation id monitoring
* prevent duplicate shielding operations
* payments tracking to redis
* duplicate invalid block handling
* updates to balance rounding
* coin network stats logging to redis
2017-03-08 20:06:39 -08:00
Procrastinator 9199a6e044 Add logging of addressAmounts to CLI to paymentProcessing 2017-02-09 16:51:51 -05:00
Procrastinator 435bd074cd Round is not defined 2017-01-31 18:42:46 -05:00
sennevb df8785453f Update shareProcessor.js
For latest block page we need more data in redis, we can pull this from explorer api, but this makes it a slow query
2017-01-29 14:34:48 +01:00
joshuayabut db57642eb1 Bugfix: Rewards incorrect 2017-01-05 01:44:16 +00:00
joshuayabut 53b1378785 fixup! Bugfix #40: Payment processor doesn't know about coinbase-xfer cycling (#53) 2016-12-31 16:40:03 +00:00
joshuayabut a72e021b37 Bugfix: Subtract transaction fees from block rewards 2016-12-29 10:33:44 +00:00
joshuayabut 3566b8efff Enhanced listunspent to count amounts excluding a specific address #55 2016-12-29 09:59:33 +00:00
joshuayabut 6a63d55df6 fixup! Bugfix #40: Payment processor doesn't know about coinbase-xfer cycling (#53) 2016-12-29 09:47:08 +00:00
Joshua Yabut 9a61813678 Bugfix #40: Payment processor doesn't know about coinbase-xfer cycling (#53) 2016-12-27 11:42:48 -05:00
joshuayabut 2a3402baab Bugfix #51: Incorrect hashrate metrics 2016-12-27 07:53:15 +00:00
joshuayabut c83ed07049 fixup! Bugfix: Hashrate incorrect 2016-12-26 00:35:40 +00:00
joshuayabut 57617f106c Bugfix: Hashrate incorrect 2016-12-22 04:27:02 +00:00
joshuayabut 477af103a6 Revert "Having payments use only the payment address, and keep previous rounds"
This reverts commit 760f19ec36.
2016-12-19 04:11:55 +00:00
joshuayabut f00a52f8e0 Precision bugfix and validate wallet addresses 2016-12-19 02:28:59 +00:00
Procrastinator fa9c48510e Merge pull request #27 from fxminer/master
Stats fix, orphan blocks won't bug out payment processor and correct hashrate
2016-12-12 22:59:59 +00:00
Procrastinator 325b599698 Update paymentProcessor.js 2016-12-11 23:29:55 -05:00
Procrastinator dcfc533afc Revert "Fix overflowing, have payments use only the payment address, optional to keep previous rounds" 2016-12-11 23:02:57 -05:00
Procrastinator 16a0565d7c Make keeping previous rounds optional 2016-12-11 20:32:54 -05:00
Procrastinator 3480c5d0c6 Fix overflowing 2016-12-11 19:34:15 -05:00
Procrastinator 5eb8f75d20 Update paymentProcessor.js 2016-12-10 23:44:46 -05:00
Procrastinator 760f19ec36 Having payments use only the payment address, and keep previous rounds 2016-12-10 23:43:43 -05:00
fxminer 59db03b524 Stats fixes 2016-12-07 08:12:02 +01:00
fxminer baaf5ef62d Orphaned stats fix (#26) 2016-12-06 18:56:34 -05:00
fxminer fce319caeb Orphaned stats fix 2016-12-06 23:53:06 +01:00
Procrastinator d255083e1c Add blockfinder to database (#22) 2016-12-05 19:42:45 -05:00
xiaolin1579 c07a339c56 Update stats.js (#24) 2016-12-04 12:34:10 -05:00
Procrastinator 2b8b144e1d Fix callback issues (#19) 2016-12-01 19:05:46 -05:00
Joshua Yabut 156478acb7 Fix non-integer tBalance issue #15 2016-11-29 23:08:07 -05:00
Procrastinator 8b0bcc8aa2 Validate the Taddress and Zaddress (#17)
Validate the Taddress and Zaddress
2016-11-29 22:47:57 -05:00
joshuayabut 5a59986efb Fix error catching for listUnspent and listUnspentZ 2016-11-27 22:20:15 -05:00
joshuayabut 965a2f4c82 Bugfix: #5 Route coinbase rewards to z_address then to t_address 2016-11-27 17:54:08 -05:00
joshuayabut bd0e712645 Bugfix: #4 Payment processor crashes 2016-11-27 14:27:08 -05:00
Helder De Baere 9e2006489e Added some log info and fixed a typo 2016-02-22 14:53:21 +01:00
jkoornneef 3036375362 Update poolWorker.js
var created above is spelled as initalPool not initialPool.
2014-10-14 23:02:31 -04:00
Kaos Dynamics c2ca8e4a80 Wrong hashrate calculation
Hashes are not bytes:
> 1 byte = 8 bits
> 1 kilobyte = 1024 bytes

Hashes are the units, and so therefore - as `k`,  `m` only mean *10^3 and *10^6
> 1 hash = 1 hash
> 1 kh     = 1000 hashes
2014-07-16 21:36:27 +01:00
Matthew Little 6fbedae7b6 Merge branch 'master' of https://github.com/zone117x/node-open-mining-portal 2014-05-29 16:57:01 -06:00
Matthew Little f999ebff18 Fixed bug in parsing balances for payment processing 2014-05-29 16:56:36 -06:00
Alejandro Reyero 9457c6ed90 Update profitSwitch.js
CoinWarz Api incomplete, instancing wrong class at profitSwitch, name of class Cryptsy in it's own .js ...
2014-05-29 22:41:52 +02:00
Matthew Little 1578ad87c0 Fixed bug with missing file system module for payment processing fail safe 2014-05-29 12:52:31 -06:00
Matthew Little de9009fdbc Merge pull request #223 from ob1100/master
Adding a few more coin configs
2014-05-29 12:20:55 -06:00
Matthew Little 81a0536606 Merge pull request #232 from damianblack/add-bittrex-api
Add Bittrex API for profitability checks
2014-05-29 12:20:06 -06:00
Jerry Brady 116983fc85 Fixed starting difficulty issues for proxy ports, including X11 2014-05-28 20:56:56 +00:00
Damian Black 5a0afa660c add missing comma to bittrexApi 2014-05-28 10:17:32 -04:00
Damian Black 57873f7226 Add Bittrex API for profitability checks 2014-05-27 17:47:14 -04:00
ob1100 f9f329fb1b Update apiCoinWarz.js 2014-05-23 11:55:20 -05:00
ob1100 2b2887eca1 Update profitSwitch.js 2014-05-23 11:51:24 -05:00
ob1100 248507b5ee Update apiCoinWarz.js 2014-05-23 11:46:51 -05:00
ob1100 64b48388fc Create apiCoinWarz.js 2014-05-23 11:31:49 -05:00
Matthew Little c3555ec959 Force content type on doT generated html strings 2014-05-21 19:58:41 -06:00
Elbandi 581bc02b44 rename wks to workers 2014-05-13 18:59:13 +02:00
Elbandi 257a981c7a Add workers tab 2014-05-13 18:15:21 +02:00
Elbandi 5d15fe9dbf Fix typo 2014-05-12 23:17:00 +02:00
Matt ac7d7780fd Add redis version check so errors are thrown if you use too old of a redis version 2014-05-12 11:15:17 -06:00
Matt 936b723c66 Missed an underscore for last commit 2014-05-09 17:48:19 -06:00
Matt e6556d416e [REDIS BREAKING UPDATE] Changed coins to use redis branching for cleaner management 2014-05-09 17:43:11 -06:00
Matt f91ff79718 Added inheritable pool options in global config 2014-05-09 11:51:08 -06:00
Elbandi da0264f8de Bind website listener to host 2014-05-09 13:43:21 +02:00
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