Commit Graph

319 Commits

Author SHA1 Message Date
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
Alex Petrov 444fc6c070 Added new tab, Table statistics per coin/algo 2014-04-24 19:19:14 -04:00
Matt f1627f222d Possible fix for payment processing with x11 coins 2014-04-24 14:53:06 -06:00
Matt 432af28a78 Added reward address account detection in payment processing so addresses not under the default account of "" (empty string) will work. 2014-04-23 23:59:53 -06:00
Matt a279fb486f Probably fixed negative hashrate issue 2014-04-23 12:53:19 -06:00
k7 019865bc95 fix auto create worker bug 2014-04-22 00:19:15 +08:00
k7 75c091457b fix auto create worker with right password 2014-04-21 23:58:50 +08:00
k7 882f779e20 auto create mpos worker 2014-04-21 16:09:37 +08:00
Matt a4a2278443 diff1 is a normal JS number now rather than a bignum 2014-04-20 12:17:44 -06:00
Matthew Little cf74872863 Merge pull request #67 from bluecircle/master
Feature: Added automagical coin switching based on profitability
2014-04-20 12:16:19 -06:00
Matt e58689956d Changed stats to use algo multiplier 2014-04-20 12:04:41 -06:00
Jerry Brady 31f6091a14 diff computed from block info 2014-04-19 23:08:52 +00:00
Jerry Brady 26d98a1fd1 Merge branch 'master' of https://github.com/zone117x/node-stratum-portal 2014-04-19 00:43:16 +00:00
Matt 167be4baf0 Minor change in logging: does not log 'Share data and stats recorded' anymore 2014-04-18 13:44:19 -06:00
Jerry Brady b7e8f67f70 removed tabs 2014-04-18 12:48:59 +00:00
Jerry Brady 1134f13a40 remove extra logging 2014-04-17 23:09:53 +00:00
Jerry Brady ba30133bb2 final changes 2014-04-17 22:55:54 +00:00
Jerry Brady 860d36139b Merge branch 'master' of https://github.com/zone117x/node-stratum-portal 2014-04-17 19:26:09 +00:00
Matthew Little 57be035ff2 Include actual share diff in log ouput 2014-04-17 12:51:44 -06:00
Jerry Brady 2e77108b3c final mintpal changes 2014-04-17 03:29:37 +00:00
Jerry Brady 4469cf546c profit data working 2014-04-17 02:42:38 +00:00
Jerry Brady 9ad11516d2 checkpoint 2014-04-17 01:53:40 +00:00
Jerry Brady 384a10d825 checkpoint 2014-04-17 01:52:57 +00:00
Jerry Brady 9213b6bf96 Merge branch 'master' of https://github.com/zone117x/node-stratum-portal 2014-04-16 22:31:19 +00:00
Matt db9767f08e Added documentation for p2p usage 2014-04-16 11:50:33 -06:00
Matt 5db8c4997a Merge remote-tracking branch 'origin/master' 2014-04-15 16:39:02 -06:00
Matt 4888aaffba Changed all references to localhost to 127.0.0.1 for better system compatibility. Implemented thread-wide IP banning via IPC. Added redis config for portal-wide related db interactions (stats and proxy) 2014-04-15 16:38:51 -06:00
Jerry Brady d789e48063 Merge branch 'master' of https://github.com/zone117x/node-stratum-portal 2014-04-13 23:21:05 +00:00
Jerry Brady 93274f907b added support for difficulty and blockreward 2014-04-13 23:17:40 +00:00
Matt Culpepper 2d6470cf3f missing comma 2014-04-13 14:06:24 -05:00
Matt Culpepper 7b6044d674 create a config option for difficulty multiplier 2014-04-13 13:59:19 -05:00
Jerry Brady 550b09767e whitespace formatting 2014-04-13 16:46:06 +00:00
Jerry Brady 0af27316d3 profitability data collection from Poloniex 2014-04-13 16:44:12 +00:00
Matt Culpepper 473322c72f handle x11 difficulty for mpos compatibility 2014-04-12 23:29:57 -05:00
Matt d08cd2fbc6 Merge remote-tracking branch 'origin/master' 2014-04-11 17:26:52 -06:00
Matt cf74cd4119 Fixed stat page erroring when coins were added. Changed default stat update interval to 60 seconds. 2014-04-11 17:26:45 -06:00
Jerry Brady 5f6b09a877 fix proxy state loading bug when key not present 2014-04-11 13:26:42 +00:00
Jerry Brady b9891c8624 fix proxy state loading bug when key not present 2014-04-11 13:24:12 +00:00
Matt 201d02d10b Refactored website. Added historical stats. 2014-04-10 19:33:41 -06:00
Jerry Brady 2f8620a454 store proxy state in redis and restore on restart; disable example pool 2014-04-09 01:33:46 +00:00
Matt c3ba819f24 Set coin switching feature to not require lower case. Added documentation for proxy and coin switching 2014-04-08 12:23:48 -06:00
Jerry Brady 27a8de62cb proxy switching added and working 2014-04-07 03:11:53 +00:00
Jerry Brady 8670a88de6 Merge branch 'master' of https://github.com/zone117x/node-stratum-portal into bluecircle 2014-04-06 00:16:21 +00:00
Jerry Brady 22697fed80 fix issue #40 2014-04-06 00:14:07 +00:00
Matthew Little fabf823727 Merge pull request #41 from bluecircle/bluecircle
Ensure configuration value for validation of pool workers is honored
2014-04-05 17:45:11 -06:00
Jerry Brady dc3dcd01a7 Ensure configuration value for validation of pool workers is honored 2014-04-05 23:43:02 +00:00
Matt 575158f858 More error handling for blocknotify 2014-04-05 16:29:24 -06:00
Eugene@ubuntu 086ace75d7 fix payment redis final cleanout issue - possible double spending - optimized.v2 2014-04-05 05:02:52 +04:00
Eugene@ubuntu 245cca1c9b Merge branch 'zone117x-master' 2014-04-05 04:45:15 +04:00
Matthew Little 3509d3f19b Merge pull request #39 from bluecircle/bluecircle
Fix hashrate bug and add stats by algorithm to index and stats pages
2014-04-04 10:55:54 -06:00
Jerry Brady 71024f18dc Fix hashrate bug and add stats by algorithm to index and stats pages 2014-04-04 02:55:35 +00:00
Matthew Little 257010f6a4 Added low share diff tolerance. 2014-04-03 14:37:55 -06:00
Matt 361641019f Better logging for shares 2014-04-03 12:33:10 -06:00
Eugene@ubuntu 0fc90d082d Merge branch 'zone117x-master' 2014-04-03 20:17:38 +04:00
Matthew Little 984d3251b4 Merge pull request #38 from bluecircle/bluecircle
Added stats grouped by algorithm
2014-04-03 10:03:41 -06:00
Jerry Brady 795b93e254 fixed bug in collection of per algo hash rate string 2014-04-03 02:04:39 +00:00
Jerry Brady 5918baac2f added human readable auto-scaling hash rate strings to stats 2014-04-02 23:36:36 +00:00
Matt abcf97d34f Blocknotify listener errors are logged and don't crash the system. 2014-04-02 16:17:57 -06:00
Jerry Brady df5ed6d29b Merge remote-tracking branch 'origin/master' into bluecircle 2014-04-02 22:15:14 +00:00
Jerry Brady ba1836b605 Added stats grouped by algorithm 2014-04-02 21:42:50 +00:00
Eugene@ubuntu a9132319cc fix payment redis final cleanout issue - possible double spending - optimized - fixed 2014-04-03 00:43:58 +04:00
Eugene@ubuntu 1f15c418c8 Merge branch 'zone117x-master' 2014-04-03 00:37:32 +04:00
Matt b08468ba8d Added "emitInvalidBlocksHahes" option for those in MPOS mode that require it. 2014-04-02 13:01:05 -06:00
Eugene@ubuntu 7fe215679a fix payment redis final cleanout issue - possible double spending - optimized 2014-04-02 14:56:13 +04:00
Matt dafb0a7a55 Added check for dropkicked (self orphaned) blocks that have the same txHash 2014-04-01 16:39:27 -06:00
Matt ba74b107d5 1) Added link to supported hashing algos, 2) added vertcoin (scrypt-n) example 2014-03-31 11:29:36 -06:00
Matt b7e7916736 Better logging for various components, changed example payment intervals from 10 seconds to 60 seconds. Added more coins and example pool configs. 2014-03-30 17:04:54 -06:00
Matt 9b3d5766df Stats now use algo data from stratum-pool module 2014-03-30 04:16:02 -06:00
Matt c699e66a5d Better mpos/mysql logging. Added maxcoin config. 2014-03-29 19:59:22 -06:00
Matthew Little 2e79bc098d Merge pull request #20 from UdjinM6/master
enabled:true seems more natural than disabled:false in poolOptions
2014-03-28 11:33:19 -06:00
Matt 514d04d6ad Allow shares of float difficulties to be inserted into redis instead of just integers. 2014-03-28 10:19:10 -06:00
Eugene@ubuntu a8d0f00e90 merging fixes 2014-03-28 02:50:55 +04:00
Matt 4a651dec89 Payment processing seems to be working well 2014-03-27 16:29:43 -06:00
Matt d3e2057ec9 Daemons will rarely arbitrarily drop blocks that it previously considered valid. This is a bug in the daemon or maybe only in testnet. This fix treats those dropped blocks as orhpans. 2014-03-27 12:57:56 -06:00
Matthew Little e4e1d1ecc7 Merge pull request #18 from UdjinM6/master
fixing timeout issue in paymentProcessor (and get rid of paytxfee - it doesn't help)
2014-03-27 11:53:52 -06:00
Matt 42ae0a4231 Added block hash (solution) to redis so we can see whats going on with the invalid transactions. 2014-03-27 11:52:54 -06:00
Eugene@ubuntu d3699b3d08 merge latest fixes and fee withdrawal functionality 2014-03-27 20:45:20 +04:00
Eugene@ubuntu d744dc2857 remove paytxfee functionality - it doesnt really help 2014-03-27 17:28:42 +04:00
Eugene@ubuntu b5c9d0174b get tx fee paid from transaction made by sendmany 2014-03-27 17:22:21 +04:00
Matt 634f6c842f Added lots more comments and tried to squeeze all comments and code into github's max page width 2014-03-27 00:56:36 -06:00