297 Commits (ea945e863c0e538ed3bc66f6fde522e6327b0274)

Author SHA1 Message Date
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 87336835f6 Log combined per worker stats in a workers subdirectory 10 years ago
Con Kolivas 8a0d0667e3 Check for initialised ckmsgq when checking if the queue is empty 10 years ago
Con Kolivas 90f5936956 Add a helper function to detect when a ckmsgq is empty 10 years ago
Con Kolivas b44a347e97 Add console warning on restart 10 years ago
Con Kolivas b99efe8071 Give listener response to restart request 10 years ago
Con Kolivas 7ca88d3b14 Create missing btcdnotify 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 f770110e42 Change default blockpoll to 5s, assuming the notifier will be used with bitcoind 10 years ago
Con Kolivas 780b42a424 Change default block polling to 50ms 10 years ago
Con Kolivas 9d04e11bb6 Store pool and user logs in separate subdirectories 10 years ago
Con Kolivas 8823462c41 Sanity check on failed startup shutdown combination where child processes never get started 10 years ago
Con Kolivas 22ef55be05 Update donation address and encode default 0.5% donation into coinbase 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 a95c259839 Clamp optimal diff after all calculations are made and store min and start diff as long integers 10 years ago
Con Kolivas 763b92fc59 Make passthrough automatically set standalone mode 10 years ago
Con Kolivas c4fae526fd Make share logging optional and off by default 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 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
Con Kolivas 03706ed5b2 Only add the handover parameter on restart if it's not already set 10 years ago
Con Kolivas c371f9da91 Add command line parameter to set passthrough mode 10 years ago
Con Kolivas 6b61ae5034 Put a sanity check on the length of the btcsig 10 years ago
Con Kolivas 16d898c7a7 Don't handle keyboard based signals by children processes 10 years ago
Con Kolivas 9b9c992569 Mask further signals from child processes once received and exit 10 years ago
Con Kolivas b783ae992a Deref pthreads after cancelling them 10 years ago
Con Kolivas dd13d356c2 Check threads exist before trying to cancel or join them 10 years ago
Con Kolivas d728f7d863 Inherit pids of processes that are forked later 10 years ago
Con Kolivas 92c67ab289 Provide a restart command which does a handover to an new binary with the same arguments 10 years ago
Con Kolivas 1830df684f Put a sanity check on kill calls to make sure we are not sending them to pid 0 10 years ago
Con Kolivas 30e36979ca Revert inappropriate commenting out of code 10 years ago
Con Kolivas 73e807a6b6 Don't extract sockaddr when we have an old fd 10 years ago
Con Kolivas 61bc8628f3 Implement a handover option which allows ckpool to inherit the socket from a running instance before shutting it down keeping miners talking to the existing connection 10 years ago
Con Kolivas a832b64006 Fix getfd function to really send a full struct msghdr returning a new fd to copy sockets across processes 10 years ago
kanoi 7698d1880b convert DB time to UTC correctly, make ckdbYYYYMMDDHH.log UTC and make time use it's own buffer 10 years ago
Con Kolivas 5d266a0faa Use cmdmatch in connector and ckpool 10 years ago
Con Kolivas dc3dd18e92 Add a slow 1s timedwait to ckmsg_queue parsing to not miss wakeups 10 years ago
Con Kolivas fc1d956f37 Make a per-process logger allowing logging to be line buffered yet asynchronous 10 years ago
kanoi c1de7286d7 ckpool - add timestamps to screen log 10 years ago
Con Kolivas dd056cd030 Provide an option to run ckpool standalone without ckdb 11 years ago
Con Kolivas 1e81ac7887 Convert command line to accept long options that are also self documenting with -h 11 years ago
kanoi fb3eeac022 ckpool - add json_str NULL to error detection 11 years ago
kanoi e51a5a7afd ckpool - attempt to identify json error passed to _json_ckdb_call 11 years ago
ckolivas 34d77bd3b9 Make significant floating point errors fatal to avoid subtle bugs being missed 11 years ago
ckolivas 61e8c46ee5 Don't fclose the log file on cleanup in case we still send mesages to the log file. The OS will close it on shutdown anyway. 11 years ago
ckolivas a092fd91a4 Forgot to set return value in read_socket_line 11 years ago
ckolivas e789416b17 Fix unused variable warnings 11 years ago
ckolivas b6e9d18bfc Handle signal interruptions on all poll and select calls 11 years ago
ckolivas a8eee6f0a3 We cannot intercept signal 9 11 years ago
Con Kolivas b289046ffe Demote the socket file exists message to notice level 11 years ago
Con Kolivas e40128a2da Allow the loglevel to be changed on the fly 11 years ago