Commit Graph

282 Commits

Author SHA1 Message Date
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
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