571 Commits (3919d182607ad39ec8256ceaeef5d8e84730e2c0)

Author SHA1 Message Date
ckolivas 2561eff1cb Update user auth time on each successful auth 10 years ago
Con Kolivas fd73ebe3ae Send port number as a string on reconnect as most clients will be expecting it 10 years ago
Con Kolivas 5633f8365d Prevent theoretical read out of bounds 10 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 10 years ago
Con Kolivas e9441f2e1a Drop passthrough proxy connection from stratifier 10 years ago
Con Kolivas ae2b00842b Allow unauthorised clients to send other messages till they've authorised but silently ignore them 10 years ago
Con Kolivas 70379428d6 Steal copied id_vals in the stratifier to avoid needing to copy them again, thus allowing opaque objects to be used as id values 10 years ago
Con Kolivas cd754e98e4 Move connector to using unix receive queues 10 years ago
Con Kolivas 0ea4ab043e Move stratifier to use unix message receiving queues 10 years ago
kanoi 75ffa2d4cb ckpool - ensure seqall won't be negative and use it as the ckdb msg id 10 years ago
kanoi 8ff07e69a3 ckpool - add start time and pid to seq information 10 years ago
kanoi 2f3832ab59 add individual sequence numbers for each ckdb message type 10 years ago
kanoi 5d2ed64854 allow different seq numbers 10 years ago
kanoi b5946287b0 Revert "Revert "Add atomically increasing sequence number to all ckdb messages"" 10 years ago
kanoi 907a33584e ckpool - sscanf %s stops at a space 10 years ago
kanoi a3e3363eda Revert "Add atomically increasing sequence number to all ckdb messages" 10 years ago
Con Kolivas 970c4056cf Add atomically increasing sequence number to all ckdb messages 10 years ago
Con Kolivas eefbeef44b Only check user_instance under instance lock 10 years ago
Con Kolivas 3ea6fa5dfe Don't bother storing the session of clients without a user set up or not authorised 10 years ago
Con Kolivas a8b7916829 Fix memory leak 10 years ago
Con Kolivas cecf6406e2 Fix memory leak 10 years ago
Con Kolivas 6e41ff823f Demote debug 10 years ago
Con Kolivas 08622a4b61 Hand old sessionid to new client 10 years ago
ckolivas c7dbb0114d Rework sessionid matching to not store client structure 10 years ago
ckolivas bf1c2ef09b Cope with variable length ckdb responses on the heartbeat as well 10 years ago
Con Kolivas b780dc0061 Demote message verbosity for no auth response when we know ckdb is offline 10 years ago
Con Kolivas 8091b77c7c Allow arbitrary length responses from ckdb in send_recv_auth to allow for hundreds of workers 10 years ago
Con Kolivas f6abc404d5 Change parsing of ckdb response, expecting an array of workers 10 years ago
Con Kolivas dda8187e49 Create workers if they don't already exist when set_worker_mindiff is called 10 years ago
Con Kolivas 03149c1354 Create the user if it doesn't already exist in set_worker_mindiff 10 years ago
Con Kolivas 0900b5d5c5 Check for no user in __drop_client 10 years ago
Con Kolivas 8916a8e1d5 Pick up the client address as soon as we generate the stratum instance to avoid passing it round repeatedly with messages 10 years ago
Con Kolivas 5261837b8f Add information about throttled clients, showing only when they're first throttled 10 years ago
Con Kolivas cb3960be50 Add client drop message before we delete structures 10 years ago
Con Kolivas 93eb641d21 Rate limit auth backoff message 10 years ago
Con Kolivas 7959e72520 Add client IP address to notifications 10 years ago
Con Kolivas b92062d6ea Add IP address to client drop message 10 years ago
Con Kolivas b7e9291fc5 Add more info to client drop messages using notice_msg_entries 10 years ago
Con Kolivas 8b434661d7 Add more verbose information to drop client messages using add_msg_entry 10 years ago
Con Kolivas d4cd88ac58 Add helper functions for storing messages to be dumped outside of other locks 10 years ago
Con Kolivas 0c61ed1c09 Make worker count more robust by using the same locking for stats 10 years ago
Con Kolivas 9706b52965 Recycle used client structs instead of freeing them 10 years ago
Con Kolivas 92dacd8513 Avoid cute locking 10 years ago
Con Kolivas 1b077f2a05 Log to files outside of instance lock 10 years ago
Con Kolivas ca5c7da81b Provide helper functions for storing log text and their associated filenames to be written to in unlocked code 10 years ago
Con Kolivas 3047ee5c8f Use the more generic ckmsg_t for the json_lists 10 years ago
Con Kolivas d4304de798 These weren't the droids we were looking for. 10 years ago
Con Kolivas 7fa3dc2529 Only dec worker if user exists 10 years ago
Con Kolivas 21194cfbb4 Count dropped workers in _dec_instance_ref 10 years ago
Con Kolivas cabc01d7cd Use asynchronous send_proc in the stratifier 10 years ago