166 Commits (11208274b181ad79746e56d58b968387043152d9)

Author SHA1 Message Date
Con Kolivas 5c7e42c29e Change default nonce1 length to 4 bytes 10 years ago
Con Kolivas 1df924e73d Provide an option to daemonise ckpool 10 years ago
Con Kolivas c019a746f5 Use a completion timeout to wait for children to exit and kill them if they don't 10 years ago
Con Kolivas 8fb14c8c9b Use SIGUSR1 to shut down children only 10 years ago
Con Kolivas 5071a7fd06 Handle SIGUSR1 in the child sighandler 10 years ago
Con Kolivas 92fb508c44 Handle SIGUSR1 in the child sighandler 10 years ago
Con Kolivas 343699a767 Add sanity checks in pthread cancels/joins 10 years ago
Con Kolivas 00f9cf297d Hand over multiple sockets if we can 10 years ago
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