Commit Graph

298 Commits

Author SHA1 Message Date
Aayan L 7839b606a1 Add frontend TLS/SSL 2017-04-23 01:25:58 -04:00
hellcatz 03e141d0b6 Update website.js
Compatibility update for node-watch 0.5
2017-04-21 19:25:10 -07:00
hellcatz b0cc4cd560 Update paymentProcessor.js 2017-04-20 12:31:13 -07:00
hellcatz ca297bc666 Update paymentProcessor.js
Allow pool_config to change maxBlocksPerPayment
2017-04-19 19:48:24 -07:00
hellcatz 8ef812e1ac Update paymentProcessor.js 2017-04-19 19:05:11 -07:00
hellcatz 9d113b9f49 Update paymentProcessor.js
Look for non unique blocks also...
2017-04-19 14:19:44 -07:00
hellcatz a907dfb709 Update paymentProcessor.js 2017-04-18 19:03:36 -07:00
hellcatz fcac8370b3 Update paymentProcessor.js
Begin solution to issue, https://github.com/z-classic/z-nomp/issues/113
Revamped fix for issue, https://github.com/z-classic/z-nomp/issues/86
2017-04-18 18:27:54 -07:00
hellcatz b3c05a9d02 Minor updates. 2017-04-12 18:25:48 -07:00
hellcatz 16aff2d0de Update paymentProcessor.js
Do not validate zAddress when shielding is not required.
2017-04-12 11:47:51 -07:00
Procrastinator 53852d6f0f #105
Fix for older node versions *cough* zdash *cough*
2017-04-10 12:58:04 -04:00
hellcatz 6f34f9a5fb Update stats.js
catch exceptions caused by data not formatted properly
2017-04-08 13:33:43 -07:00
hellcatz 3aa3176f0e failsafety: guarantee txfee and txfee var type 2017-04-08 13:21:42 -07:00
hellcatz 5290f9a0ca Update paymentProcessor.js
Preserve fee when converting to satoshis
2017-04-08 13:12:56 -07:00
aayanl b85536e65e Move Txfee to coins/coin.json 2017-04-08 13:06:17 -07:00
hellcatz b17839d4ce Update paymentProcessor.js 2017-04-01 17:06:38 -07:00
hellcatz c04bcf166d coins: added requireShielding boolean
coins: updated zcash_testnet founders addresses
configs: added komodo_example.conf
api.js: added payments json api call
stats.js: improved getTotalSharesByAdress to support multiple coins.
stats.js: report more collected stats
stats.js: report payment stats
stats.js: optimizations to historical data saving
paymentProcessor.js: added requireShielding support
paymentProcessor.js: added support to pay directly from komodo pool address without shielding first
paymentProcessor.js: lower tx fee reserve for komodo to 0.00005 KMD
paymentProcessor.js: tx fee reserve for all coins is 0.0004
paymentProcessor.js: improved multi-coin support
paymentProcessor.js: added minConfShield and minConfPayout variables
paymentProcessor.js: updated coin network stat caching
paymentProcessor.js: improved operation id handling when shielding coins
paymentProcessor.js: updated coin network stat caching
paymentProcessor.js: updated payment stat collection in redis
miner_stats.html: removed ZEC references
2017-04-01 17:04:04 -07:00
Procrastinator 24f48be37c Merge pull request #99 from hellcatz/patch-1
BugFix: api.js
2017-03-26 21:47:56 -04:00
Procrastinator 90b8d0fe33 Update api.js 2017-03-26 21:46:47 -04:00
hellcatz 2d80fc21f6 Update api.js
BugFix: When using multiple coins the miner stats could be incorrect.
2017-03-15 19:41:39 -07:00
hellcatz d23aa8f084 Update paymentProcessor.js
Remove pending confirmations that are no longer pending from redis
2017-03-08 22:15:10 -08:00
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