Con Kolivas
|
520b36cc70
|
Send which proxy we wish to get a subscribe or notify to/from the connector to stratifier and whether to reconnect
|
10 years ago |
Con Kolivas
|
f02a35dfcf
|
Send notready message when notify data is not ready in the generator instead of no response
|
10 years ago |
Con Kolivas
|
d474047d42
|
Drop proxy reference when socket invalidated
|
10 years ago |
Con Kolivas
|
b7e71e1be7
|
Attach to every upstream pool in proxy mode all the time and fail over and back as needed
|
10 years ago |
Con Kolivas
|
52cd066563
|
Add proxies to the stratifier as its notified of their existence by the generator and issue reconnects without rejecting connections when a new subscribe is discovered
|
10 years ago |
Con Kolivas
|
622bd1541f
|
Make stratifier data contain a pointer to the proxy data and add a hashlist to be able to add multiple proxies, allocating only one for now
|
10 years ago |
Con Kolivas
|
15351e5dde
|
Proxy msg_id is not used in any meaningful way so remove it
|
10 years ago |
Con Kolivas
|
4e95186403
|
Improve warnings and verbosity for various proxy connection failures
|
10 years ago |
Con Kolivas
|
416b7a02eb
|
Handle proxy failover correctly for remainder of upstream pools when a reconnect is issued and don't lose original pool details, demoting it to last instead
|
10 years ago |
Con Kolivas
|
fcc4309561
|
Add info about proxies to warnings
|
10 years ago |
Con Kolivas
|
7f92dfbc7e
|
Remove unnecessary warning
|
10 years ago |
Con Kolivas
|
20746db270
|
Check against chosen_server in the server watchdog
|
10 years ago |
Con Kolivas
|
d66befef02
|
Don't reset the chosen_server value in live_proxy
|
10 years ago |
Con Kolivas
|
7e5a0620af
|
Cache responses in proxy mode in case they come out of order to be able to successfully managed different subscribe variations
|
10 years ago |
Con Kolivas
|
9f07cc11e0
|
Export the char_entry_t type
|
10 years ago |
Con Kolivas
|
9dd3d95064
|
Fix dereference errors with dropall
|
10 years ago |
Con Kolivas
|
1a3ed51ba9
|
Fix workings when no serverurl is explicitly specified in config
|
10 years ago |
Con Kolivas
|
dd160666de
|
Do not mask SIGQUIT to allow us to force coredumps on child processes
|
10 years ago |
Con Kolivas
|
03b25370fe
|
Check for client ref counts in dropall
|
10 years ago |
Con Kolivas
|
5dd35d6555
|
Fix workings when no serverurl is explicitly specified in config
|
10 years ago |
Con Kolivas
|
9863dedf59
|
Do not mask SIGQUIT to allow us to force coredumps on child processes
|
10 years ago |
Con Kolivas
|
745d95246c
|
Check for client ref counts in dropall
|
10 years ago |
Con Kolivas
|
9c1e5f2332
|
Send reconnect instead of dropall to stratifier when killing an upstream proxy and drop them lazily
|
10 years ago |
Con Kolivas
|
1432b90829
|
Remove code talking to local btcd in proxy mode since we won't be able to submit any realistic block solves locally
|
10 years ago |
Con Kolivas
|
a090bd6c26
|
Convert use of %ld to PRId64 in ckpool.c
|
10 years ago |
Con Kolivas
|
04f4f090e2
|
Convert use of %ld to PRId64 in connector
|
10 years ago |
Con Kolivas
|
67fd11bc13
|
Convert use of %ld to PRId64 in stratifier
|
10 years ago |
Con Kolivas
|
841d22ec05
|
Drop the server backlog to minimum after the pool has been accepting connections for 90 seconds
|
10 years ago |
Con Kolivas
|
78b2cf0277
|
Further fine grain the locking in the connector
|
10 years ago |
Con Kolivas
|
67c00d57c6
|
Fine grain the locking for read/write sections using the upgradeable variants in the stratifier where suitable
|
10 years ago |
Con Kolivas
|
d94202dacb
|
Avoid one cast
|
10 years ago |
Con Kolivas
|
a7b2c3d8aa
|
Shorten sleep interval while accept flag is not set
|
10 years ago |
Con Kolivas
|
6274371ccf
|
Microoptimise epoll_wait call
|
10 years ago |
Con Kolivas
|
bfbb9b574f
|
Remove unused macro
|
10 years ago |
ckolivas
|
2d56e4fa04
|
Init the proxy share mutex
|
10 years ago |
ckolivas
|
33f40ed3cf
|
Use 64 bits for share id in proxy
|
10 years ago |
Con Kolivas
|
6db343fec6
|
Fix 1st 10 minute preauth to still grab suggested diff and auth the rest
|
10 years ago |
Con Kolivas
|
0a616baa46
|
Don't send any preauths for already authorised users for the first 10 minutes after their first successful auth
|
10 years ago |
Con Kolivas
|
15787d8932
|
We may as well read the poolstats when not in standalone mode as well on restart since we may expose them
|
10 years ago |
Con Kolivas
|
5805e83fe1
|
Trivial comment update
|
10 years ago |
Con Kolivas
|
0d2d81baba
|
Store and restore lastupdate stats by user and worker and use it to decay restored stats
|
10 years ago |
Con Kolivas
|
baf9a6497d
|
Store last update time by user and worker
|
10 years ago |
Con Kolivas
|
9d774a4f9b
|
Store the lastupdate time with the pool stats and decay the value if it's been longer than 2 minutes
|
10 years ago |
Con Kolivas
|
6de132f0f0
|
Export json_get_int64 helper
|
10 years ago |
Con Kolivas
|
7990969af4
|
Read off pool stats on restarts in standalone mode instead of guessing the older hashrate by time bias
|
10 years ago |
Con Kolivas
|
e465fb6d6e
|
Don't try to discard passthrough clients to prevent derefs
|
10 years ago |
Con Kolivas
|
413f8f538a
|
Remove dereferencing error of accessing authorised after client may be killed
|
10 years ago |
Con Kolivas
|
57cc749ae3
|
Guarantee reliable worker count by counting all clients once their user is recognised
|
10 years ago |
Con Kolivas
|
9341ffb640
|
Highest client id may not be reliable enough to prevent duplicate ids
|
10 years ago |
Con Kolivas
|
a8d701df36
|
Discretely handle authorisation attempt to make it impossible to try and authorise twice
|
10 years ago |