Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								a7da93981e
								
							
								
							
						 | 
						
							
							
								
								Determine whether we need to reconnect clients based on the parent proxy's notify id which is reset on each subscribe
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								5dc3f9cb22
								
							
								
							
						 | 
						
							
							
								
								Only issue reconnect when the parent pool has set its notified flag
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								5cb12347a7
								
							
								
							
						 | 
						
							
							
								
								Add parent proxy as a subproxy in stratifier
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								566d6c656e
								
							
								
							
						 | 
						
							
							
								
								Send correct subproxy id to stratifier
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								c8025958f9
								
							
								
							
						 | 
						
							
							
								
								Add notify and diff subid details
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								371b59f452
								
							
								
							
						 | 
						
							
							
								
								Use a different hashlist for the subproxies in the stratifier to avoid hashlist clash
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								413c73bc33
								
							
								
							
						 | 
						
							
							
								
								Drop the child subproxies if the parent proxy is not alive
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								37b6406e0e
								
							
								
							
						 | 
						
							
							
								
								Set share response to true even if we don't find the matching share
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								8476d12876
								
							
								
							
						 | 
						
							
							
								
								Fix failover of parent proxy
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								d9ea42bdc7
								
							
								
							
						 | 
						
							
							
								
								Disable subproxies that are given a reconnect message, allowing more subproxies to be recruited by parent's reconnect if need be instead
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								31b0e4df67
								
							
								
							
						 | 
						
							
							
								
								Only check for existence of current proxy when switching, not best which may have already been set to the alive proxy
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								008c9a32d9
								
							
								
							
						 | 
						
							
							
								
								Give subproxies their own hashlist to allow them to be on two hashtables
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								bef6bd57db
								
							
								
							
						 | 
						
							
							
								
								Make best_proxy non blocking compared to wait_best_proxy
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								ca8d50280d
								
							
								
							
						 | 
						
							
							
								
								Only set alive to false on parent proxy failing
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								d0f557bbf8
								
							
								
							
						 | 
						
							
							
								
								Handle reconnect message differently for parent proxy than child subproxies
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								1e7a786915
								
							
								
							
						 | 
						
							
							
								
								Fix misuse of function
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								5ce95d99a7
								
							
								
							
						 | 
						
							
							
								
								Use the parent proxy as one of the subproxies as upstream pools may disconnect idle clients and the parent determines the children's activities
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								0092e0982c
								
							
								
							
						 | 
						
							
							
								
								Create a helper function for determining parent proxy
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								81370d2c87
								
							
								
							
						 | 
						
							
							
								
								Reset variables that will affect functioning of recycled proxies
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								3d44a13470
								
							
								
							
						 | 
						
							
							
								
								Store dead proxy instances to be recycled if possible
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								b59760bb4a
								
							
								
							
						 | 
						
							
							
								
								Disable subproxies as they die, moving them to a dead list instead of trying to reuse them and recruit fresh proxies, disconnecting clients connected to them
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								aa153ba742
								
							
								
							
						 | 
						
							
							
								
								Differentiate pong from other spurious messages from clients
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								df1465f275
								
							
								
							
						 | 
						
							
							
								
								Use msg_id variable for clarity
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								8ebd5de420
								
							
								
							
						 | 
						
							
							
								
								Use json_getdel_int64 helper in the connector
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								48f7702bd6
								
							
								
							
						 | 
						
							
							
								
								Add json_getdel_int64 helper
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								ed0d20d216
								
							
								
							
						 | 
						
							
							
								
								Use json_getdel_int helper in generator
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								40b10ee2ba
								
							
								
							
						 | 
						
							
							
								
								Add helper to set a json integer and then delete its entry from the json
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								31a5e3d5ce
								
							
								
							
						 | 
						
							
							
								
								Delete the subproxy entry in the share after sending it to the proxy send thread
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								2d35d0c679
								
							
								
							
						 | 
						
							
							
								
								Parse reconnect differently for subproxies than master proxies
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								c43d89275a
								
							
								
							
						 | 
						
							
							
								
								Fix various logic errors dealing with upstream proxy disconnects
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								338cc49c7e
								
							
								
							
						 | 
						
							
							
								
								Add verbose notify message
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								9edfbc8790
								
							
								
							
						 | 
						
							
							
								
								Don't send proxy diff till it's set yet
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								b13446e387
								
							
								
							
						 | 
						
							
							
								
								Send proxy subscription to stratifier as soon as we have it
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								e287feede0
								
							
								
							
						 | 
						
							
							
								
								Send only the parent proxy id from the generator to the stratifier
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								9b04f81666
								
							
								
							
						 | 
						
							
							
								
								Set correct variable in update_diff
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								f15fbdbc70
								
							
								
							
						 | 
						
							
							
								
								Receive diff from the upstream proxy and add share submission to the correct psend list
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								955bbe6977
								
							
								
							
						 | 
						
							
							
								
								Use the client's sdata to associate correct share submissions with the upstream proxy
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								6a21a67c1e
								
							
								
							
						 | 
						
							
							
								
								Use client sdata with update_client call
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								27faf4d1c4
								
							
								
							
						 | 
						
							
							
								
								Fix proxy epfd not being set
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								319d0943fc
								
							
								
							
						 | 
						
							
							
								
								Update diff on all stratifier data but send diff only to clients bound to the current subproxy
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								bcd499bf31
								
							
								
							
						 | 
						
							
							
								
								Assign the client subproxy data in new_enonce1
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								c872ce9de8
								
							
								
							
						 | 
						
							
							
								
								Store the proxy and subproxy id only in clients and sort subproxies by subid to avoid confusion
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								dc293beb9c
								
							
								
							
						 | 
						
							
							
								
								Separate delivery of messages by ckpool sdata and per proxy sdata
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								dd1dae4ae3
								
							
								
							
						 | 
						
							
							
								
								Send the relevant sdata to be used by new_enonce1
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								7763b49c2e
								
							
								
							
						 | 
						
							
							
								
								Allow stratifier to choose the best subproxy to attach new users to and request recruitment of more subproxies when the headroom for more clients is low
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								6822282672
								
							
								
							
						 | 
						
							
							
								
								Generate stratifier data per subproxy instead of per proxy since they'll have unique workbases
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								d62483fbd2
								
							
								
							
						 | 
						
							
							
								
								Workbases always exists by the time we reach the point we can set the enonce2varlen
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								03712fe2d7
								
							
								
							
						 | 
						
							
							
								
								Broadcast data according to the sdata it belongs to
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								b1f92414c5
								
							
								
							
						 | 
						
							
							
								
								Store which sdata each client is bound to
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								e360a9842b
								
							
								
							
						 | 
						
							
							
								
								Add the workbase to each unique sdata as required
							
							
							
							
							
						 | 
						
							11 years ago |