Kano
6d6692ce9a
api.c DEBUG message has no paramter
12 years ago
Con Kolivas
f6f43500c0
Detect stratum in common place when adding urls, and use a bool to tell us when it's active.
12 years ago
Con Kolivas
144a016097
Add data structures to pool struct for socket communications.
12 years ago
Con Kolivas
b3cdd8029a
Put all socket definitions in util.h to allow reusing by added socket functions to be used in util.c.
12 years ago
Kano
7c32562d80
API stats add some pool getwork difficulty stats
12 years ago
Kano
17973c59c4
API don't change 'Diff1 Shares' - backward compatability FTW
12 years ago
Kano
a6bf276f6b
API - Add last share difficulty for devices and pool
12 years ago
Kano
89b6989fb3
Store and report Accepted,Rejected,Stale difficulty in the summary and API
12 years ago
Kano
a2cc588c51
api.c remove compile warnings
12 years ago
Kano
bd3c98aaaf
Optional WorkTime details with each Accepted/Rejected work item
12 years ago
Kano
ade940bcba
api.c all STATUS messages automatically escaped
12 years ago
Kano
fd2fa260c7
api.c add missing escape for comma in MSG_PGAUNW
12 years ago
Kano
99f0607fb2
API add display of and setting queue,scantime,expiry
12 years ago
Kano
cef9731fbc
CURL support for individual proxy per pool and all proxy types
12 years ago
Kano
9950cff5ae
API pgaidentify - unsupported message should be a warning
12 years ago
Kano
9487ba05cd
API/BFL identify a device - currently only BFL to flash the led
12 years ago
Kano
7a2407f15c
BFL add throttle count to internal stats + API
12 years ago
Kano
93555e271a
API add device diff1 work
12 years ago
Kano
381478e65c
api.c Correct diff1 field name
12 years ago
Kano
568b0fed89
API allow full debug settings control
12 years ago
Kano
d5f485c517
Pools: add RollTime info to API 'stats' and 'Stats' button in miner.php
12 years ago
Kano
b3e9858c9f
API new command 'coin' with mining information
12 years ago
Kano
9210abdf60
API V1.17 show Work Utility and Diff1 Shares
12 years ago
Kano
70c57e7d40
api.c typo
13 years ago
Kano
95dff7363e
API allow display/change failover-only setting
13 years ago
Kano
b33ea2674d
api.c update API start message and include port number
13 years ago
Kano
56f06e1e9b
API remove unused warning in non-GPU compile
13 years ago
Kano
ede0dd6a52
api.c in linux allow to open a closed socket in TIME_WAIT
13 years ago
Kano
70cba2ae25
Style
13 years ago
Kano
51940ec719
api.c verify poolpriority parameters before changing pools
13 years ago
Kano
854a80ff03
api.c poolpriority changes
13 years ago
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.
13 years ago
Luke Dashjr
5ef9c13924
Bugfix: API: Report errors from poolpriority command
13 years ago
Luke Dashjr
8326d2dcaf
RPC: New "poolpriority" command to set the order of pool priorities
13 years ago
Luke Dashjr
a854779077
rpc: Use a single switch statement for both stringifications of cgpu->status
13 years ago
Con Kolivas
0ed757a020
Use switch statement for cgpu->status and fix spelling.
13 years ago
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
13 years ago
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.
13 years ago
Kano
ff0afb94ec
Add API Notify counter 'Comms Error'
13 years ago
Con Kolivas
8b050083a0
Style police on api.c
13 years ago
Kano
c8535133aa
api.c put version up to 1.14
13 years ago
Kano
06f5f35ad4
api.c allow NULL data displayed as (null)
13 years ago
Kano
eab9debc72
api.c data structure - all testing attempted successful
13 years ago
Kano
d8abfb713e
api.c data structure - tested + updated get_api_stats/driver-icarus.c
13 years ago
Kano
538653a53e
api.c data structure - 2nd - untested
13 years ago
Kano
21e4cd85ea
api.c data structure rather than raw sprintf - 1st test
13 years ago
Kano
b63a374de2
api.c ensure old mode is always available when not using --api-groups + quit() on param errors
13 years ago
Kano
05b8f5b099
api.c fix json already closed
13 years ago
Kano
659e50434e
implement and document API option --api-groups
13 years ago
Kano
e4f9cc4e3e
api.c allow unwell devices to be enabled so they can be cured
13 years ago