Con Kolivas
|
765c3a050d
|
Reset the pi pid after a failure to find the process alive so we can look it up again in case it has changed
|
10 years ago |
Con Kolivas
|
9e5d725e68
|
Make all one way send_procs asynchronous to avoid message response deadlocks
|
10 years ago |
Con Kolivas
|
b0060079db
|
Return value of send_proc is never used
|
10 years ago |
Con Kolivas
|
dffc938519
|
Free buffer used in generator
|
10 years ago |
Con Kolivas
|
9842659e39
|
Fix buf dereference error
|
10 years ago |
Con Kolivas
|
47fa24dca0
|
Move reap messages out of lock
|
10 years ago |
Con Kolivas
|
f37279da12
|
Check for correct condition in wait_close
|
10 years ago |
Con Kolivas
|
7fb37b7886
|
Do not loop after updating immediately in the strat loop
|
10 years ago |
Con Kolivas
|
cef4a2cd36
|
Show message associated with no close fd detection
|
10 years ago |
Con Kolivas
|
235cdf3c96
|
Flag proxies as dead if they fail connect_proxy
|
10 years ago |
Con Kolivas
|
1ff651971f
|
Close socket before adding message to recvs
|
10 years ago |
Con Kolivas
|
65d9abab0b
|
Skip subproxies that don't yet have a current workbase when selecting a subscription
|
10 years ago |
Con Kolivas
|
111a10bf9d
|
Send clients a reconnect even if we're switching to a backup pool
|
10 years ago |
Con Kolivas
|
4cd554a238
|
Set the reconnect time on a proxy when a read socket detects a disconnection
|
10 years ago |
Con Kolivas
|
8c07e6eda7
|
Give extra info for extranonce size in update subscribe
|
10 years ago |
Con Kolivas
|
ad5b2a089b
|
Add warning about reason for failed subscription
|
10 years ago |
Con Kolivas
|
2055f0e2e8
|
Demote nonce length warning for subproxies
|
10 years ago |
Con Kolivas
|
41f042c3e5
|
Duplicate the actual jobid json object to return when submitting shares and use an integer consistently as the internal jobid
|
10 years ago |
Con Kolivas
|
33f8c4275d
|
Close our end of the socket in send_proc
|
10 years ago |
Con Kolivas
|
8dd1754426
|
Close socket reliably in generator
|
10 years ago |
Con Kolivas
|
9de62bdea9
|
Reverse the waiting order between generator and stratifier in proxy mode
|
10 years ago |
Con Kolivas
|
33e195511c
|
Wait for the other end to close a unix socket to ensure the message has gone through
|
10 years ago |
Con Kolivas
|
ea56de3bf6
|
Check for pid in send_recv_proc as well
|
10 years ago |
Con Kolivas
|
6e9901f9fe
|
Shutdown instead of closing a socket after sending a unix message allowing the receiving end to close the socket after receiving the data
|
10 years ago |
Con Kolivas
|
5a7febc821
|
Workbase id and blockchange id are determined by the generator in proxy mode and should not be set per proxy
|
10 years ago |
Con Kolivas
|
29ebae7410
|
Fix incorrect cs being used in proxy_send
|
10 years ago |
Con Kolivas
|
68da0e07fa
|
Reap any retired proxies that no longer have any subproxies
|
10 years ago |
Con Kolivas
|
e9af372a56
|
Reap old subproxies when they're no longer in use
|
10 years ago |
Con Kolivas
|
631467ff70
|
Use a linked list for retired proxies in case they have the same id as a previously retired one
|
10 years ago |
Con Kolivas
|
c093b4a06f
|
Keep track of the number of clients bound to each proxy
|
10 years ago |
Con Kolivas
|
42f14a9536
|
Add full lock tracking for mutexes and rwlocks
|
10 years ago |
Con Kolivas
|
7b452b361f
|
Remove macro placeholders for locks in preparation for implementing lock tracking
|
10 years ago |
Con Kolivas
|
865cd3a741
|
Remove unused variable
|
10 years ago |
Con Kolivas
|
c572d580eb
|
Add lock contention testing warning at 10 seconds to all lock grabbing and fail if a lock is unable to be grabbed for more than a minute
|
10 years ago |
Con Kolivas
|
0f08e9518f
|
Add helpers for rw timed locks
|
10 years ago |
Con Kolivas
|
9cbe225c4d
|
Reconnect backup clients on stratum notify if they're not already on the current proxy
|
10 years ago |
Con Kolivas
|
14805ce8fa
|
Send stratifier deadproxy message if it's trying to send shares to it
|
10 years ago |
Con Kolivas
|
d6f0cfb210
|
Break out of searching for a proxy if the best has headroom
|
10 years ago |
Con Kolivas
|
dba4f02fae
|
Find any subproxy with headroom to take more clients if we do not have enough upstream connections yet to service new clients
|
10 years ago |
Con Kolivas
|
eab6c1ba64
|
Add more info to missing jobid notice
|
10 years ago |
Con Kolivas
|
9dad217562
|
Switch the current proxy if we generate a replacement one
|
10 years ago |
Con Kolivas
|
d1fe21601e
|
Don't create subproxies except when appropriate
|
10 years ago |
Con Kolivas
|
fc26ec2ddc
|
Differentiate proxy_by_id for when we only want existing entries
|
10 years ago |
Con Kolivas
|
2a809faeb4
|
Change block hash update message according to proxy/pool
|
10 years ago |
Con Kolivas
|
4fe614ea7d
|
Don't try to allocate clients to dead subproxies in the stratifier
|
10 years ago |
Con Kolivas
|
79cca5a6d5
|
Remove replaced proxies from the main hashlist and store them in an old proxy hashlist upon a new subscription
|
10 years ago |
Con Kolivas
|
b96106a414
|
Inform stratifier of deadproxy on every failed proxy_alive call
|
10 years ago |
Con Kolivas
|
eed7df1826
|
Do all the proxy recruitment within the new thread
|
10 years ago |
Con Kolivas
|
c33362c8ad
|
Make subproxy recruiting asynchronous to not delay other proxy loop functions
|
10 years ago |
Con Kolivas
|
3ba0aeee69
|
Disable and remove the parent proxy from the subproxy list on reconnect as well
|
10 years ago |