Luke Dashjr
|
fb65a1bb0e
Merge commit '3fa8bdd' into bfgminer
|
13 years ago |
Luke Dashjr
|
538190b958
json_dumps_ANY utility function to portably implement json_dumps(..., ... | JSON_ENCODE_ANY)
|
13 years ago |
Luke Dashjr
|
e28c7dcb75
Merge commit '4cde791' into cg_merges_20130304a
|
13 years ago |
Luke Dashjr
|
0eceebfca3
Handy TIMEVAL_USECS macro
|
13 years ago |
Luke Dashjr
|
de57206012
Move absolute_uri function to util.c
|
13 years ago |
Luke Dashjr
|
13c096da11
Bugfix: Use SOCKETTYPE for notifiers, to avoid potential overflow on Win64
|
13 years ago |
Luke Dashjr
|
70560c6277
Bugfix: Missing includes needed on Windows
|
13 years ago |
Luke Dashjr
|
ad9f5df249
minerloop_async: Break out of select on work_restart_notifier
|
13 years ago |
Luke Dashjr
|
1d06401a40
Make minerloop_async more async, using some callbacks to handle event completions
|
13 years ago |
Luke Dashjr
|
7849bb1c11
Abstract select_timeout function to convert a realtime timeval to a timeout pointer for select()
|
13 years ago |
Luke Dashjr
|
e4121d7c1f
Replace mining thread queues (which were only used for wakeup pings) with notifiers (which can be used with select and co)
|
13 years ago |
Luke Dashjr
|
8be3fb102a
Working processor disable/enable with new async minerloop (currently gets stuck if all processors disabled)
|
13 years ago |
Luke Dashjr
|
e07f3324f7
Incomplete (but workable) asynchronous minerloop
|
13 years ago |
Con Kolivas
|
4cde791e9f
Provide basic framework for restarting stratum depending on whether resume support exists or not.
|
13 years ago |
Luke Dashjr
|
55f1d71b5c
Merge commit '51d11a2' into HEAD
|
13 years ago |
Con Kolivas
|
51d11a28f9
Provide a wrapper for aligning lengths of size_t to 4 byte boundaries.
|
13 years ago |
Luke Dashjr
|
929de15e5b
Merge commit '6e2e7d3' into cg_merges_20121231
|
13 years ago |
Con Kolivas
|
6e2e7d36de
Differentiate socket full from sock full.
|
13 years ago |
Luke Dashjr
|
e5f2ed1520
Merge commit '944af31' into cg_merges_20121226
|
13 years ago |
Con Kolivas
|
944af31b99
Parse anything in the stratum socket if it's full without waiting. Empty the socket even if a connection is not needed in case there are share returns.
|
13 years ago |
Luke Dashjr
|
7ed01d4d5b
Bugfix: Since we are using pipes for select notifier on *nix, we need to use read/write there
|
13 years ago |
Luke Dashjr
|
28106b125c
Bugfix: Winsock needs send/recv for sockets, not write/read
|
13 years ago |
Luke Dashjr
|
8572e0e448
Merge branch 'refactor_target' into bfgminer
|
13 years ago |
Luke Dashjr
|
bfab076d59
Bugfix: Clean up share hashing and target checks, fixing share difficulty calculation for above-target would-be-shares
|
13 years ago |
Luke Dashjr
|
a11f4234a0
Run a single share submission thread asynchronously submitting all shares in parallel
|
13 years ago |
Luke Dashjr
|
ff695b39fb
Split up json_rpc_call so it can be used asynchronously in libcurl-multi
|
13 years ago |
Con Kolivas
|
fc5d3a0eaf
Suspend stratum connections to backup pools when there is no requirement to potentially grab work from them.
|
13 years ago |
Con Kolivas
|
16637ac91e
Fix missing export for RenameThread.
|
13 years ago |
Con Kolivas
|
f94cff77e6
Microoptimise and remove redundant copy of strdup function in calloc_strcat.
|
13 years ago |
Con Kolivas
|
0ae02c6ec4
Since we will be using calloc_str to put a string into it, convert the function to calloc_strcat which does it automatically.
|
13 years ago |