Commit Graph

319 Commits

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