Commit Graph
100 Commits
Author SHA1 Message Date
Alexander Blair 81a05a64d1 Moving sql_sync to async each
Updated SQL_MIGRATIONS to pool.
2017-02-26 10:49:51 -08:00
Alexander Blair aa24805056 Adding the new SQL migrations and configurations to the base.sql file. 2017-02-26 10:33:48 -08:00
Alexander Blair f0cf898c53 Misnamed Var 2017-02-26 10:21:03 -08:00
Alexander Blair 3fab1673ff Payment Update
Moving payment timers into the database
Adding the last payment timer cycle to the stats
2017-02-26 10:20:11 -08:00
Alexander Blair 194ca829f5 PaymentID's weren't returning the correct data from the API. 2017-02-26 10:10:21 -08:00
Alexander Blair 4da670dddb Moving the status into the result state. 2017-02-26 00:14:16 -08:00
Alexander Blair e332e18264 Adding keepalived support to the pool source. 2017-02-25 23:17:54 -08:00
Alexander Blair 103a029e6e Need to return null, not True. 2017-02-25 14:10:26 -08:00
Alexander Blair 0b60e2845c Reverting timing change for stats. 2017-02-25 12:14:41 -08:00
Alexander Blair 0497b37eab Fixing sort to only be if not false
Fixes #23
2017-02-25 12:08:37 -08:00
Alexander Blair 4fdb237462 Adding valid/Invalid shares to workers and identifiers
Fixes #26
2017-02-25 11:52:17 -08:00
Alexander Blair c0a2c63062 Stats are now locked to only being available during a global tz. This should help deal with miners that have stats that run excessively far in comparison to the main system when they go offline for a day or two. 2017-02-25 11:39:37 -08:00
Alexander Blair 44f6391a6b Adding Toggle Email
EMail toggling added to the pool authed zones

Fixes #41
2017-02-25 11:07:33 -08:00
Alexander Blair 519f472666 Adding Toggle Email
EMail toggling added to the pool authed zones

Fixes #41
2017-02-25 11:07:20 -08:00
Alexander Blair 2a782cb3e8 Job handler caching
Caches the last job sent down the wire, and ensures that we can return it, rather than blank.

