Con Kolivas
|
07e6bd1262
Provide a helper function for reading a single \n terminated string from a socket.
|
13 years ago |
Con Kolivas
|
f6f43500c0
Detect stratum in common place when adding urls, and use a bool to tell us when it's active.
|
13 years ago |
Con Kolivas
|
8fd149eec9
Fix warnings.
|
13 years ago |
Con Kolivas
|
e3f1b02e9a
Extract and store various parameters on stratum init confirming successful mining notify.
|
13 years ago |
Con Kolivas
|
c0de671c4f
Use existing socket macros and close the socket on failure in init stratum.
|
13 years ago |
Con Kolivas
|
a1b17229b8
Initiate stratum and grab first json result.
|
13 years ago |
Con Kolivas
|
58873c1dfa
Get detailed addressinfo from the parsed URL for future raw socket usage when possible. IPV4 only for now.
|
13 years ago |
Con Kolivas
|
ee3b7865e2
Prepare for getaddrinfo call.
|
13 years ago |
Kano
|
41dcb10d4c
util.c - bug - proxy - no data end condition
|
13 years ago |
Kano
|
bd3c98aaaf
Optional WorkTime details with each Accepted/Rejected work item
|
13 years ago |
Kano
|
e043f5a5aa
bug: remove proxy: from the front of the proxy used
|
13 years ago |
Kano
|
cef9731fbc
CURL support for individual proxy per pool and all proxy types
|
13 years ago |
Kano
|
d5f485c517
Pools: add RollTime info to API 'stats' and 'Stats' button in miner.php
|
13 years ago |
Con Kolivas
|
8745ba1e6d
Windows' timer resolution is limited to 15ms accuracy. This was breaking dynamic intensity since it tries to measure below this.
|
13 years ago |
Luke Dashjr
|
9c648c1749
Bugfix: Calculate nsec in nmsleep correctly
|
13 years ago |
Con Kolivas
|
bc0b14063f
Cope with signals interrupting the nanosleep of nmsleep.
|
13 years ago |
Con Kolivas
|
3271be145f
Provide a ms based sleep function that uses nanosleep to avoid the inaccuracy of usleep on SMP systems.
|
13 years ago |
ckolivas
|
1a43f79547
Mingw doesn't support asprintf, use sprintf.
|
13 years ago |
ckolivas
|
1e9421475c
Timersub is supported on all build platforms so do away with custom timerval_subtract function.
|
13 years ago |
ckolivas
|
75ea616422
Minor style police on util.c
|
13 years ago |
ckolivas
|
8f954d40ec
Get rid of unused result warning with asprintf.
|
13 years ago |
Con Kolivas
|
3267b534a8
Implement rudimentary X-Mining-Hashrate support.
|
13 years ago |
ckolivas
|
c5a21fabf0
Extend nrolltime to support the expiry= parameter. Do this by turning the rolltime bool into an integer set to the expiry time. If the pool supports rolltime but not expiry= then set the expiry time to the standard scantime.
|
13 years ago |
Con Kolivas
|
268039cc7e
Indentation clean up.
|
14 years ago |
Con Kolivas
|
eda382990a
Create one longpoll thread per pool, using backup pools for those pools that don't have longpoll.
|
14 years ago |
Con Kolivas
|
9609dbc42d
Set lp_path to NULL after free for consistency.
|
14 years ago |
nelisky
|
17b9baa9da
Removing dmalloc import left behind by mistake
|
14 years ago |
nelisky
|
44bcb69ccd
Fixing leak in resp_hdr_cb
|
14 years ago |
Luke Dashjr
|
ed8382c88d
Make curses TUI support optional at compile-time.
|
14 years ago |
Con Kolivas
|
d1cddf8bad
Update licensing to GPL V3.
|
14 years ago |