560 Commits (ca8d50280d8f9046788268befc516dfe187466f0)

Author SHA1 Message Date
Con Kolivas 3cf9fd186e Revert "Maintain only one unlock position in parse_submit" 10 years ago
Con Kolivas 8fab45147d Maintain only one unlock position in parse_submit 10 years ago
Con Kolivas 92a884f12a No valid workinfo should be a share error not a share 10 years ago
Con Kolivas 956be4d8b1 Add sanity check for clients sending auth without having completed subscription 10 years ago
Con Kolivas 1ff6f77162 Avoid duplicating updates on block change from polling and notified update 10 years ago
Con Kolivas 89422a5a07 Avoid allowing any clients with enonce1_64 of zero 10 years ago
Con Kolivas 35458c32b3 Don't attempt to set a user as a btcaddress based instance in proxy mode 10 years ago
Con Kolivas a723f0cd25 Rework subscribed bool, not dropping client while parsing method for risk of dereference 10 years ago
Con Kolivas da319c6485 Revert "Drop and invalidate clients that fail to subscribe or authorise" 10 years ago
Con Kolivas 55a14d4ea5 Revert "Mining subscribe does not return true as the result so use a subscribed boolean" 10 years ago
Con Kolivas 27a7a36e38 Mining subscribe does not return true as the result so use a subscribed boolean 10 years ago
Con Kolivas dbc64715f6 Drop and invalidate clients that fail to subscribe or authorise 10 years ago
Con Kolivas 72b1206e4f There should always be a client instance by the time we are parsing a method message 10 years ago
Con Kolivas 08ea17dacb Resetting first share in diff calculations leads to overshoot. Revert it and start a new diff calculation period when the hashrate appears lower instead. 10 years ago
Con Kolivas 47084ccead Implement an unlocked priority mechanism for the stratifier talking to the generator to not poll it when the responses will be in flux 10 years ago
Con Kolivas 9ac57f9ee0 Separate user from worker last share times 10 years ago
Con Kolivas f484ffd45b Allow more rapid adjustment of diff down by restarting calculation with each diff change and not capping diff drop 10 years ago
Con Kolivas 9d04e11bb6 Store pool and user logs in separate subdirectories 10 years ago
Con Kolivas 9876410580 Log stats by users instead of workers since they can and will overlap 10 years ago
Con Kolivas fcae272638 Disallow slashes in usernames 10 years ago
Con Kolivas c7e32300f1 Fix unnecessary warning in standalone mode 10 years ago
Con Kolivas 16afc8a0c3 Set json manally in send_recv_auth to aid debugging of failures to set fields 10 years ago
Con Kolivas 9b27adacb5 Send an auth request to ckdb for known btc addresses as addrauth 10 years ago
Con Kolivas ff22ae2d6a Add detection for address based registration 10 years ago
Con Kolivas 9566f1c969 Cache the reuse of the nonce2 hex length 10 years ago
ckolivas 1274a09fa1 Truncate overly long nonce2 strings from broken clients 10 years ago
ckolivas bafba9bc6a Handle workernames with a delimiter but no worker extension 10 years ago
Con Kolivas f802a7843b Fix proxy breakage with attempting to validate btcaddress that isn't used 10 years ago
Con Kolivas 22ef55be05 Update donation address and encode default 0.5% donation into coinbase 10 years ago
Con Kolivas 5a697b7c66 Add a command to validate addresses with the generator 10 years ago
Con Kolivas fd7c115431 Drop all clients and reject incoming connections when we fail to talk to the upstream pool in proxy mode 10 years ago
Con Kolivas 97b03d016f Make all file opens close on exec to prevent leaving files open on existing and possible future execves 10 years ago
Con Kolivas 8ca6d871e8 The secondary user id is unique only per user instance so move field there and reuse, fixing preauth scenario 10 years ago
Con Kolivas 159a6b2e7c Convert uses of json_pack in the stratifier to the JSON_CPACK helper 10 years ago
Con Kolivas 3a66955ae6 Add a preauth field for authorisations 10 years ago
Con Kolivas 7661f4206b Don't try to submit a block locally in proxy mode if we're missing transactions 10 years ago
Con Kolivas 5f6b5e0abb Allow a btcd to be used to submit blocks to locally in proxy mode to help perpetuate block solves more rapidly 10 years ago
Con Kolivas 2a03942cbc Automatically authorise clients if a client with the same username has already been authorised while ckdb is offline and queue the auth message to be sent when ckdb comes back online 10 years ago
Con Kolivas f794f4afab Add not no utf8 flag to json we know will only contain ascii 10 years ago
Con Kolivas 31221dd0b4 Clamp max diff in proxy mode to the current upstream pool's diff 10 years ago
Con Kolivas 5ef0829c74 Don't bother counting share diff until it matches the client set diff and don't reproduce the diff change job id test already performed when determining diff in parse_submit 10 years ago
Con Kolivas 03ba50a3e2 Workbase_id should be updated even in proxy mode or diff will only change once 10 years ago
Con Kolivas a95c259839 Clamp optimal diff after all calculations are made and store min and start diff as long integers 10 years ago
Con Kolivas 90782542f8 Change attempted block submission to 99%+ only 10 years ago
Con Kolivas 55f8d2d2dd Use int64_t lookups in uthash and fix some cosmetic errors with integers 10 years ago
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