Commit Graph
100 Commits
Author SHA1 Message Date
Alexander Blair e23658c21f Only the proxied versions need that data. Really. Why doesn't node blow up if I do that... 2017-07-04 12:13:10 -07:00
Alexander Blair e0d39be694 Update for the pool nonce save location. 2017-07-04 12:05:55 -07:00
Alexander Blair a875391b0c Expand reserve_size so there is a NUL byte at the end, this allows the end-pools to use a UInt32BE call at the end. 2017-07-04 10:04:17 -07:00
Alexander Blair 9f62144d04 Update to reverse the pool nonce vs the client nonce. 2017-07-04 09:34:54 -07:00
Alexander Blair f77ceae79b Fixes to send more diff information down the wire. 2017-07-03 07:47:37 -07:00
Alexander Blair 778dd7d1b8 Helps if I hit the right frunction. 2017-07-03 06:49:32 -07:00
Alexander Blair 916019f418 Setting the new sizes, holders, and test states to see if this thing works. 2017-07-03 06:43:52 -07:00
Snipa22andGitHub fb9971c11a Merge pull request #85 from suhz/master
fixes for incorrect offset for pagination
2017-07-02 13:25:22 -07:00
Alexander Blair 464bb13c5b Don't clear the worker list the first time though... 2017-07-01 21:42:29 -07:00
Alexander Blair fb00ada16e Put a backup check for template updates to try and grab one every 60 seconds. 2017-07-01 21:35:24 -07:00
Alexander Blair 296dd93b68 32 queue workers for dealing with shares. Primarily non-blocking. Lets see if this plays better. 2017-07-01 20:55:49 -07:00
Alexander Blair 92740a4642 Cherrypicking a couple of commits, merge-conflicts later, but I'll deal with it then. 2017-07-01 20:47:38 -07:00
Alexander Blair df94faab9b Small update to send all work to be done up to the Master thread. This should help deal with the fact that shares must be sent by one of the nodes that handles data. 2017-07-01 20:38:16 -07:00
Snipa22andGitHub c492925dc9 Merge pull request #82 from Snipa22/develop
Develop
2017-06-29 10:29:59 -07:00
Snipa22andGitHub dd22c22051 Merge pull request #80 from JamesKegel/patch-1
updating path for api address in config
2017-06-29 10:00:42 -07:00
Snipa22andGitHub fb49d862af Update remoteShare.js 2017-06-27 07:25:10 -07:00
Alexander Blair b9cf9fe3e3 Update to fix roundHashes not being set as part of the dataset. 2017-06-27 06:04:01 -07:00
Alexander Blair a5d99f3401 Update to how we store share data to avoid transactional locks. 2017-06-26 17:27:32 -07:00
Alexander Blair 5d1af0506a Adding a block so that if there's not an activeBlockTemplate the system will kick out the miner to avoid the system crashing on reboot/startup. 2017-06-16 10:19:14 -07:00
Snipa22andGitHub 103d1c5ea2 Create README.md
Quick update to ensure the path is in nodejs-pool before pm2 starting the apps.
2017-06-11 18:16:59 -07:00
Snipa22andGitHub 4a4a28fc54 Merge pull request #73 from Snipa22/develop
Fixes roundHashes not resetting
2017-06-09 20:54:49 -07:00
Alexander Blair be43514016 Fixes roundHashes not resetting
Fix for #72
Issue is that the system may have a loaded chunk of shares to work on at the time of the block find, causing the cashed values to load instead.

