ckolivas
|
676bb887bb
|
Rework the poll loop to be cleaner and more efficient
|
10 years ago |
Con Kolivas
|
1176d71211
|
Decrease the loglevel of failing to find workers' diff to set
|
10 years ago |
Con Kolivas
|
86fa46069c
|
Rework the handover mechanism to make the old client reject further clients, then send a reconnect, then shutdown and wait before killing it
|
10 years ago |
Con Kolivas
|
5532de0f1b
|
Implement a stratum reconnect function
|
10 years ago |
Con Kolivas
|
e69db64eb0
|
Add commands to reject and accept further connections
|
10 years ago |
Con Kolivas
|
a33dfd066a
|
There is no need to place the clamp on lowering diff with suggest_diff since it is predomoninantly used at miner startup and we can rapidly adapt should it be too low anyway
|
10 years ago |
kanoi
|
7d59f98624
|
stratifier - process the heartbeat json
|
10 years ago |
Con Kolivas
|
c8a330dbd8
|
We should be doing a cmdmatch not a full string match for heartbeat commands
|
10 years ago |
kanoi
|
3e972d7396
|
ckdb - disallow similar usernames due to case, and/or leading/trailing white space
|
10 years ago |
Con Kolivas
|
4d69bd2423
|
Wrong test on result_val
|
10 years ago |
Con Kolivas
|
e8179cd951
|
Drop log level for failed auth json decode failure
|
10 years ago |
Con Kolivas
|
dd187da977
|
Add the server accept to the receiver's poll function, eliminating the need for short polls and one extra thread
|
10 years ago |
Con Kolivas
|
fcfc06e77b
|
More logic fail
|
10 years ago |
Con Kolivas
|
5fd152c370
|
Reverse logic
|
10 years ago |
Con Kolivas
|
f3254ea170
|
Check for addrauth as well in send_recv_auth
|
10 years ago |
kanoi
|
b7405adf48
|
correct password success message on a missing user
|
10 years ago |
Con Kolivas
|
574d028d95
|
Parse the ckdb heartbeat response for setting worker mindiff
|
10 years ago |
kanoi
|
351545f1ab
|
ckdb - auth json reply should be authorise
|
10 years ago |
kanoi
|
64ff56cb63
|
ckdb - reply to heartbeat with web diff change info
|
10 years ago |
Con Kolivas
|
6a72525b8b
|
Search for authorise in response instead of auth to match query
|
10 years ago |
Con Kolivas
|
27ac4e23ef
|
Parse the difficultydefault entry returned from authorise
|
10 years ago |
Con Kolivas
|
3288b15622
|
Parse new auth command from ckdb
|
10 years ago |
kanoi
|
e41d550b6f
|
ckdb - auth return json with both secuserid and diff
|
10 years ago |
kanoi
|
0d13eb4501
|
ckdb/php - set default diff to 0 meaning unset
|
10 years ago |
Con Kolivas
|
03878efb0e
|
The stats on idle miners were being decayed with the wrong time interval so would appear to drop to almost zero on any idle period
|
10 years ago |
kanoi
|
e49a2011de
|
ckdb - fix password reset always false
|
10 years ago |
kanoi
|
2f501e9d9e
|
ckdb/php - add all pool hash rates to pool stats
|
10 years ago |
Con Kolivas
|
b08f4bcb69
|
Drop clients lazily when the proxy is full
|
10 years ago |
Con Kolivas
|
1b45079802
|
Keep track of clients that submit a run of continuous rejects and send them a diff update if they do it for longer than 1 minute and then lazily drop them if it goes beyond 2 minutes
|
10 years ago |
Con Kolivas
|
0c16e193ce
|
Set no linger on all connected clients
|
10 years ago |
Con Kolivas
|
8e29c957e0
|
Add helper function to set no linger
|
10 years ago |
Con Kolivas
|
7d878bd223
|
Force close when dropping a client with a reset using SO_LINGER and give a warning on close failure
|
10 years ago |
Con Kolivas
|
146e3140f3
|
Add client source port to verbose logging
|
10 years ago |
Con Kolivas
|
5c6e048a2e
|
Poll every 100ms instead of every second in the connector to rapidly pick up new clients
|
10 years ago |
Con Kolivas
|
26b4037eff
|
Log a warning if a client with an invalidated fd is still in the fdclients hashtable
|
10 years ago |
Con Kolivas
|
3bf4e0de8d
|
Always send dropclient to the stratifier on every invalidate client call
|
10 years ago |
Con Kolivas
|
1f68a5a98b
|
Use the Close handler in the stratifier
|
10 years ago |
Con Kolivas
|
5a9eb76488
|
Use the Close handler in the generator
|
10 years ago |
Con Kolivas
|
7da6c0b2a0
|
Use the Close handler in connector.c
|
10 years ago |
Con Kolivas
|
e683fa42b6
|
Use the Close handler in ckpool.c
|
10 years ago |
Con Kolivas
|
bae2493346
|
Add a helper for close which invalidates the file handle as well
|
10 years ago |
Con Kolivas
|
070a1a3b3e
|
Cache reused bias calculations
|
10 years ago |
Con Kolivas
|
86f72ff889
|
Keep rereading in parse_client_msg if the socket indicates it is still ready for further reads
|
10 years ago |
Con Kolivas
|
8d625b736b
|
Revert "Close polled fds that are ready for reads but no longer have a client associated with them"
This reverts commit f6f61e8870 .
|
10 years ago |
Con Kolivas
|
6acb482e7a
|
Bias workers as well as users
|
10 years ago |
Con Kolivas
|
6ba4cf50a5
|
There is no need to bias 60 second times, and we should bias worker stats
|
10 years ago |
Con Kolivas
|
f0f948171a
|
Invalidate interrupted clients and increase verbosity of messages logged
|
10 years ago |
Con Kolivas
|
f6f61e8870
|
Close polled fds that are ready for reads but no longer have a client associated with them
|
10 years ago |
Con Kolivas
|
48b2e72661
|
Rereading with dontwait is pointless and adds complexity
|
10 years ago |
Con Kolivas
|
ae1f9827ac
|
Revert "Always re-read with dontwait when parsing a client message"
This reverts commit e3b4d969d5 .
|
10 years ago |