Fixes for immature balance tracking.
Treat unpaid blocks as immature, until they are ready for payment.
Moved paymentsUpdate to final redis step in waterfall.
Misc improvements to payments waterfall.
Update recommended minimums.
Cache market stats every 5 minutes, do not use payment interval.
Changes to confirmation tracking and payments waterfall.
Add immature balance calculations and tracking.
Set `Content-Type: application/json` on api requests. This may help with browser compatibility and also allows browsers to render the json visually when directly browsing the api.
Fix issue when opids may have been cleared from node but not pool.
Do not increase opid count when `executing` as another app may have created an operation.
* payments.html - revamp
revamp of payments page css
-Time
+Transaction ID w/link to explorer
now matches worker stats
https://madmining.club/payments
* Update payments.html
taking out link to explorer
TODO add var for block explorer
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.
* 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
* 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.
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.
Allow minConfShield and minConfPayout to be set via pool_config
Updated stats collection and operation id tracking to use their own fixed timeout intervals.
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.
Major Updates 2
```major: added support for komodo, zcash, zclassic, (zdash not tested)
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```
Change block polling interval to 1 second for example configuration
Reduce historical retention to improve client browser performance for example configuration
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
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
Alternatively, you can use a more efficient block notify script written in pure C. Build and usage instructions
@ -129,11 +138,17 @@ the `node-stratum-pool` and `node-multi-hashing` modules, and any config files t
* Inside your Z-NOMP directory (where the init.js script is) do `git pull` to get the latest Z-NOMP code.
* Remove the dependenices by deleting the `node_modules` directory with `rm -r node_modules`.
* Run `npm update` to force updating/reinstalling of the dependencies.
* Compare your `config.json` and `pool_configs/coin.json` configurations to the latest example ones in this repo or the ones in the setup instructions where each config field is explained. You may need to modify or add any new changes.
* Compare your `config.json` and `pool_configs/coin.json` configurations to the latest example ones in this repo or the ones in the setup instructions where each config field is explained. <b>You may need to modify or add any new changes.</b>