|
2e5c69bf
|
2014-03-02T13:08:02
|
|
Clean up parse_method
|
|
e9f10244
|
2014-03-02T08:50:20
|
|
More gracefully break out of parse_notify on a corrupted hex string error, checking the return value of all hex2bin conversions and being consistent with using stack memory. Fix an unlocking error in cases of failure.
|
|
4887025a
|
2014-02-07T08:33:00
|
|
Only show one decimal place if pool diff is not an integer.
|
|
3adb8279
|
2014-02-02T08:37:01
|
|
Check for more interrupted conditions in util.c and handle them gracefully.
|
|
e799a53a
|
2014-02-01T23:01:38
|
|
Handle interruptions to various select calls in util.c
|
|
4b9d03b5
|
2014-01-23T22:03:39
|
|
Merge branch 'master' of github.com:ckolivas/cgminer
|
|
295c1c74
|
2014-01-23T22:02:58
|
|
Clear pool work on a stratum reconnect message.
|
|
d9440866
|
2014-01-18T09:36:51
|
|
Modify thread naming to make them easier to identify
|
|
589eeda0
|
2014-01-11T09:32:16
|
|
Change stratum strings under stratum_lock in reconnect and free old strings.
|
|
03da645d
|
2013-12-09T23:11:47
|
|
Provide a helper function that can reset cgsems to zero.
|
|
4715ee84
|
2013-11-22T10:37:44
|
|
Drop json stratum auth failed message log level to verbose.
|
|
8aea6859
|
2013-11-13T11:57:29
|
|
util.c: Decreasing reference count on allocated JSON obects to prevent memory leak
|
|
27be1f7a
|
2013-11-13T11:57:29
|
|
util.c: Decreasing reference count on allocated JSON obects to prevent memory leak
|
|
bca51e7e
|
2013-11-13T11:57:29
|
|
util.c: Decreasing reference count on allocated JSON obects to prevent memory leak
|
|
5d7c99f3
|
2013-11-06T00:24:16
|
|
Revert "Return ETIMEDOUT regardless if we fail in cgsem_mswait since we may be waiting on it on shutdown and the return response is harmless."
This reverts commit 3dcae53e38021a61c10de1414195926c339d1c89.
|
|
3dcae53e
|
2013-11-05T21:56:01
|
|
Return ETIMEDOUT regardless if we fail in cgsem_mswait since we may be waiting on it on shutdown and the return response is harmless.
|
|
759bd39f
|
2013-11-02T11:04:06
|
|
Avoid the extra generation of a byte flipped hash2 in struct work and directly use the LE work hash.
|
|
eaaf34a1
|
2013-10-31T15:07:26
|
|
Use a non blocking connect with a 1 second select timeout when initiating stratum to allow us to iterate over all IPs returned by getaddrinfo in round robin DNS pools.
|
|
f75fdbbb
|
2013-08-22T16:02:02
|
|
Improve performance of work generation by optimizing hex2bin and bin2hex
sprintf is a very expensive function, do direct translation instead.
|
|
3b04a306
|
2013-10-28T11:37:13
|
|
Merge branch 'master' into kncminer
|
|
b424612c
|
2013-10-27T13:35:47
|
|
Use a sanity check on timeout on windows.
|
|
dee0192b
|
2013-08-22T16:02:02
|
|
Improve performance of work generation by optimizing hex2bin and bin2hex
sprintf is a very expensive function, do direct translation instead.
|
|
d342bcbe
|
2013-10-25T11:56:32
|
|
Provide a mechanism for informing drivers of updated work templates for stratum and gbt mining.
|
|
8dcbc86b
|
2013-10-23T09:55:10
|
|
Use windows' own higher resolution time and handlers allowing us to have higher precision absolute timeouts.
|
|
563cad18
|
2013-10-23T09:13:50
|
|
Fix lldiv error in windows cgminer_t calculation.
|
|
39563824
|
2013-10-18T22:04:21
|
|
Send pthread_cancel to failed completion_timeout that has timed out.
|
|
7838af1d
|
2013-10-18T10:51:44
|
|
Remove unused variables.
|
|
0430165f
|
2013-10-18T10:26:31
|
|
Fix cgcompletion return code and free on successful completion.
|
|
f826e357
|
2013-10-18T10:14:51
|
|
Provide a cg_completion_timeout helper function for unreliable functions that takes arbitrary functions and parameters and reliably returns.
|
|
c9c39ac1
|
2013-10-14T11:44:13
|
|
Give correct return code in cgsem_mswait
|
|
6e948d87
|
2013-10-14T11:34:08
|
|
Check for correct timeout error in cgsem_mswait
|
|
c75ce853
|
2013-10-14T11:22:57
|
|
Implement a generic cgsem_mswait similar to sem_timedwait
|
|
d3c215fd
|
2013-10-12T09:53:21
|
|
Provide a lower level __bin2hex function that does not allocate memory itself.
|
|
7fbe999f
|
2013-10-11T12:00:39
|
|
Drop logging level for failed to connect to stratum to verbose mode only since we hit it regularly.
|
|
936fca4d
|
2013-10-07T20:38:24
|
|
Limit ms_tdiff to 1 hour as a sanity check.
|
|
97b5dd08
|
2013-10-07T20:38:24
|
|
Limit ms_tdiff to 1 hour as a sanity check.
|
|
d5e9e084
|
2013-10-07T15:37:34
|
|
Prevent overflows in us_tdiff and ms_tdiff.
|
|
5eb19341
|
2013-10-07T20:38:24
|
|
Limit ms_tdiff to 1 hour as a sanity check.
|
|
2d1ba75e
|
2013-10-07T15:37:34
|
|
Prevent overflows in us_tdiff and ms_tdiff.
|
|
44b9cf50
|
2013-09-26T12:11:25
|
|
Limit the duration we wait for reads in BF1 based on time already elapsed to account for other delays such as work restart messages or out of work.
|
|
466d3bec
|
2013-09-21T22:49:28
|
|
Provide a --disable-libcurl config option to build support for stratum mining only.
|
|
566a80f0
|
2013-09-14T10:13:06
|
|
Cast -1 to (char) to cope with different default char types on ARM.
|
|
f319d3b9
|
2013-09-10T07:02:16
|
|
Use inet_addr instead of inet_network to fix windows build.
|
|
7570d885
|
2013-09-08T19:54:18
|
|
Remove unused pbase variable.
|
|
89c07fa5
|
2013-09-08T16:32:44
|
|
Add support for socks4/4a proxies with stratum, and drop back to socks4 support via the global --socks-proxy command to not break previous configurations.
|
|
f652b1e2
|
2013-09-08T10:14:19
|
|
Fix warning on mingw build.
|
|
e65df993
|
2013-09-08T10:14:19
|
|
Fix warning on mingw build.
|
|
770556cd
|
2013-09-07T09:39:03
|
|
Use the --socks-proxy option with stratum, changing it to defaulting to socks5 and give appropriate message should it fail to connect.
|
|
ddbd3ab7
|
2013-09-07T09:14:12
|
|
Cope with trailing slashes in stratum urls.
|
|
55249db3
|
2013-09-06T13:41:40
|
|
Add more debugging messages when negotiating with proxies for stratum.
|
|
a589de5a
|
2013-09-06T10:28:36
|
|
Test specifically for socks5h in socks support for stratum.
|
|
d7003ecc
|
2013-09-06T09:21:46
|
|
Add support for socks5 proxy with stratum
|
|
17019804
|
2013-09-06T00:34:04
|
|
Provide support for negotiating a stratum connection via http proxies.
|
|
8fa01556
|
2013-09-05T23:21:42
|
|
Connect to the proxy URL and port if specified for stratum sockets instead of the pool directly.
|
|
b783d94c
|
2013-09-05T23:14:53
|
|
Extract any proxy url and port to be used by sockaddr if possible using extract_sockaddr.
|
|
8ede407d
|
2013-09-05T23:10:19
|
|
Make extract_sockaddr set variables passed to it rather than pool struct members.
|
|
83b5f624
|
2013-08-31T22:24:38
|
|
Don't decref json values in stratum parsing due to memory corruption.
|
|
bec40c5b
|
2013-08-31T13:32:40
|
|
Provide base structures for getaddrinfo.
|
|
c9c61e72
|
2013-08-28T07:05:18
|
|
Fix win32 build.
|
|
036c7b73
|
2013-08-25T16:34:07
|
|
Fix OSX build.
|
|
79ca14f5
|
2013-08-25T15:17:34
|
|
Provide an osx fix for cgtimers and a fallback to timevals for all other platforms !linux !win32 !osx.
|
|
f009347e
|
2013-08-25T15:02:01
|
|
Move two more timer functions out of define macros to enable them to be used by future osx code.
|
|
ec881c41
|
2013-08-25T14:59:35
|
|
cgtimer_sub is now the same since cgtimer_t should be the same on all platforms.
|
|
e1433f8e
|
2013-08-22T13:49:22
|
|
Use timespecs on windows as cgtimer_t to capitalise on the higher resolution clock changes.
|
|
d8e2a437
|
2013-08-22T12:55:09
|
|
Abstract out the conversion of system time to an lldiv_t in decimicroseconds.
|
|
acc1b7df
|
2013-08-22T12:24:39
|
|
Use our own gettimeofday implementation on windows for it to be consistent across ming builds and higher resolution.
|
|
903d007c
|
2013-08-20T22:47:13
|
|
Provide cgtimer_sub helper functions.
|
|
9dc63cee
|
2013-08-20T22:35:38
|
|
Provide cgtimer_to_ms helper functions.
|
|
7d0c9b50
|
2013-08-20T22:27:14
|
|
Rename cgsleep_prepare_r as cgtimer_time to get time in cgtimer_t format and call cgsleep_prepare_r as a macro for cgtimer_time
|
|
ee2a5ae8
|
2013-08-20T20:46:09
|
|
TimeBeginPeriod and TimeEndPeriod do not add significant overhead when run the entire time for cgminer so avoid trying to maintain balanced numbers of them for specific time calls to simplify code.
|
|
eeac9d81
|
2013-08-20T19:23:49
|
|
Replace all references to the old n*sleep functions with the equivalent cgsleep_*s replacements.
|
|
7d448cd7
|
2013-08-19T23:39:49
|
|
timeGetTime uses huge resources on windows so revert to using timevals for its implementation of cgtimer_t
|
|
0414bf09
|
2013-08-19T21:36:00
|
|
Quotient/remainder error in ms division.
|
|
b238139c
|
2013-08-19T17:44:45
|
|
Provide cgtimer_to_timeval helper functions.
|
|
09679e9f
|
2013-08-19T17:38:20
|
|
Provide a timeval_to_cgtime helper function to reuse values.
|
|
09e9091d
|
2013-08-19T13:54:56
|
|
Simplify cgsleep code for windows by using a typedef for cgtimer_t that resolves to clock resolution, using that internally.
|
|
404cbdea
|
2013-08-19T13:29:23
|
|
On windows use the higher accuracy timegettime function to really get 1ms clock and timer accuracy.
|
|
ffa12a13
|
2013-08-18T14:35:01
|
|
Fix missed endtimeperiod in overrun timer on windows.
|
|
ad87db07
|
2013-08-18T14:30:54
|
|
Make cgsleep_us_r take an int64_t for us.
|
|
703c7309
|
2013-08-18T14:26:41
|
|
Make the cgsleep functions build on windows.
|
|
81144732
|
2013-08-18T11:39:09
|
|
Set high resolution timing on windows within the cgsleep functions.
|
|
621eb003
|
2013-08-18T10:49:52
|
|
Provide reentrant versions of cgsleep functions to allow start time to be set separately from the beginning of the actual sleep, allowing scheduling delays to be counted in the sleep.
|
|
0b5edb24
|
2013-08-18T10:36:25
|
|
Make the nmsleep and nusleep functions use the new cgsleep functions internally till functions are migrated to the new cgsleep API.
|
|
188210a3
|
2013-08-18T10:28:28
|
|
Add a ms_to_timespec helper function, and create a cgsleep_ms function that uses absolute timers with clock_nanosleep to avoid overruns.
|
|
99cbf09d
|
2013-08-18T00:38:29
|
|
Add a timeraddspec helper function.
|
|
1bcd9a43
|
2013-08-18T00:34:01
|
|
Provide a us_to_timespec helper function.
|
|
2278204d
|
2013-08-18T00:27:33
|
|
Provide a us_to_timeval helper function.
|
|
a6b1c317
|
2013-08-18T00:19:47
|
|
Add helper functions to convert timespec to timeval and vice versa.
|
|
e95ad047
|
2013-08-13T22:44:22
|
|
Nonce2 stratum submission is not working with nonce2 lengths >4, revert the buggy __bin2hex function and use bin2hex.
|
|
87ae66c7
|
2013-08-13T05:49:32
|
|
Create a work data template when receiving stratum notification, allowing a simple memcpy of the merkle root avoiding more hex2bin conversions on each work generation.
|
|
46b6b07a
|
2013-08-12T16:02:20
|
|
Avoid a potential overflow should a pool specify a large nonce2 length with stratum.
|
|
5237bf35
|
2013-08-12T11:36:28
|
|
Perform merkle bin hex2bin on stratum notify to avoid doing it on each work generation.
|
|
8bc469e9
|
2013-08-12T11:16:46
|
|
Reuse just the one pool coinbase variable in stratum, avoiding more string functions and storage in gen_stratum_work on each work generation.
|
|
c542e47a
|
2013-08-12T10:49:38
|
|
Use a nonce2 offset variable for both gbt and stratum to consolidate requirements on work generation.
|
|
eca6ace2
|
2013-08-12T09:00:52
|
|
util.c update quit call for new functions
|
|
bab9ba96
|
2013-08-12T08:58:20
|
|
use correct define for OSX in util.c
|
|
bd3612c1
|
2013-08-12T08:38:02
|
|
util.c expand quit to show file/func/line
|
|
cf300537
|
2013-08-12T08:35:29
|
|
Merge remote-tracking branch 'conman/master'
|
|
b423fe9d
|
2013-08-11T14:06:17
|
|
Cache the hex2bin of pool nonce1 in stratum, avoiding hex2bin on each work generation.
|
|
fef649df
|
2013-08-11T13:47:46
|
|
Cache the binary generation of coinbase1 and 2 on stratum, avoiding a hex2bin of coinbase1 and 2 on each work generation.
|