Commit graph

106 commits

Author SHA1 Message Date
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
Snipa22
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
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
Alexander Blair
d618eecd3b Need to refrence the right DB. 2017-05-19 18:15:44 -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
Alexander Blair
db1a3263e4 Fixing worker so it doesn't break so bad. 2017-05-17 07:10:26 -07:00
Alexander Blair
bd63785cb0 Update to start working out the env_sync segfaults. 2017-05-17 07:07:31 -07:00
Your Name
1651912540 small fix for missing , 2017-05-11 09:57:39 -04:00
Snipa22
d6c0bfd488 Merge pull request #66 from M5M400/claymore-address
Update xmr.js
2017-05-04 07:48:08 -07:00
M5M400
dac1d39407 Update xmr.js 2017-05-04 15:22:20 +02:00
M5M400
ecf74a3b91 Update payments.js
added TX priority config setting
2017-05-04 11:20:51 +02:00
Snipa22
cb881695d3 Update support.js 2017-04-18 14:04:55 -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
Snipa22
1cb4aca08e Update payments.js 2017-04-04 06:11:57 -07:00
Snipa22
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
Snipa22
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
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
Snipa22
eba1c48b40 Merge pull request #49 from Didrole/wolf-xmr-miner-support
Generate smaller job ids.
2017-03-01 07:17:05 -08:00
Didrole
82fcd2e1a9 Allow miners to not specify an agent.
Because xmr-proxy doesn't relay the agent.

https://github.com/Atrides/xmr-proxy/blob/master/mining_libs/stratum_listener.py#L167
2017-03-01 12:15:45 +01:00
Didrole
2ebcec91c0 Send RPC id with jobs. 2017-03-01 12:07:51 +01:00
Didrole
f5e573c6aa Generate smaller job ids.
Because wolf-xmr-miner supports up to 31 bytes ids.

https://github.com/wolf9466/wolf-xmr-miner/blob/master/stratum.h#L10
https://github.com/wolf9466/wolf-xmr-miner/blob/master/main.c#L1241
2017-03-01 11:58:03 +01: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