Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								48a8b12ed6
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' of bitbucket.org:ckolivas/ckpool
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								2d6a261ffb
								
							
								
							
						 | 
						
							
							
								
								Increase version to 0.8.8
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								94c682bfa2
								
							
								
							
						 | 
						
							
							
								
								ckdb - remove unnecessary dup messages vs reload
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								8d016f1811
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								ffa577b7a6
								
							
								
							
						 | 
						
							
							
								
								php - add a 3rd decimal to some numbers
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								4bc776f99b
								
							
								
							
						 | 
						
							
							
								
								Use non-blocking reads in read_socket_line, waiting up to the full timeout
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								85a08ce3ab
								
							
								
							
						 | 
						
							
							
								
								Increase precision of wait read/write select to accept floats
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								5364b78659
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' of bitbucket.org:ckolivas/ckpool
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								b197ba2ff9
								
							
								
							
						 | 
						
							
							
								
								Maintain a reference to which message we're currently sending to a client to prevent sending interleaved messages should they block
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								19e2a1b47b
								
							
								
							
						 | 
						
							
							
								
								php - remove css/js from page.php and put in inc.php
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								ceac081a17
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								2d0db60443
								
							
								
							
						 | 
						
							
							
								
								ckdb - check queue seq after reload completes
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								dcfcae1779
								
							
								
							
						 | 
						
							
							
								
								Add errno details to write based close
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								b73f44f00c
								
							
								
							
						 | 
						
							
							
								
								Tidy up and demote oversize message, adding client id
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								5365f1a420
								
							
								
							
						 | 
						
							
							
								
								Increase listen backlog to 8k
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								882bd693dd
								
							
								
							
						 | 
						
							
							
								
								Display connector stats every ~60s in passthrough mode
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								146d164053
								
							
								
							
						 | 
						
							
							
								
								Put dropped at the start of the stratifier messages for easier parsing
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								806d1c76a2
								
							
								
							
						 | 
						
							
							
								
								Do not create a stratifier statsupdate thread in passthrough mode since the stats always read zero
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								68e44be3ce
								
							
								
							
						 | 
						
							
							
								
								Check for oversized client message before doing any reads to avoid possibility of exactly the wrong size buffer to ever invalidate the client, adding more info to a downgraded message
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								8447e3ff55
								
							
								
							
						 | 
						
							
							
								
								Microoptimise
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								27d68200ec
								
							
								
							
						 | 
						
							
							
								
								Add better stats about queued sends consisten with the list changes
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								ed44843e37
								
							
								
							
						 | 
						
							
							
								
								Append all new sender_ends in csender instead of only the first
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								f835697165
								
							
								
							
						 | 
						
							
							
								
								Microoptimisation
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								7c62450297
								
							
								
							
						 | 
						
							
							
								
								Increase listen backlog to speed up reconnects up to the system config limits
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								83b23d864f
								
							
								
							
						 | 
						
							
							
								
								Remove decrease of listen backlog which is of questionable utility
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								f580a82a06
								
							
								
							
						 | 
						
							
							
								
								Drop the subclients of passthroughs that no longer exist
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								883d870060
								
							
								
							
						 | 
						
							
							
								
								Use the simpler read/write calls and make all client sockets non-blocking
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								3919d18260
								
							
								
							
						 | 
						
							
							
								
								Rework write path to have no potentially blocking calls and be able to send partial messages
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								1efe7120c4
								
							
								
							
						 | 
						
							
							
								
								Use ref_client_by_id in send_client instead of open coding it
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								ec39117a1c
								
							
								
							
						 | 
						
							
							
								
								Don't return client if it is invalid in ref_client_by_id in the connector
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								0395dd052f
								
							
								
							
						 | 
						
							
							
								
								Use the client reference count in the connector to protect the client fd, closing it only once there are no more references to it
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								9375362044
								
							
								
							
						 | 
						
							
							
								
								Revert "Use a unique event structure for each client added to the epoll list"
							
							
							
							
							
							
							
							This reverts commit 8f1336986f.
Unnecessary. 
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								8f1336986f
								
							
								
							
						 | 
						
							
							
								
								Use a unique event structure for each client added to the epoll list
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								6a159bf5dc
								
							
								
							
						 | 
						
							
							
								
								We won't get no error if we are not testing fd -1 sockets any more, and use errno for consistent parsing of socket close errors
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								c6ae644d53
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' of bitbucket.org:ckolivas/ckpool
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								62d1ec3f8a
								
							
								
							
						 | 
						
							
							
								
								Use signal handlers from sender and receiver threads in the connector avoid needing to pthread tryjoin on every message
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								2bde0bbe3d
								
							
								
							
						 | 
						
							
							
								
								Avoid trying to parse messages or test the client's error if their fd has already been invalidated
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								ckolivas
							
						 | 
						
							
							
							
							
								
							
								2561eff1cb
								
							
								
							
						 | 
						
							
							
								
								Update user auth time on each successful auth
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								d0f7ec7c35
								
							
								
							
						 | 
						
							
							
								
								Decrease verbosity of missing client warning in receiver, adding id number to the output
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								4f6776a4c3
								
							
								
							
						 | 
						
							
							
								
								Allow specifying of the socket name to use in ckpmsg
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								fd73ebe3ae
								
							
								
							
						 | 
						
							
							
								
								Send port number as a string on reconnect as most clients will be expecting it
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								94dbd802a2
								
							
								
							
						 | 
						
							
							
								
								Wait longer after kill message
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								22ece7b96c
								
							
								
							
						 | 
						
							
							
								
								Revert "Don't use MSG_WAITALL on unix sockets"
							
							
							
							
							
							
							
							This reverts commit 24d89a3e72.
Do use it... 
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								6c0c7dd7c4
								
							
								
							
						 | 
						
							
							
								
								Rework parse_client_msg to use the non blocking recv return values avoiding the need for an extra wait_read_select
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								84ca31fcca
								
							
								
							
						 | 
						
							
							
								
								Drop stratifier id when client id is not found in connector
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								5633f8365d
								
							
								
							
						 | 
						
							
							
								
								Prevent theoretical read out of bounds
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								93d5760b2d
								
							
								
							
						 | 
						
							
							
								
								Set server to the passthrough server client in passthrough mode
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								e095ba4b49
								
							
								
							
						 | 
						
							
							
								
								Mask out error 0 in socket error messages
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								3f3dc7f4f3
								
							
								
							
						 | 
						
							
							
								
								Implement a stratum mining.term call which notifies the stratifier this client is terminating and use it to signal upstream pools when passthrough subclients have disconnected
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								e9441f2e1a
								
							
								
							
						 | 
						
							
							
								
								Drop passthrough proxy connection from stratifier
							
							
							
							
							
						 | 
						
							11 years ago |