600 Commits (f0e895c333673dba2eb61084b4ac220b35507190)

Author SHA1 Message Date
Con Kolivas 1e175d851c Missing valid but not submitted count for proxy 10 years ago
Con Kolivas 53641a9c24 Prevent wb dereference in parse_submit 10 years ago
Con Kolivas 600e6923fc Count only accepted and stale rejects in diff calculation 10 years ago
Con Kolivas 0f7daecac4 Stats on 1st reject were being missed 10 years ago
Con Kolivas 255bab88fe Add a maximum diff option 10 years ago
Con Kolivas 857462e16a Simplify the complicated sequential locking to pure choice of write or read in the stratifer 10 years ago
Con Kolivas 55ff1389ee Make ckpool built without ckdb support imply standalone and remove ckdb options when build support is disabled 10 years ago
Con Kolivas 49e465c8d5 Remove unnecessary extra step in disconnected_sessionid_exists 10 years ago
Con Kolivas 00fc686bbf use a union for the split nonce2 values instead of open coding a pointer version 10 years ago
Con Kolivas ba506f6262 Fix more 64bit print modifiers 10 years ago
Con Kolivas 82c7f24614 Add support for setting worker diff and mining.suggest_difficulty parsing 10 years ago
Con Kolivas fff2028591 Avoid uninit buf 10 years ago
Con Kolivas 87336835f6 Log combined per worker stats in a workers subdirectory 10 years ago
Con Kolivas f54aa412b1 Create a linked list of each worker per user and decay per worker shares separately 10 years ago
Con Kolivas dd6a576935 Remove the linked list of dead clients and maintain a linked list of all workers by user, and store stats per combined workername 10 years ago
Con Kolivas 991877134a Send a heartbeat every second to ckdb to allow ckdb to send information not specifically requested while maintaining ckpool msg-response relationship. Do not send heartbeats if there are messages queued already for when ckdb is offline/busy. 10 years ago
Con Kolivas 17c2276e33 Ensure we have serialised access to ckdb by using a mutex on submit/receives for auths since other responses are mostly ignored 10 years ago
Con Kolivas e441e65c53 Ping miners regularly in proxy mode to ensure they don't disconnect when diff is too high for them and they receive no update 10 years ago
Con Kolivas eeba52e716 Remove enonce1 debugging 10 years ago
Con Kolivas 8c44df96cb Ignore reject floods on initial connect 10 years ago
Con Kolivas c4506c7e47 Round away from zero when choosing optimal diff 10 years ago
Con Kolivas 3d6601d20c Maximise the nonce2 size in proxy mode and ensure we don't clash enonce1 instances, rejecting clients when there is no more space available 10 years ago
Con Kolivas 36436b0c4c Use singly linked list only for dead clients and don't keep disconnected instances in proxy mode 10 years ago
Con Kolivas 79c99c4daf Must check against upstream diff before submitting 10 years ago
Con Kolivas d928c154ee Submit only valid and stale shares upstream in proxy mode and add logging about submits in verbose mode 10 years ago
Con Kolivas 10bb351736 Avoid updating diff until there is a current work base 10 years ago
Con Kolivas 427c1bf12c Check diff on each notify in proxy mode 10 years ago
Con Kolivas f4f6d53db9 Submit stale shares in proxy mode 10 years ago
Con Kolivas 6d70aac3a2 Clamp lower diff to 1 in proxy mode 10 years ago
Con Kolivas 08f7f39836 Do not accept proxy notify update until subscription complete 10 years ago
Con Kolivas e326d36be5 Only use 4 bytes for enonce1 in proxy mode when we have 8 or more bytes for nonce2len 10 years ago
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