581 Commits (5592fa2c2de48f08f288a695366b403034e8ecd3)

Author SHA1 Message Date
Con Kolivas 5592fa2c2d Add 7 day stats to workers 10 years ago
Con Kolivas 7d97b8d323 The stratifier shouldn't be broadcasting anything in passthrough mode 10 years ago
Con Kolivas 3b9a846340 Don't allow passthrough subclients to resume 10 years ago
Con Kolivas c0e4310c2d Send a dropall to the stratifier when we're in reject mode 10 years ago
Con Kolivas 53656e1284 Json RPC calls can take a while to return so use a custom timeout when talking to the generator from the stratifier 10 years ago
Con Kolivas 2aa93069cc Implement rudimentary untested address to script transaction support in the generation code 10 years ago
Con Kolivas b66f207a9f Add a braindead check to avoid trying to generate to a script address 10 years ago
ckolivas 9c4e63691a Increase string storage space for enonce1/enonce1var to accommodate 8 byte nonce1length configuration 10 years ago
Con Kolivas 146d164053 Put dropped at the start of the stratifier messages for easier parsing 10 years ago
Con Kolivas 806d1c76a2 Do not create a stratifier statsupdate thread in passthrough mode since the stats always read zero 10 years ago
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