2116 Commits (dcf55ff1fb896840abd48e960e109802b6ae4985)

Author SHA1 Message Date
Con Kolivas 97b03d016f Make all file opens close on exec to prevent leaving files open on existing and possible future execves 10 years ago
kanoi 6d16c5c1d6 ckdb - add optional -Y confirm ranges for -y 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
ckolivas 38db91bf74 Use a pthread conditional to wake the workqueue in ckdb with a 420ms timeout instead of polling every 4ms 10 years ago
Con Kolivas cfa9824b08 Convert uses of json_pack to JSON_CPACK in the generator 10 years ago
Con Kolivas 159a6b2e7c Convert uses of json_pack in the stratifier to the JSON_CPACK helper 10 years ago
Con Kolivas 67f6a0148c Provide a macro helper for json_pack that checks the return value and describes what the error is and where it came from 10 years ago
kanoi ebf35769f1 ckdb - add version information 10 years ago
kanoi 77dce26add ckdb - add a verbose json error for incoming json text 10 years ago
Con Kolivas f26273f34f Attempt failover when bitcoind socket is invalidated 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
kanoi 5fda351d37 ckdb - remove stupid gcc warning 10 years ago
kanoi 6e3b17b5b9 ckdb - remove gcc warnings 10 years ago
kanoi 86c902b2f8 ckdb - add a UTC timestamp to the end of the New block message 10 years ago
kanoi 792a4c7808 ckdb - sharesummary confirmation check with -y (no db changes) 10 years ago
Con Kolivas a0cf598c83 Inline the only caller of noutf8_iterate 10 years ago
Con Kolivas f794f4afab Add not no utf8 flag to json we know will only contain ascii 10 years ago
Con Kolivas 1dfc48698b Provide a way to dump json when it is known there is no utf8 in it 10 years ago
Con Kolivas 4d9dc10206 Use realloc in strbuffer_append_bytes 10 years ago
kanoi f8725a3a69 ckdb/php - add 5m hashrate to allusers and use it 10 years ago
kanoi ec1dc12332 ckdb - update username pattern and docs 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
kanoi f15273ca53 ckdb - add some examples in the socket doc 10 years ago
kanoi f36b2763bc ckdb - remove a wakeup semaphore and replace with a short sleep 10 years ago
kanoi a12d67fdef ckdb - name the threads 10 years ago
kanoi d56a878682 ckdb - remove extra unnecessary lock 10 years ago
kanoi e45ef004ef ckdb - non locking ckdb log - since it's not that critical 10 years ago
kanoi a686579cd1 ckdb - respect global loglevel 10 years ago
kanoi d28c2314e7 ckdb - comment on the socket command format in the code 10 years ago
kanoi 1c66abb0a9 ckdb - add round share count to 'homepage' and php 10 years ago
kanoi 2b47ce872b ckdb - update some internal TODO documentation 10 years ago
kanoi 2bbb7a6f75 ckdb - store/display last share diff and expedite shutdown - DB v0.7 10 years ago
Con Kolivas 763b92fc59 Make passthrough automatically set standalone mode 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
kanoi 6c0850dffb ckdb - tidy up block update and add password change 10 years ago
Con Kolivas 17a4cab86c Off by one error on new connections 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 b1ae420fd3 Pass through message to relevant processes with separate threads in passthrough mode 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 3b477b4e07 Provide an option --without-ckdb to build ckpool without postgresql support 10 years ago
kanoi 7f5de8a9a1 ckdb - allow '-' in email domains 10 years ago
kanoi 748ebfff42 ckdb - shutdown all threads 10 years ago