Prep work for adding more coins.  Moving the multi-hashing AES-NI lib + the CN-Utils lib to optional requirements.
2017-06-09 20:51:18 -07:00
Snipa22andGitHub fcbd0c79b5 Update README.md
Silly euros and using D/M/Y versus M/D/Y
2017-06-02 16:54:01 -07:00
Alexander Blair 8337487577 Adding the LMDB deployment tools to the stack and installers. 2017-06-02 04:39:55 -07:00
Alexander Blair 76b1c898bf Merge remote-tracking branch 'origin/develop' 2017-06-02 03:51:39 -07:00
Snipa22andGitHub fe914cca4e Updating deploy.bash to new Caddy download path
Caddyserver changed download URL.  This is the new URL.
2017-05-21 14:44:22 -07:00
Alexander Blair ccc23c40c7 Fixing a reference. 2017-05-19 18:17:26 -07:00
Alexander Blair d618eecd3b Need to refrence the right DB. 2017-05-19 18:15:44 -07:00
Alexander Blair d058c0c7fd Fixing path to loading tools. 2017-05-19 18:12:19 -07:00
Alexander Blair 753f2c8e81 Update to include the new tool framework. 2017-05-19 18:08:06 -07:00
Alexander Blair 6833ad7b0f Adding a higher level filter in remoteShare 2017-05-19 17:49:20 -07:00
Alexander Blair e39ed5203c Adding logging for errors in the share parsing. 2017-05-19 17:47:36 -07:00
Alexander Blair 6413b89345 If share.shares is not a number, don't try to add it to the processing list. 2017-05-19 17:43:58 -07:00
Alexander Blair 7e800538d8 More data fixes.... 2017-05-19 17:38:27 -07:00
Alexander Blair e6cf90a230 Update to make sure we clear the shares every submit. 2017-05-19 17:21:50 -07:00
Alexander Blair 2bbcc70ff1 New share handler again. With catch for error. 2017-05-19 17:16:26 -07:00
Alexander Blair 245bc6454e Update with parseInt 2017-05-19 17:10:30 -07:00
Alexander Blair 21ba152429 Update with the new share handling system. 2017-05-19 17:08:47 -07:00
Alexander Blair 063b206d46 Moving share validation into remoteShare before it ever gets to our internal processing DB loop. 2017-05-19 16:54:20 -07:00
Alexander Blair cdf17d4e70 Update to try and bulk-insert on new shares. We'll see how it goes.... 2017-05-19 16:40:22 -07:00
Alexander Blair cce2a67c70 New cache function for bulk-inserts in single txn to avoid excessive disk writes and blocking by worker.
Adding new getBlockByID function for future tool functionality.
2017-05-19 14:51:48 -07:00
Snipa22andGitHub f80b8d625c Merge pull request #68 from M5M400/patch-1
changed monerod version to v0.10.3.1
2017-05-18 08:51:01 -07:00
Snipa22andGitHub 26093f17f7 Merge pull request #67 from rmbell/master
small fix for missing ,
2017-05-11 08:13:24 -07:00
Snipa22andGitHub d6c0bfd488 Merge pull request #66 from M5M400/claymore-address
Update xmr.js
2017-05-04 07:48:08 -07:00
Snipa22andGitHub 32fb924fab Merge pull request #65 from M5M400/TX-priority
adding config setting for TX priority
2017-05-04 07:48:02 -07:00
Snipa22andGitHub cb881695d3 Update support.js 2017-04-18 14:04:55 -07:00
Snipa22andGitHub dc3dd03e83 Update deploy.bash 2017-04-18 12:26:05 -07:00
Snipa22andGitHub 8e79d682a3 Update monero_daemon.patch 2017-04-07 15:56:16 -07:00
Snipa22andGitHub 657d1cec52 Update monero_daemon.patch 2017-04-07 15:53:41 -07:00
Snipa22andGitHub c37e80d334 Update upgrade_monero.bash 2017-04-07 15:51:44 -07:00
Snipa22andGitHub 8e81ad2f25 Update upgrade_monero.bash 2017-04-07 15:42:35 -07:00
Alexander Blair 01dfbbbcc5 Adding support for 10.3.1
Adding keepalive support for the remote_comms sockets, allowing them to reuse the TCP/SSL connection for much better performance in high-load environments.
2017-04-07 01:39:58 -07:00
Snipa22andGitHub 1cb4aca08e Update payments.js 2017-04-04 06:11:57 -07:00
Snipa22andGitHub f136eae607 Update upgrade_monero.bash
Fixing to git checkout.  Thanks M5M400!
2017-03-14 07:42:40 -07:00
Snipa22andGitHub d479d7cfac Merge pull request #52 from Snipa22/socketIO
Fixing to body from decoded.
2017-03-07 22:26:52 -08:00
Alexander Blair 2ea2827002 Fixing to body from decoded. 2017-03-07 22:25:16 -08:00
Snipa22andGitHub 50ee620110 Merge pull request #51 from Snipa22/socketIO
Socket io
2017-03-07 17:31:25 -08:00
Alexander Blair 657a46db4d Slow down some of the network updates. 2017-03-07 17:28:39 -08:00
Alexander Blair 6da367c587 Update with more debug states 2017-03-07 17:16:04 -08:00
Alexander Blair b3bb5a6cdf Update to API.Xmrpool.net default server. 2017-03-07 17:06:18 -08:00
Alexander Blair 43ad893d63 Setting NH diff to 100k. 2017-03-05 16:23:52 -08:00
Alexander Blair 0a3f8fca85 Updates across the board to the caddy and other configs. 2017-03-05 16:20:16 -08:00
Alexander Blair 885a0ef93c Update to finish supporting ZMQ + Socket.io.
Next up, documentation!
2017-03-05 16:06:28 -08:00
Alexander Blair f397c043c9 Finishing the init for ZMQ and updating the deployment scripts to support it. 2017-03-05 16:05:09 -08:00
Alexander Blair a34e8c6ceb Modifying this so it moves buffers into string. 2017-03-05 16:00:35 -08:00
Alexander Blair c9b0869e2c Update to newer express/socketIO connections. 2017-03-05 14:38:01 -08:00
Alexander Blair 1f9fe310c0 Adding ZMQ and SocketIO access. 2017-03-05 13:56:06 -08:00
Snipa22andGitHub 9e08dbbc90 Update leaf.bash 2017-03-01 13:48:28 -08:00
Snipa22andGitHub 23e556b0f8 Update deploy.bash 2017-03-01 13:48:18 -08:00
Snipa22andGitHub eba1c48b40 Merge pull request #49 from Didrole/wolf-xmr-miner-support
Generate smaller job ids.
2017-03-01 07:17:05 -08:00
Snipa22andGitHub 22c7f3ee48 Merge pull request #50 from Didrole/xmr-proxy-support
Xmr proxy support
2017-03-01 07:16:42 -08:00
Alexander Blair 3446d35adc Setting rate limits on the wgets 2017-02-26 11:49:27 -08:00
Alexander Blair 9cc9e06344 Whoops! 2017-02-26 10:52:26 -08:00
Alexander Blair c924194b49 Don't call callbacks so early. 2017-02-26 10:51:28 -08:00
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