316 Commits (dd45a95dc55e2d4aef57aa1231a510bee0172dc2)

Author SHA1 Message Date
Con Kolivas 19bf803b99 Clean up shutting down of old processes, polling for when they exit for faster handover 10 years ago
Con Kolivas 8d1af2b7fe Check for presence of main process before trying to ping it in case the socket is pointing a new process 10 years ago
Con Kolivas 5dd076cfbe Allow serverurl to take an array of entries for future binding to multiple interfaces/ports 10 years ago
Con Kolivas 00fa820c3b Make the json_get functions return boolean for success or failure 10 years ago
Con Kolivas 1d0d914d52 Store the fd in read_socket_line to not have it change under us, and empty the cs buffer on failure 10 years ago
Con Kolivas bbfadc3e47 Store the fd in read_socket_line to not have it change under us, and empty the cs buffer on failure 10 years ago
Con Kolivas 0709058b25 Allow nonce1 and nonce2 lengths to be specified separately 10 years ago
Con Kolivas ab91682e22 Add support for custom extranonce1 lengths 10 years ago
Con Kolivas 995fce28c1 Make it possible to create many threads associated with a ckmsgq 10 years ago
ckolivas dd3a4a121a Revert "Do not overlap writes to unix sockets" 10 years ago
ckolivas c4ec64929d Revert "Only allow one send_recv_proc at a time" 10 years ago
ckolivas 9d793945f0 Only allow one send_recv_proc at a time 10 years ago
ckolivas 6f77624613 Do not overlap writes to unix sockets 10 years ago
ckolivas cab3e94ada Allow reconnect to take a :url,port extension to specify where to reconnect to 10 years ago
ckolivas 620d613d1a Add a maxclients directive that stops accepting clients when there are too many 10 years ago
Con Kolivas 86fa46069c Rework the handover mechanism to make the old client reject further clients, then send a reconnect, then shutdown and wait before killing it 10 years ago
Con Kolivas 5532de0f1b Implement a stratum reconnect function 10 years ago
Con Kolivas e69db64eb0 Add commands to reject and accept further connections 10 years ago
Con Kolivas 27ac4e23ef Parse the difficultydefault entry returned from authorise 10 years ago
Con Kolivas 3288b15622 Parse new auth command from ckdb 10 years ago
Con Kolivas e683fa42b6 Use the Close handler in ckpool.c 10 years ago
Con Kolivas 255bab88fe Add a maximum diff option 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 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