Con Kolivas
|
66c567ab2e
|
Use curl_easy_cleanup to close any open stratum sockets.
|
12 years ago |
Kano
|
f24fab3fd4
|
Show pool number in switch message
|
12 years ago |
Con Kolivas
|
e0196a3307
|
Don't start testing any pools with the watchpool thread if any of the test threads are still active.
|
12 years ago |
Con Kolivas
|
7e3ca57049
|
Set sockd to false should curl setup fail on stratum.
|
12 years ago |
Con Kolivas
|
56068d6839
|
Close any open sockets when reusing a curl handle and reopen the socket whenever we're retrying stratum.
|
12 years ago |
Con Kolivas
|
81c02123f8
|
Set pool died on failed testing to allow idle flag and time to be set.
|
12 years ago |
Con Kolivas
|
c618d868cc
|
Remove unused pthread_t typedefs from struct pool.
|
12 years ago |
Con Kolivas
|
6c77e9a884
|
Perform pool_resus on all pools that are found alive with the test pool threads.
|
12 years ago |
Con Kolivas
|
d932a36c46
|
Use pool_unworkable in select_balanced as well.
|
12 years ago |
Con Kolivas
|
90a1114a46
|
Differentiate pool_unusable from pool_unworkable.
|
12 years ago |
Con Kolivas
|
3b84131f10
|
Keep a connection open on higher priority stratum pools to fail back to them.
|
12 years ago |
Con Kolivas
|
f3ce5777a2
|
Rename threads according to what pool they're associated with as well.
|
12 years ago |
Con Kolivas
|
9b34d82154
|
Set the wrong bool in pool_active
|
12 years ago |
Con Kolivas
|
de28944328
|
Revert "Rollback breakage to 81567e515707891837f52bc3aac7d5916dfff5a2"
This reverts commit a8863995de .
This should work now...
|
12 years ago |
Con Kolivas
|
8630525c5d
|
Merge pull request #399 from kanoi/bflsc
API Socket changes
|
12 years ago |
ckolivas
|
8c87807519
|
Start the stratum thread only if we successfully init and authorise it, otherwise unset the init flag.
|
12 years ago |
ckolivas
|
e746ed6412
|
Make the initialisation of the stratum thread more robust allowing the watchpool thread safe access to it after the stratum thread is started.
|
12 years ago |
Kano
|
efb2403a38
|
API no longer ignore send() status
|
12 years ago |
Kano
|
1eca0476f1
|
API make the main socket non-static
|
12 years ago |
Con Kolivas
|
b45a07032a
|
Bump version to 2.11.1
|
12 years ago |
Con Kolivas
|
88853a2d29
|
Comment out driver-bflsc.c file from Makefile.am till one exists.
|
12 years ago |
Con Kolivas
|
efe4898d66
|
Update NEWS.
|
12 years ago |
Con Kolivas
|
09c02b1c7b
|
Shorten the time before keepalive probes are sent out and how frequently they're sent with stratum curls.
|
12 years ago |
Con Kolivas
|
d7c4be30ba
|
Only set stratum auth once to prevent multiple threads being started.
|
12 years ago |
Con Kolivas
|
3db4d6f0eb
|
Display select return value on select fail in stratum thread.
|
12 years ago |
Con Kolivas
|
501f4cd6ec
|
Clear the socket of anything in the receive buffer if we're going to retry connecting.
|
12 years ago |
Con Kolivas
|
a8863995de
|
Rollback breakage to 81567e5157
|
12 years ago |
Con Kolivas
|
a5d35e822a
|
Only bypass unusable pools if they're not the selected ones.
|
12 years ago |
Con Kolivas
|
1468feb0d3
|
Find the first usable pool in preference to the current pool in select_pool for work.
|
12 years ago |
Con Kolivas
|
ade8c6c79c
|
Add a pool_unusable function which checks if a pool is stratum but not active to use within switch_pools.
|
12 years ago |
Con Kolivas
|
81567e5157
|
Perform pool resus on pools that were not set as the initial pool at startup.
|
12 years ago |
Con Kolivas
|
c7c21e6c37
|
Revert "Clear the pool idle flag only on the pool chosen at startup, allowing it to be cleared by the watchpool thread for the other pools."
This reverts commit 370e8fc862 .
|
12 years ago |
Con Kolivas
|
370e8fc862
|
Clear the pool idle flag only on the pool chosen at startup, allowing it to be cleared by the watchpool thread for the other pools.
|
12 years ago |
Con Kolivas
|
e501db143d
|
Allow pools to be resuscitated on first startup by the watchpool thread.
|
12 years ago |
Con Kolivas
|
5221662557
|
Check all pools simultaneously at startup switching to the first alive one to speed up startup.
|
12 years ago |
Con Kolivas
|
c9b4f5c757
|
Revert "Cope with out of order messages coming in upon attempting to auth_stratum."
This reverts commit 237f67c617 .
|
12 years ago |
Con Kolivas
|
ed903ddf31
|
Clear just the socket buffer when we don't care what is left in a stratum socket.
|
12 years ago |
Con Kolivas
|
fbb25c4ba5
|
Clear the stratum socket whenever we are closing it since the buffer is going to be reused.
|
12 years ago |
Con Kolivas
|
12553004c5
|
Do not continue work from a stratum pool where the connection has been interrupted.
|
12 years ago |
Con Kolivas
|
0810212c9a
|
Reset stratum_notify flag on suspend_stratum as well.
|
12 years ago |
Con Kolivas
|
07ae6172cc
|
Close any sockets opened if we fail to initiate stratum but have opened the socket.
|
12 years ago |
Con Kolivas
|
6875dc46b6
|
Close any existing stratum socket if we are attempting to restart stratum so the pool knows the connection has gone.
|
12 years ago |
Con Kolivas
|
bba99bd88c
|
Show mechanism of stratum interruption if select times out.
|
12 years ago |
Con Kolivas
|
011ea64096
|
Make stratum connection interrupted message higher priority to be visible at normal logging levels.
|
12 years ago |
Con Kolivas
|
237f67c617
|
Cope with out of order messages coming in upon attempting to auth_stratum.
|
12 years ago |
Con Kolivas
|
96ae17a466
|
Merge pull request #398 from kanoi/bflsc
API use control_lock when switching pools + Setup BFLSC support + API add 'Network Difficulty' to 'coin'
|
12 years ago |
Kano
|
f8b4b470db
|
API-README update for ASIC changes
|
12 years ago |
Con Kolivas
|
e3151799b6
|
Implement client.show_message support for stratum.
|
12 years ago |
Kano
|
0eafc8b9fe
|
API add 'Network Difficulty' to 'coin'
|
12 years ago |
Kano
|
540f3e89bc
|
Setup BFLSC support
|
12 years ago |