224 Commits (973571c70c5a0f63ecf4e7edc060738c757c255a)

Author SHA1 Message Date
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
Con Kolivas 4e86d66a5b Leave enough room in the allocated ram for logdir for the null byte 11 years ago
Con Kolivas 82e7306da4 Diff is a double in shares 11 years ago
Con Kolivas 31195128f6 Fix one uninitialised variable 11 years ago
Con Kolivas ddf7703e92 Add workaround for fast connecting miners 11 years ago
Con Kolivas f6c4e49f16 Send userstats to ckdb in a staggered fashion every 10 minutes 11 years ago
Con Kolivas 7cee5962c7 Rationalise pool stats to only show active workers and users accurately 11 years ago
Con Kolivas 14b965c67a Change authentication response check from added to ok 11 years ago
Con Kolivas 91e2b3c942 Remove the method from the command we send to ckdb and put it at the beginning of the message 11 years ago
Con Kolivas 645b94c949 Log all ckdb requests to the rotating ckdb log 11 years ago
Con Kolivas 09f0586243 Add all messages that we don't need to wait for the ckdb response to a separate thread message queue and cache them if ckdb is unresponsive 11 years ago
Con Kolivas 8798f08622 Make an array for the different ids we send to ckdb 11 years ago
Con Kolivas 9d099060d3 Clean up auth response handling and drop regular ckdb responses to verbose logging 11 years ago
Con Kolivas 1682d8e0f3 Cope with empty transactions in json encoding 11 years ago
Con Kolivas 1af6eda2b1 Remove all concept of accepted/rejected shares per user from stratifier 11 years ago
Con Kolivas 7d16041dd1 Remove any concept of round shares or pplns from stratifier 11 years ago