Fixes #37
2017-02-25 10:44:19 -08:00
Alexander Blair f89b709f93 v0.10.2.1 not 0.10.2.1 2017-02-25 08:15:03 -08:00
Alexander Blair 8ab38b4d79 trusted_daemon is now a config var upstream in the wallet, not in the other systems. 2017-02-25 08:13:32 -08:00
Alexander Blair 527d0965db Removing fluffy blocks patch. Moving to commit w/ fixes for the pool state. 2017-02-24 08:54:55 -08:00
Alexander Blair abfe00b1e0 Adding trusted_daemon: true as a default arg to the RPC for txns for 0.10.2 monero. 2017-02-24 08:40:43 -08:00
Snipa22andGitHub a5c0558989 Update leaf.bash 2017-02-23 18:14:38 -08:00
Snipa22andGitHub 3592995c8e Update deploy.bash 2017-02-23 18:14:17 -08:00
Snipa22andGitHub fde0e7bc64 Merge pull request #44 from minecoins/deploy
Deploy
2017-02-23 18:13:44 -08:00
Snipa22andGitHub 6f354620c9 Merge pull request #42 from minecoins/eof
No newline at EOF fix
2017-02-23 18:13:36 -08:00
Alexander Blair 906fb25670 That was bad. 2017-02-21 21:13:09 -08:00
Alexander Blair 7b2ed80b6e Fixing API 2017-02-21 19:33:22 -08:00
Alexander Blair 9ce7f4b102 Adding CORS 2017-02-21 17:02:11 -08:00
Alexander Blair f341363754 Adding CORS to express JS 2017-02-21 17:00:49 -08:00
Alexander Blair 0d8afd850f Resetting the setInterval system so it can't blow up in our faces. 2017-02-21 11:10:45 -08:00
Alexander Blair 9fd46553b9 Merge remote-tracking branch 'origin/master' 2017-02-21 11:09:31 -08:00
Alexander Blair 275031f3ad Resetting the setInterval system so it can't blow up in our faces. 2017-02-21 11:09:18 -08:00
Snipa22andGitHub ce191fc328 Merge pull request #35 from minecoins/deploy
Deployment cleanup
2017-02-21 08:36:17 -08:00
Alexander Blair 6bea16db87 Off by one error. 2017-02-21 08:27:51 -08:00
Alexander Blair 714b601c51 Do not do math while you're asleep. 2017-02-21 08:26:56 -08:00
Alexander Blair b022bf5cb6 Merge remote-tracking branch 'origin/master' 2017-02-21 08:25:17 -08:00
Alexander Blair 83f25b40a6 Offset handling. 2017-02-21 08:25:09 -08:00
Snipa22andGitHub 3c7c345e38 Merge pull request #32 from minecoins/readme-config-fix
REAMDE: config.json is already created by deploy.bash / renamed poolui
2017-02-20 14:55:36 -08:00
Snipa22andGitHub c95afc3f43 Merge pull request #28 from Snipa22/MinerGate
Miner gate
2017-02-17 16:16:22 -08:00
Alexander Blair 33e2f08eeb NiceHash fixing at 90k diff. 2017-02-17 16:13:58 -08:00
Alexander Blair ea8226ccac Minergate bypass 2017-02-17 16:08:36 -08:00
Snipa22andGitHub 8febc61be2 Update README.md
Adding notice information about sourcing ~/.bashrc to get NVM working
2017-02-16 10:30:21 -08:00
Alexander Blair b219080c3b Updating bitcoinDevimalToCoin. 2017-02-16 07:34:37 -08:00
Alexander Blair 27744c34da Using round instead. Should be slightly more accurate. 2017-02-16 07:33:43 -08:00
Alexander Blair e06673b794 Moving into a CEIL for decimalToCoin to fix rounding bugs in NodeJS. 2017-02-16 07:32:26 -08:00
Alexander Blair f618fba03a Update to move to shareMulti setting, rather than the hard-coded 2 value. 2017-02-15 21:57:09 -08:00
Alexander Blair e5a0c2685d Adding the token into the permitted headers for CORS. 2017-02-15 20:35:29 -08:00
Alexander Blair 26890d28a0 Update for the new CORS handling for frontend for the API. 2017-02-15 20:24:52 -08:00
Alexander Blair 7a52ba6004 If you can't hang with the mac, don't hmac. 2017-02-15 19:25:15 -08:00
Alexander Blair b3e2c58bcb Update to return a 401 on invalid. 2017-02-15 19:22:06 -08:00
Alexander Blair d0e15f7e1f We needed to be slightly more careful with this. Now we are! 2017-02-15 19:15:42 -08:00
Alexander Blair cc2bfffe07 If statements need elses. 2017-02-15 19:08:13 -08:00
Alexander Blair 603f56c743 Moving away from .keys to my already-available index. I am a spoon. 2017-02-15 19:01:08 -08:00
Alexander Blair becaf9424a Fix to make it so payment ID's won't auto-queue, but will error "safely" 2017-02-15 18:55:06 -08:00
Alexander Blair bf730fddbe Update to include roundHashes
Update to fix an API bug with identifiers
Moving payments that fail due to $$ to retry in 30 minutes - Need to block if it's payment ID based.
2017-02-15 18:49:12 -08:00
Alexander Blair aa0353868c Rearranging PPLNS and solo port ordering. 2017-02-15 17:41:28 -08:00
Alexander Blair ca2756c716 Regexes are 64 chars for this. Not 1. 2017-02-15 17:33:26 -08:00
Alexander Blair e8604bd320 Need to typeof the subkey. 2017-02-15 17:24:17 -08:00
Alexander Blair b64307deef Rearranging the state. 2017-02-15 17:19:31 -08:00
Alexander Blair 5cc1e051b9 That's offset, not page! 2017-02-15 17:11:32 -08:00
Alexander Blair 67e9a0bde1 Adding limit ranges and port blocking on the API. 2017-02-15 17:09:38 -08:00
Alexander Blair 7c79ceede5 Setting up port disable/lockout from the SQL into the main code base for the pool. Also making it so the API won't list a non-used pool type. 2017-02-15 16:22:35 -08:00
Alexander Blair e6b340a8c6 Merge remote-tracking branch 'origin/master' 2017-02-14 19:11:41 -08:00
Alexander Blair 225c54d016 Setting the manifest file's mime type. 2017-02-14 19:10:52 -08:00
Snipa22andGitHub bd6e88da1a Update deploy.bash 2017-02-14 10:32:21 -08:00
Snipa22andGitHub 2c36759b5f Update deploy.bash 2017-02-14 08:52:54 -08:00
Snipa22andGitHub 6f71c57b4b Update SQL_MIGRATIONS.md 2017-02-14 08:27:03 -08:00
Alexander Blair 7abe475b97 Fixing the timestamps in the master logger to keep them all synced to the run state time. 2017-02-13 21:18:04 -08:00
Alexander Blair 91fe9ffae1 Adding a sorter for timestamps on payments. 2017-02-13 20:14:02 -08:00
Alexander Blair 5c08412a9a Adding new frontend repo. 2017-02-13 19:57:42 -08:00
Alexander Blair 760ec284fb Updating the precision to make xmr.to happier. 2017-02-13 19:50:59 -08:00
Alexander Blair 0a589cdada Fixing the payment daemon. Just a little. 2017-02-13 19:42:13 -08:00
Snipa22andGitHub c02ce30e00 Merge pull request #14 from Snipa22/blockManager
Block manager
2017-02-13 11:56:50 -08:00
Alexander Blair 2d97826020 Merge remote-tracking branch 'origin/master' 2017-02-12 19:30:16 -08:00
Alexander Blair 9fd55bb9a8 Fix for the number of miners being displayed on the site. 2017-02-12 19:30:06 -08:00
Snipa22andGitHub 0e1a944546 Merge pull request #13 from Snipa22/email-breakout
Email breakout
2017-02-12 17:29:33 -08:00
Alexander Blair 8edd96535c Adding more base entries to SQL for the new worker emails. 2017-02-12 17:24:46 -08:00
Alexander Blair 1101872f5c Missed an identifier. 2017-02-12 15:09:04 -08:00
Alexander Blair 196ab43ea1 Updates to include the new e-mail settings stored in SQL. 2017-02-12 14:47:54 -08:00
Alexander Blair b0981bd189 Moving the pm2 logrotate stuff into a background installer. 2017-02-12 14:13:10 -08:00
Snipa22andGitHub bc0ecb24ca Update README.md 2017-02-12 13:43:04 -08:00
Alexander Blair e485d8b22f Difficulty exceeds int(11) 2017-02-12 01:28:06 -08:00
Alexander Blair cef180b02d Adding extra debug to the support library. 2017-02-12 00:33:46 -08:00
Alexander Blair c0c9c0ae1c Adding a check for sanity to the blockManager task. 2017-02-12 00:12:43 -08:00
Snipa22andGitHub 6743f6b994 Merge pull request #11 from minecoins/guide-formatting
README formatting to make it more readable
2017-02-12 00:02:39 -08:00
Snipa22andGitHub 5b36c095a5 Update LICENSE
Updates with log chunks from Zone117x's and Snipa/Snipa22's conversation about the MIT licensing process.
2017-02-11 16:56:09 -08:00
Snipa22andGitHub 192a96ce61 Create LICENSE
Permission granted to move from GPLv2 to MIT by Zone117x for code moved from the node-cryptonote-pool repo.  Relevant code chunks can be found in lib/pool.js and lib/coins/xmr.js
2017-02-11 16:23:56 -08:00
Snipa22andGitHub 0583d05627 Update README.md 2017-02-11 12:59:42 -08:00
Snipa22andGitHub c5ecd8dcd3 Update README.md 2017-02-11 12:13:04 -08:00
Alexander Blair 151d1a80a0 Making the wallet stats error more verbose. 2017-02-11 12:04:21 -08:00
Snipa22andGitHub 9ffbadd145 Merge pull request #10 from Snipa22/full_group_by_fix
Adding a fix for full_group_by SQL servers
2017-02-11 12:02:33 -08:00
Snipa22andGitHub 2531e47a5c Merge pull request #9 from Snipa22/sql_fixes
Sql fixes
2017-02-11 12:02:03 -08:00
Alexander Blair 8a3d9dcf24 Adding timestamps to PM2 startup stuff. 2017-02-11 12:01:51 -08:00
Alexander Blair 5566e7d83a Merge branch 'master' into sql_fixes
# Conflicts:
#	README.md
2017-02-11 11:59:51 -08:00
Alexander Blair f8be94b4f2 Couple of configuration updates, and removing a couple of defaults that should be blank and sane. 2017-02-11 11:57:32 -08:00
Alexander Blair 4af3a38355 Moving loop counter to inside of the sql select, and adding an extra abort stage. 2017-02-11 11:52:30 -08:00
Alexander Blair 9977bae7b4 Updates to fix a .sql bug. Adding a script to migrate configuration values in the future. 2017-02-11 11:47:36 -08:00
Alexander Blair c92b02363c Adding a fix for full_group_by SQL servers 2017-02-11 11:40:57 -08:00
Snipa22andGitHub c854d2b5bb Update README.md 2017-02-11 11:35:00 -08:00
Snipa22andGitHub 9245e08577 Update README.md 2017-02-11 10:55:50 -08:00
Snipa22andGitHub 2d6731a743 Update README.md 2017-02-11 10:24:05 -08:00
Alexander Blair 0c25ef094d Update to use pool. rather than monero_live 2017-02-11 02:33:38 -08:00