293 Commits (ce2559f8c27c095b9a529d5e40bd1aa438c620e0)

Author SHA1 Message Date
Con Kolivas 8e34ff377b Make necessary changes to ckproxy to support large coinbases and null length enonce1 for p2pool support 10 years ago
Con Kolivas b36e4cec3c Make sure jobids align between generator and stratifier in proxy mode 10 years ago
Con Kolivas 099701f26b Set initial start time in the stratum loop to zero to guarantee we get a new workbase immediately 10 years ago
Con Kolivas 01240af44d Implement basic get_transactions and new get_txnhashes calls 10 years ago
Con Kolivas 6bd4ed66bd Move block hash update display to add base for notify enabled btcds 10 years ago
Con Kolivas 683fdec8f2 Reset proxy diff to startdiff on each new subscription 10 years ago
Con Kolivas 5c52cc65c7 Add an optional field notify per btcd that tells ckpool not to pool for block changes 10 years ago
Con Kolivas 27abc0e84f Make invalid workinfo id use the current workbase id 10 years ago
Con Kolivas b803c285e1 Revert "No valid workinfo should be a share error not a share" 10 years ago
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