669 Commits (64f4abd302f92a7eedf0bace475b4bc8badd1d75)

Author SHA1 Message Date
Con Kolivas c4fae526fd Make share logging optional and off by default 10 years ago
Con Kolivas 00f08eed05 Make client id use the passthrough id as high bits of a 64bit version of the client id to determine the intrinsic stratum client versus the connected client 10 years ago
Con Kolivas 6f12bd51a2 Process mining.passthrough as a subclass of proxy and set up handling of clients in preparation for passthrough routing 10 years ago
Con Kolivas 1bc8c20ef7 Give a more descriptive authorisation error message to miners when the database is offline 10 years ago
Con Kolivas c11b2c11f3 Log ckdb messages before adding them to the queue of messages to send to it to ensure messages continue to be logged as generated even if they're queued to be sent to ckdb 10 years ago
Con Kolivas 6d99f89416 Allow workernames with either . or _ separators 10 years ago
Con Kolivas 63a8de475c Sleep before starting stats to avoid divide by zero 10 years ago
Con Kolivas cc38bb51df Show the blockhash in test_blocksolve in the same format as the prevhash returned by getblocktemplate 10 years ago
Con Kolivas 713509823f Rate limit the throbber to one update per second 10 years ago
Con Kolivas 83d2da1d70 Use a deep copy for stratum notify of the merkle array 10 years ago
Con Kolivas d5be610d40 Fix harmless valgrind warning 10 years ago
Con Kolivas d253a97e79 Fix null txn hashes being passed to ckdb in proxy mode 10 years ago
Con Kolivas eff11a1024 Avoid trying to send a message to ckdb if it's invalid json and identify where it came from 10 years ago
Con Kolivas 5fc1aa28a1 Add a throbber to the stratifier to show activity 10 years ago
Con Kolivas fd45d582d4 Add messages for when each process is ready 10 years ago
Con Kolivas 973571c70c Only show queueing message to ckdb once and display resumed message 10 years ago
Con Kolivas 1e0c1b4e34 Don't use safecmp for blockupdate since a null buf can be passed on 10 years ago
Con Kolivas 772315e417 Use the cmdmatch function for commands in the stratifier 10 years ago
Con Kolivas 82313ce227 Use the safecmp function in the stratifier 10 years ago
Con Kolivas cf51e5c14a Don't parse shares from now unauthorised clients 10 years ago
Con Kolivas 81b20d1376 Deauthorise clients when disconnecting them 10 years ago
Con Kolivas dae310117f Use the serverurl for the createinet value to ckdb when it is set 10 years ago
Con Kolivas a8eb9357ee Only update stats on authorised clients 10 years ago
Con Kolivas 200b9bfbc1 Fix user count logic 10 years ago
Con Kolivas 0831e07555 Fix incorrect interval being passed to hashmeter stats 10 years ago
Con Kolivas 16e4eb5f83 Don't attempt to generate stats for clients that are not yet authorised 10 years ago
Con Kolivas af0acbeb6a Set useragent to blank string when no array fields are filled in for stratum 11 years ago
Con Kolivas 1f381420ce Implement the standalone mode, removing now excessive per-user sharelog 11 years ago
Con Kolivas de5c5e4a39 Set the last diff change variable to the time of the first received share 11 years ago
Con Kolivas 1a4b3ca2a1 Remove duplicated wrong 5 min hashrate code in add_submit 11 years ago
Con Kolivas a140a8edeb Set useragent to a zero length string if none is detected 11 years ago
ckolivas a9e33c354a Pass the connector IP address to the stratifier to be stored in the client data and passed to ckdb on auth 11 years ago
ckolivas 0fadee1520 Send idle status of workers once to ckdb with userstats and then stop sending their stats 11 years ago
ckolivas cd63124613 Send ageworkinfo message to ckdb when we remove them from our list 11 years ago
ckolivas 5a33d70f90 Put sanity check into time bias function 11 years ago
kanoi 56e5c8e26c send_recv_auth field count 11 years ago
ckolivas 99cb477d2a Add poolinstance to client auths 11 years ago
ckolivas cdd8208269 accept() calls are automatically restarted with EINTR when there's no timeout 11 years ago
ckolivas 5d8e60c9d5 Send block solve information to ckdb 11 years ago
Con Kolivas 68ab724a17 Mark the last userstats in the current stat pass with an end of stats marker 11 years ago
Con Kolivas f6adc2f6b0 Trivial doc changes 11 years ago
Con Kolivas b2bd3047d2 Add workername to per-worker stats 11 years ago
Con Kolivas 4168194bd0 Show per client connected stats instead of per user, every 10 mins 11 years ago
Con Kolivas e40128a2da Allow the loglevel to be changed on the fly 11 years ago
Con Kolivas dc807917aa Add elapsed time to user and pool stats 11 years ago
Con Kolivas 72df09d650 Move the stratifier stratum send and receive queues to generic ckmsg queues 11 years ago
Con Kolivas 93ecc3a5c8 Convert the authoriser and share processor to using the generic ckmsg queues and fix the data passed to the queue function 11 years ago
ckolivas e8c47e29fa Move generic ckmsgq functions to ckpool.c to allow ckp to be included 11 years ago
ckolivas ea27e86a33 Make ckdb messaging use the generic ckmsg queues 11 years ago
Con Kolivas 96fbfa56bf Make new logdirs mod 750 11 years ago