Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								8dd1754426
								
							
								
							
						 | 
						
							
							
								
								Close socket reliably in generator
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								9de62bdea9
								
							
								
							
						 | 
						
							
							
								
								Reverse the waiting order between generator and stratifier in proxy mode
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								33e195511c
								
							
								
							
						 | 
						
							
							
								
								Wait for the other end to close a unix socket to ensure the message has gone through
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								ea56de3bf6
								
							
								
							
						 | 
						
							
							
								
								Check for pid in send_recv_proc as well
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								6e9901f9fe
								
							
								
							
						 | 
						
							
							
								
								Shutdown instead of closing a socket after sending a unix message allowing the receiving end to close the socket after receiving the data
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								5a7febc821
								
							
								
							
						 | 
						
							
							
								
								Workbase id and blockchange id are determined by the generator in proxy mode and should not be set per proxy
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								29ebae7410
								
							
								
							
						 | 
						
							
							
								
								Fix incorrect cs being used in proxy_send
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								68da0e07fa
								
							
								
							
						 | 
						
							
							
								
								Reap any retired proxies that no longer have any subproxies
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								e9af372a56
								
							
								
							
						 | 
						
							
							
								
								Reap old subproxies when they're no longer in use
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								631467ff70
								
							
								
							
						 | 
						
							
							
								
								Use a linked list for retired proxies in case they have the same id as a previously retired one
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								c093b4a06f
								
							
								
							
						 | 
						
							
							
								
								Keep track of the number of clients bound to each proxy
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								b758e25aed
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'proxydev' into multiproxy
							
							
							
							
							
							
							
							Conflicts:
	src/generator.c
	src/stratifier.c 
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								b80d8d6cea
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' into proxydev
							
							
							
							
							
							
							
							Conflicts:
	src/generator.c 
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								42f14a9536
								
							
								
							
						 | 
						
							
							
								
								Add full lock tracking for mutexes and rwlocks
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								7b452b361f
								
							
								
							
						 | 
						
							
							
								
								Remove macro placeholders for locks in preparation for implementing lock tracking
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								865cd3a741
								
							
								
							
						 | 
						
							
							
								
								Remove unused variable
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								bf55b3e252
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' into multiproxy
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								6f109cd4c9
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' into proxydev
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								c572d580eb
								
							
								
							
						 | 
						
							
							
								
								Add lock contention testing warning at 10 seconds to all lock grabbing and fail if a lock is unable to be grabbed for more than a minute
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								0f08e9518f
								
							
								
							
						 | 
						
							
							
								
								Add helpers for rw timed locks
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								9cbe225c4d
								
							
								
							
						 | 
						
							
							
								
								Reconnect backup clients on stratum notify if they're not already on the current proxy
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								14805ce8fa
								
							
								
							
						 | 
						
							
							
								
								Send stratifier deadproxy message if it's trying to send shares to it
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								d6f0cfb210
								
							
								
							
						 | 
						
							
							
								
								Break out of searching for a proxy if the best has headroom
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								dba4f02fae
								
							
								
							
						 | 
						
							
							
								
								Find any subproxy with headroom to take more clients if we do not have enough upstream connections yet to service new clients
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								eab6c1ba64
								
							
								
							
						 | 
						
							
							
								
								Add more info to missing jobid notice
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								9dad217562
								
							
								
							
						 | 
						
							
							
								
								Switch the current proxy if we generate a replacement one
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								d1fe21601e
								
							
								
							
						 | 
						
							
							
								
								Don't create subproxies except when appropriate
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								fc26ec2ddc
								
							
								
							
						 | 
						
							
							
								
								Differentiate proxy_by_id for when we only want existing entries
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								2a809faeb4
								
							
								
							
						 | 
						
							
							
								
								Change block hash update message according to proxy/pool
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								4fe614ea7d
								
							
								
							
						 | 
						
							
							
								
								Don't try to allocate clients to dead subproxies in the stratifier
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								79cca5a6d5
								
							
								
							
						 | 
						
							
							
								
								Remove replaced proxies from the main hashlist and store them in an old proxy hashlist upon a new subscription
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								b96106a414
								
							
								
							
						 | 
						
							
							
								
								Inform stratifier of deadproxy on every failed proxy_alive call
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								eed7df1826
								
							
								
							
						 | 
						
							
							
								
								Do all the proxy recruitment within the new thread
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								c33362c8ad
								
							
								
							
						 | 
						
							
							
								
								Make subproxy recruiting asynchronous to not delay other proxy loop functions
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								3ba0aeee69
								
							
								
							
						 | 
						
							
							
								
								Disable and remove the parent proxy from the subproxy list on reconnect as well
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								f68e398958
								
							
								
							
						 | 
						
							
							
								
								Add more debug info for proxies
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								2562068163
								
							
								
							
						 | 
						
							
							
								
								Remove any concept of clients per proxy from the generator and simply display how many on connecting the parent'
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								328f1ef5db
								
							
								
							
						 | 
						
							
							
								
								Demote select failed warning to notice level
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								cb1c58846b
								
							
								
							
						 | 
						
							
							
								
								Demote update notices for subproxies
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								a1eabf7305
								
							
								
							
						 | 
						
							
							
								
								Send a dead proxy notification to the stratifier when we disable a subproxy to switch clients on it
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								40ebe7d1b0
								
							
								
							
						 | 
						
							
							
								
								Delete subproxies from the correct hashlist
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								c295d6a8d4
								
							
								
							
						 | 
						
							
							
								
								Do a soft failover to backup proxies, not disconnecting them unless the upstream subproxy no longer exists, but a hard failover to higher priority proxies
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								e2826e3c08
								
							
								
							
						 | 
						
							
							
								
								Add minor comment about memory leak
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								4db64cd883
								
							
								
							
						 | 
						
							
							
								
								Allow but warn about ultra small nonce2 size upstream pools
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								50ebbe8086
								
							
								
							
						 | 
						
							
							
								
								Make reconnect proxies inherit the subproxy count of the original for the stratifier to know they're unique
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								14a7ec05e2
								
							
								
							
						 | 
						
							
							
								
								Use the subid when disabling a subproxy instead of the id
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								a98d510f9f
								
							
								
							
						 | 
						
							
							
								
								Add subproxy information to generator messages where appropriate
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								d61ba33e69
								
							
								
							
						 | 
						
							
							
								
								Set subproxy count and subid under lock to prevent clashes and ensure the subproxy inherits the parent's id
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								7adf0f1c7e
								
							
								
							
						 | 
						
							
							
								
								All reconnects will discard the original proxy instance data so shut down the associated send thread as well as the receive and remove unnecessary extra flags
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Con Kolivas
							
						 | 
						
							
							
							
							
								
							
								edbe863a26
								
							
								
							
						 | 
						
							
							
								
								Only add the parent proxy to the subproxy list once
							
							
							
							
							
						 | 
						
							11 years ago |