1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00
Commit Graph

130 Commits

Author SHA1 Message Date
Kano
9210abdf60 API V1.17 show Work Utility and Diff1 Shares 2012-08-19 15:09:45 +10:00
Kano
70c57e7d40 api.c typo 2012-08-14 12:58:08 +10:00
Kano
95dff7363e API allow display/change failover-only setting 2012-08-14 12:54:27 +10:00
Kano
b33ea2674d api.c update API start message and include port number 2012-08-06 01:05:21 +10:00
Kano
56f06e1e9b API remove unused warning in non-GPU compile 2012-08-04 16:55:55 +10:00
Kano
ede0dd6a52 api.c in linux allow to open a closed socket in TIME_WAIT 2012-08-04 16:48:55 +10:00
Kano
70cba2ae25 Style 2012-07-30 07:34:06 +10:00
Kano
51940ec719 api.c verify poolpriority parameters before changing pools 2012-07-29 23:40:01 +10:00
Kano
854a80ff03 api.c poolpriority changes 2012-07-29 23:15:20 +10:00
kanoi
fe23dfd3d4 Merge pull request #2 from luke-jr/rpc_poolpriority
RPC: New "poolpriority" command to set the order of pool priorities
2012-07-29 04:16:29 -07:00
Con Kolivas
e87ff7c177 Keep a counter of enabled pools and use that instead of iterating over the pool list. Use that value to ensure we don't set the last remaining active pool to the rejecting state. 2012-07-29 13:15:39 +10:00
Luke Dashjr
5ef9c13924 Bugfix: API: Report errors from poolpriority command 2012-07-27 21:28:13 +00:00
Luke Dashjr
8326d2dcaf RPC: New "poolpriority" command to set the order of pool priorities 2012-07-27 21:27:37 +00:00
Luke Dashjr
a854779077 rpc: Use a single switch statement for both stringifications of cgpu->status 2012-07-12 17:05:25 +00:00
Con Kolivas
0ed757a020 Use switch statement for cgpu->status and fix spelling. 2012-07-12 16:05:17 +10:00
Con Kolivas
96f3a98838 Merge pull request #264 from luke-jr/life_init
Bugfix: Don't declare devices SICK if they're just busy initializing
2012-07-11 23:00:35 -07:00
Luke Dashjr
c57c308d1f Bugfix: Don't declare devices SICK if they're just busy initializing
This mainly applies to ModMiner since it takes 4-5 minutes to upload the bitstream
2012-07-11 20:29:06 +00:00
Zefir Kurtisi
7502af263c fix API support for big endian machines
Previously the allowed IP addresses were stored in little
endian representation and caused mismatch when run on big
endian machines.

Allowed IPs and netmasks are now kept in network byte
order and converted to little endian for matching
connecting client IP with allowed ones.
2012-07-08 16:25:39 +02:00
Kano
ff0afb94ec Add API Notify counter 'Comms Error' 2012-07-03 13:14:30 +10:00
Con Kolivas
8b050083a0 Style police on api.c 2012-07-03 11:32:42 +10:00
Kano
c8535133aa api.c put version up to 1.14 2012-07-01 15:29:41 +10:00
Kano
06f5f35ad4 api.c allow NULL data displayed as (null) 2012-07-01 00:42:34 +10:00
Kano
eab9debc72 api.c data structure - all testing attempted successful 2012-06-30 23:41:22 +10:00
Kano
d8abfb713e api.c data structure - tested + updated get_api_stats/driver-icarus.c 2012-06-30 15:58:31 +10:00
Kano
538653a53e api.c data structure - 2nd - untested 2012-06-30 12:44:57 +10:00
Kano
21e4cd85ea api.c data structure rather than raw sprintf - 1st test 2012-06-30 02:49:01 +10:00
Kano
b63a374de2 api.c ensure old mode is always available when not using --api-groups + quit() on param errors 2012-06-28 11:59:11 +10:00
Kano
05b8f5b099 api.c fix json already closed 2012-06-28 05:59:31 +10:00
Kano
659e50434e implement and document API option --api-groups 2012-06-28 02:29:58 +10:00
Kano
e4f9cc4e3e api.c allow unwell devices to be enabled so they can be cured 2012-06-27 21:21:54 +10:00
Con Kolivas
c027492fa4 Make the pools array a dynamically allocated array to allow unlimited pools to be added. 2012-06-25 17:06:26 +10:00
Kano
195d915a6c api.c display Pool Av in json 2012-06-24 16:31:11 +10:00
Con Kolivas
f32ffb8718 Work out a rolling average getwork delay stored in pool_stats. 2012-06-24 13:20:17 +10:00
Paul Sheppard
7ae22e21e3 Disable OpenCL code when not available. 2012-06-16 20:24:40 -07:00
Con Kolivas
30bb3c62a6 Merge pull request #224 from kanoi/master
API add ModMinerQuad support
2012-06-14 02:38:24 -07:00
drizztbsd
7dcd9f3ed2 Fix typo in some API messages (succeess/success) 2012-06-13 20:31:03 +03:00
Kano
836b76a0d6 api.c MMQ stat bugs 2012-06-14 03:14:02 +10:00
Kano
913221c373 API add ModMinerQuad support 2012-06-14 02:57:37 +10:00
Kano
fdcd72b9ae API add stats for pool getworks 2012-06-10 11:19:21 +10:00
Con Kolivas
71378a4bd8 Merge pull request #209 from kanoi/977aecc4a60928d05719e3b0b534335b1f82effa
API save default config file if none specified
2012-06-01 22:12:08 -07:00
Kano
977aecc4a6 API update version to V1.11 and document changes 2012-05-31 23:30:38 +10:00
Kano
3cb3f09a50 API save default config file if none specified 2012-05-31 23:18:55 +10:00
Kano
fd9285eb72 api.c save success incorrectly returns error 2012-05-31 22:46:43 +10:00
Kano
a0936815a3 api.c replace BUFSIZ (linux/windows have different values) 2012-05-31 22:41:04 +10:00
Con Kolivas
84f3bf998b Use correct pool enabled enums in api.c. 2012-05-06 15:49:40 +10:00
Kano
00158c3a1f API 'stats' allow devices to add their own stats also for testing/debug 2012-05-05 16:25:19 +10:00
Kano
976e27c4cb API add getwork stats to cgminer - accesable from API 'stats' 2012-05-05 15:04:15 +10:00
Kano
a8619ad6f7 API support new pool status 2012-05-04 20:54:11 +10:00
Kano
44fc698750 API add last share time to each pool 2012-05-04 00:13:42 +10:00
Con Kolivas
d5d8c2cc5b Implement an older header fix for a label existing before the pthread_cleanup macro. 2012-05-03 10:49:42 +10:00