Con Kolivas
|
c55cf08d6a
|
Check for failure to decode proxy/subproxy in update_subscribe
|
10 years ago |
Con Kolivas
|
4ff3972ef0
|
Look for other clients that should have been dropped in the stratifier and inform or query the connector about them
|
10 years ago |
Con Kolivas
|
352c8a4eb7
|
Set client start time when the instance is added
|
10 years ago |
Con Kolivas
|
6887f778e9
|
Send reconnect to all clients that have been asked to reconnect already and don't unset the bool to be able to trim them
|
10 years ago |
Con Kolivas
|
8291489a5b
|
Use async send proc in the stratifier
|
10 years ago |
Con Kolivas
|
97e2b3179b
|
Keep track of per process ckwqs in the ckpool structure
|
10 years ago |
Con Kolivas
|
6c75760502
|
Use the generic workqueues for do_update
|
10 years ago |
Con Kolivas
|
e40d560f57
|
Create a pool of workqueue threads for use by the stratifier using them for share processing, stratum receiving and transaction processing
Conflicts:
src/stratifier.c
|
10 years ago |
Con Kolivas
|
234f76f8e5
|
Force a reconnect send to clients that have been given the reconnect flag already and are requested to reconnect again
|
10 years ago |
Con Kolivas
|
77e68e8db1
|
Revert "Send reconnect to clients immediately upon detecting they're sending to a dead proxy instead of flagging them"
This reverts commit ac8bb3259d .
|
10 years ago |
Con Kolivas
|
ac8bb3259d
|
Send reconnect to clients immediately upon detecting they're sending to a dead proxy instead of flagging them
|
10 years ago |
Con Kolivas
|
0a165bfc66
|
Revert to lazily reconnecting all clients to prevent floods
|
10 years ago |
Con Kolivas
|
a470ca6431
|
Only reconnect clients when there is room for them on the new proxy, tagging the rest and recruiting as needed
|
10 years ago |
Con Kolivas
|
08d8644d1a
|
Still drop clients from dead proxies even if we don't have their data any more
|
10 years ago |
Con Kolivas
|
73e6824c00
|
Recruit more proxies when we have flagged clients in reconnect_clients
|
10 years ago |
Con Kolivas
|
cffc412427
|
Combine the reconnect proxy functions, switching as many clients as there is headroom and flagging the rest for lazy reconnection
|
10 years ago |
Con Kolivas
|
51337105ac
|
Count existing reconnects in headroom count
|
10 years ago |
Con Kolivas
|
0c185fbd2a
|
Max sure max headroom variable is 64 bit
|
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
|
7fb37b7886
|
Do not loop after updating immediately in the strat loop
|
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
|
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
|
9de62bdea9
|
Reverse the waiting order between generator and stratifier in proxy mode
|
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
|
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
|
9cbe225c4d
|
Reconnect backup clients on stratum notify if they're not already on the current proxy
|
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
|
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
|
cb1c58846b
|
Demote update notices for subproxies
|
10 years ago |
Con Kolivas
|
a1eabf7305
|
Send a dead proxy notification to the stratifier when we disable a subproxy to switch clients on it
|
10 years ago |
Con Kolivas
|
c295d6a8d4
|
Do a soft failover to backup proxies, not disconnecting them unless the upstream subproxy no longer exists, but a hard failover to higher priority proxies
|
10 years ago |
Con Kolivas
|
e24b6846d8
|
Count stats from ckp sdata to show proper proxy hashrate
|
10 years ago |
Con Kolivas
|
835ff395c2
|
Reset client and enonce1u count on resubscribe
|
10 years ago |
Con Kolivas
|
395d1277a7
|
Set notify_id on all proxies in case we switch later to them with setproxy
|
10 years ago |
Con Kolivas
|
051ee7278a
|
Iterate over correct hashtable with ckp sdata for stratum broadcasts
|
10 years ago |
Con Kolivas
|
26ca36feb1
|
Set reconnect on both notify id fix and setproxy when we have enough information
|
10 years ago |