Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								841d22ec05
								
							
								
							
						 | 
						
							
							
								
								Drop the server backlog to minimum after the pool has been accepting connections for 90 seconds
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								78b2cf0277
								
							
								
							
						 | 
						
							
							
								
								Further fine grain the locking in the connector
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								67c00d57c6
								
							
								
							
						 | 
						
							
							
								
								Fine grain the locking for read/write sections using the upgradeable variants in the stratifier where suitable
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								d94202dacb
								
							
								
							
						 | 
						
							
							
								
								Avoid one cast
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								a7b2c3d8aa
								
							
								
							
						 | 
						
							
							
								
								Shorten sleep interval while accept flag is not set
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								6274371ccf
								
							
								
							
						 | 
						
							
							
								
								Microoptimise epoll_wait call
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								bfbb9b574f
								
							
								
							
						 | 
						
							
							
								
								Remove unused macro
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								ckolivas
							
						 | 
						
							
							
							
							
								
							
								2d56e4fa04
								
							
								
							
						 | 
						
							
							
								
								Init the proxy share mutex
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								ckolivas
							
						 | 
						
							
							
							
							
								
							
								33f40ed3cf
								
							
								
							
						 | 
						
							
							
								
								Use 64 bits for share id in proxy
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								6db343fec6
								
							
								
							
						 | 
						
							
							
								
								Fix 1st 10 minute preauth to still grab suggested diff and auth the rest
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								0a616baa46
								
							
								
							
						 | 
						
							
							
								
								Don't send any preauths for already authorised users for the first 10 minutes after their first successful auth
							
							
							
							
							
						 | 
						
							11 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
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								5805e83fe1
								
							
								
							
						 | 
						
							
							
								
								Trivial comment update
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								0d2d81baba
								
							
								
							
						 | 
						
							
							
								
								Store and restore lastupdate stats by user and worker and use it to decay restored stats
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								baf9a6497d
								
							
								
							
						 | 
						
							
							
								
								Store last update time by user and worker
							
							
							
							
							
						 | 
						
							11 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
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								6de132f0f0
								
							
								
							
						 | 
						
							
							
								
								Export json_get_int64 helper
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								7990969af4
								
							
								
							
						 | 
						
							
							
								
								Read off pool stats on restarts in standalone mode instead of guessing the older hashrate by time bias
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								e465fb6d6e
								
							
								
							
						 | 
						
							
							
								
								Don't try to discard passthrough clients to prevent derefs
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								413f8f538a
								
							
								
							
						 | 
						
							
							
								
								Remove dereferencing error of accessing authorised after client may be killed
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								57cc749ae3
								
							
								
							
						 | 
						
							
							
								
								Guarantee reliable worker count by counting all clients once their user is recognised
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								9341ffb640
								
							
								
							
						 | 
						
							
							
								
								Highest client id may not be reliable enough to prevent duplicate ids
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								a8d701df36
								
							
								
							
						 | 
						
							
							
								
								Discretely handle authorisation attempt to make it impossible to try and authorise twice
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								a29c423052
								
							
								
							
						 | 
						
							
							
								
								Trivial comment change
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								880101ccbc
								
							
								
							
						 | 
						
							
							
								
								Remove unnecessary extra list when clients are dead
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								ckolivas
							
						 | 
						
							
							
							
							
								
							
								f6ac71033c
								
							
								
							
						 | 
						
							
							
								
								Disconnected and dead clients can't be holding a reference
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								897df18c2f
								
							
								
							
						 | 
						
							
							
								
								Send a whole update to a client instead of just the diff if they've only been sending rejects
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								b5fcff0bcb
								
							
								
							
						 | 
						
							
							
								
								Optimise method parsing for the common case of shares first and do not allow clients to try and subscribe or authorise twice
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								d59787a0e5
								
							
								
							
						 | 
						
							
							
								
								Do lazy invalidation without parsing method
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								12d9827ba1
								
							
								
							
						 | 
						
							
							
								
								Trivial comments
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								2f53e6a004
								
							
								
							
						 | 
						
							
							
								
								Minor comment
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								37b2f3a8b2
								
							
								
							
						 | 
						
							
							
								
								Fix minor memory leak when requesting stats
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								eacb000ad9
								
							
								
							
						 | 
						
							
							
								
								Elaborate on killing proxy message
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								415e3864fa
								
							
								
							
						 | 
						
							
							
								
								Handle old instance processes before forking any new ones for there to be no conflict with the stored pid numbers in the filenames
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								b1218a7cf0
								
							
								
							
						 | 
						
							
							
								
								Add config option to prioritise more clients than supporting clients with high hashrates
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								60864c7bdf
								
							
								
							
						 | 
						
							
							
								
								Fix symbol size warning
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								43d1336321
								
							
								
							
						 | 
						
							
							
								
								Increment proxy count only after new proxy is set up
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								a7ed36931f
								
							
								
							
						 | 
						
							
							
								
								Fix proxy reconnect potentially trying to switch proxies before the instance is fully set up and bypass old instances that have issued a reconnect
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								9be8913f15
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' of bitbucket.org:ckolivas/ckpool
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								79bd0c0112
								
							
								
							
						 | 
						
							
							
								
								If these memory tricks are not good enough for valgrind they're not good enough for ckpool
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								3ae83b4468
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								e4a55560f0
								
							
								
							
						 | 
						
							
							
								
								php - add colour explanation to the blocks page
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								b44502b406
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' of bitbucket.org:ckolivas/ckpool
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								0c07ddb5ad
								
							
								
							
						 | 
						
							
							
								
								Don't use client structure out of lock in connector's drop_client
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								kanoi
							
						 | 
						
							
							
							
							
								
							
								2c35501d6d
								
							
								
							
						 | 
						
							
							
								
								ckdb - don't store auths in the db
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								ab4a9fc1a0
								
							
								
							
						 | 
						
							
							
								
								Cope with client.reconnect listing port as a string instead of integer
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								75f24a5d16
								
							
								
							
						 | 
						
							
							
								
								Cope with a socket line that is closed at the end of the message
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								d54a3156ad
								
							
								
							
						 | 
						
							
							
								
								Read off any cached mindiff when we do a delayed auth
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								1002e91bcc
								
							
								
							
						 | 
						
							
							
								
								Push version to 0.8.5
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								10613ecc76
								
							
								
							
						 | 
						
							
							
								
								Set client user_instance under lock to prevent race upon client removal
							
							
							
							
							
						 | 
						
							11 years ago |