Commit Graph

298 Commits

Author SHA1 Message Date
sennevb e8e52e3eb3 Merge pull request #176 from hellcatz/patch-14
Update paymentProcessor.js
2017-08-12 12:29:07 +02:00
sennevb 0c341dffc9 Merge pull request #172 from hellcatz/hellcatz-patch-13
Update paymentProcessor.js
2017-08-12 12:27:50 +02:00
sennevb 4c982a73ac Merge pull request #159 from madbuda/redispw
adding in redis password auth from UNOMP
2017-08-12 12:26:00 +02:00
hellcatz 129e11e8e3 Update paymentProcessor.js
Only manage opids created by z-nomp. All opids are still monitored.
2017-08-11 19:56:18 -07:00
hellcatz f6fe32b7e5 Update paymentProcessor.js
Oops ...  off by one ...
2017-08-03 14:43:31 -07:00
hellcatz f2786e7a5b Update paymentProcessor.js
Sort rounds during payments so blocks are paid in order.
Optimization to max blocks per payment logic.
2017-08-02 19:26:32 -07:00
sennevb 15f4912b4a Merge pull request #170 from hellcatz/zen-updates
Zen Updates
2017-07-21 22:25:54 +02:00
hellcatz d8dd19ff8b Update paymentProcessor.js
BugFix `result.result[i]` can be undefined in RPC response errors.
2017-07-19 18:41:18 -07:00
hellcatz b16990e18a Update paymentProcessor.js
Trim address of space that somehow get in the beginning or end.
2017-07-18 22:06:47 -07:00
Larry bc92044354 cleanup 2017-07-03 15:10:50 -04:00
Larry c74724c19a added redis auth 2017-07-01 20:29:54 -04:00
Larry f6966534ff adding redis auth 2017-07-01 20:27:48 -04:00
Larry bdbe9a7896 adding redis auth password 2017-07-01 20:21:18 -04:00
Larry d96fa1e06b added comments 2017-07-01 20:19:08 -04:00
Larry 6bf70dfb20 adding redis password auth 2017-07-01 20:18:03 -04:00
Larry 1785519db3 adding redis password auth 2017-07-01 20:16:44 -04:00
Joshua McKenzie 04ef1a4cc0 Added Headers to Minerpage (#158)
Chrome was wrapping the minerpage html in a <pre> element and not rendering the worker stat page properly. I added ```res.header('Content-Type', 'text/html');``` to the function and now it renders perfectly.
2017-07-01 15:19:27 -04:00
hellcatz f6f6f0c712 Fix zen market stats, Add payment page example (#153)
* Update paymentProcessor.js

Fix market stats for zen

* Update paymentProcessor.js

* Update zcash_testnet.json

Undo ZEN changes to zcash file.

* Update zcash.json

Undo ZEN changes to zcash file.

* Update website.js

Add example payments page.

* Create payments.html

* Update payments.html

* Update payments.html
2017-06-04 01:32:41 -04:00
hellcatz 8fd1d7eceb Fixes & Zen Updates (#149)
* Create zen.json

* Update api.js

Remove unnecessary address.startWith() check in api for improved support of future Zcash forks.

* Update zen.json

* Update paymentProcessor.js

Improved operation id handling during RPC call errors.
Improved error handling and reporting during payment RPC call errors.
Force final rounding of addressAmounts array.
Limit tries when reducing rewards due to insufficient funds.
Do not processPayments at start of z-nomp.

* Update paymentProcessor.js

Improved error handling in cacheNetworkStats()
Updates to error messages

* Update paymentProcessor.js

Remove false positive

* Update paymentProcessor.js

Remove another false positive
2017-05-30 18:15:34 -04:00
hellcatz aa25a81fe1 Improvements to Shielding Process (#147)
* Update paymentProcessor.js

Improved balance rounding and conversions for listUnspent and listUnspentZ

* Update paymentProcessor.js

Extra error detection in RPC callback for listUnspent and listUnspentZ

* Update paymentProcessor.js

logger message fixup

* Update paymentProcessor.js

* Update paymentProcessor.js

Do not process balances equal to fee in sendTToZ and sendZToT

* Update paymentProcessor.js

* Update paymentProcessor.js

* Update paymentProcessor.js

Clear opidCount when daemon reports no operations in progress.

* Update paymentProcessor.js

Default paymentInterval to 3 minutes if missing from pool config.
Warn users on paymentInterval less than 3 minutes.
Force paymentInterval no less than 1 minute to reduce RPC work queue.
Default walletInterval to 1 minute if missing from pool config.
Force walletInterval no less than 1 minute to reduce RPC work queue.
2017-05-25 16:40:53 -04:00
Procrastinator ec70c56327 Fixup Fixup 2017-05-14 02:09:56 -04:00
Procrastinator 606bc1f0a8 Update paymentProcessor.js 2017-05-14 01:56:39 -04:00
Procrastinator 291c26360d Update paymentProcessor.js 2017-05-14 01:52:26 -04:00
hellcatz c5bdda780c Update stats.js
Bugfix to bugfix ;)
2017-05-13 16:13:45 -07:00
hellcatz 9f0a8f5c32 Update stats.js
BugFix for miner balance reporting.
2017-05-13 16:10:55 -07:00
hellcatz ee27470e7a Update stats.js 2017-05-13 15:50:42 -07:00
hellcatz 6edd190842 Update api.js 2017-05-13 15:50:05 -07:00
hellcatz fe78759bf8 Update stats.js 2017-05-07 22:47:59 -07:00
hellcatz edf10ef2c9 Update stats.js
Add currentRoundTimes to stats.
2017-05-07 14:37:55 -07:00
hellcatz d233ffcb0d Update paymentProcessor.js
Added work share tracking in payments JSON data.
Remove workers with balanceChange of 0 from payments JSON data.
Commented out console.logs used for dev purposes.
2017-05-07 09:57:19 -07:00
hellcatz d53e6db63a Update website.js
Added support for older node-watch versions, prior to 0.5.0
2017-05-06 17:58:19 -07:00
hellcatz 3062f5ae9e Update shareProcessor.js 2017-05-06 17:46:42 -07:00
hellcatz 6f62e0a7c6 Update poolWorker.js
Added time share tracking messaging to master process for PPLNT.
2017-05-06 17:44:12 -07:00
hellcatz e9d4c0bc92 Update shareProcessor.js
Removed time share tracking from shareProcessor due to threading issues.
2017-05-06 17:43:01 -07:00
hellcatz 7865d6818e Update paymentProcessor.js
Allow minConfShield and minConfPayout to be set via pool_config
Updated stats collection and operation id tracking to use their own fixed timeout intervals.
2017-05-05 22:41:54 -07:00
hellcatz 3bc190ada0 Update shareProcessor.js 2017-05-05 21:19:02 -07:00
hellcatz 8f68e3e36a Update paymentProcessor.js
Added coin market stats caching from https://coinmarketcap.com/api/
2017-05-05 21:00:28 -07:00
hellcatz d5d4f9c67a Update stats.js
Sort pools by name in stats array
Added market stats object
2017-05-05 20:57:47 -07:00
hellcatz 133ce797b7 Update stats.js
BugFix: prevent `confirms` from being null
2017-05-04 18:56:05 -07:00
hellcatz c0f66c0b29 Update paymentProcessor.js
Updates to comments in code...
2017-05-03 23:41:00 -07:00
hellcatz 241bdea7ee Merge remote-tracking branch 'upstream/master' into patch-6 2017-05-03 22:21:02 -07:00
hellcatz 774e2b0088 Update paymentProcessor.js
Experimental PPLNT support (console.logs need to be removed after experiments)
Major reduction in RPC calls to daemon.
Balance rounding improvements.
Improvements to confirmations tracking.
Improvements to operation id tracking.
Improved error handling.
2017-05-03 22:20:08 -07:00
hellcatz 0f6192e3aa Update shareProcessor.js
Track miner times by address not worker name
2017-04-30 13:10:05 -07:00
hellcatz 4e23d7cace Update shareProcessor.js 2017-04-29 15:16:57 -07:00
hellcatz fb5bcf4af5 Update shareProcessor.js
Improved rounding.
2017-04-29 14:54:26 -07:00
hellcatz 7f66c85362 Update shareProcessor.js 2017-04-29 13:07:09 -07:00
hellcatz 4ac324c796 Update shareProcessor.js
Add time share tracking for PPLNT
2017-04-29 12:44:04 -07:00
hellcatz b224c82971 Update paymentProcessor.js
Track balanceChange in payments.
2017-04-25 22:15:41 -07:00
hellcatz 2d85b9f34a Update stats.js
Force integer sorting of block height.
2017-04-24 10:04:16 -07:00
hellcatz 8f942b7c45 Update website.js
Fix exception when not running TLS website frontend.
2017-04-23 11:40:34 -07:00