29 Commits (6a3a3330319c4c5a31eda65221e4e39e71814fc3)

Author SHA1 Message Date
Con Kolivas 6a3a333031 connsock_t is a ckpool only struct 11 years ago
Con Kolivas b77e481c7e Use a weak logmsg function within libckpool allowing it to be included standalone without touching ckpool code 11 years ago
Con Kolivas bc78acceca Move the functions that require ckpool specific variable types out of libckpool 11 years ago
Con Kolivas 86e70edfbc Make all child processes ping the parent process at regular intervals and then die if it has disappeared. Do not attempt to send unix messages to dead processes and abort instantly on socket EINTR 11 years ago
Con Kolivas 8073936b46 Check for incorrect return value on asprintf 11 years ago
Con Kolivas d90b4ffddd Check return value of asprintf 11 years ago
Con Kolivas bfec616da3 Create new proxy entries on the fly with the client reconnect command and switch to it 11 years ago
Con Kolivas e959ba39a4 Iterate over the configured btcds, finding the first working one; failover to be added later 11 years ago
Con Kolivas 40807602c9 Fix macro variable name clashing and crash on logging prior to logfile being set 11 years ago
Con Kolivas b4e6aef470 Log all output to a logfile, display all warnings, and use locking to prevent overlapped messages 11 years ago
Con Kolivas f48558d2b5 Detach child processes from the tty leaving only the main process to talk to it and exit all processes in a consistent way with more information on termination 11 years ago
Con Kolivas 7c98ab5c1d Store structures for all possible upstream servers to allow us to choose an alive one for now with a view to enable switching 11 years ago
Con Kolivas 0256ad517b Accept an array of entries for bitcoinds and take initial values for proxying 11 years ago
Con Kolivas 78c1b2dfda Make process instances an array within the ckpool struct allowing us to enable only those we need when we add more modules to future code 11 years ago
Con Kolivas 78fbb4e91d Make logging directory configurable, and store share logs by height/workid and totals for the pool as well 11 years ago
Con Kolivas 55045434f1 Make the start and minimum diff configurable and set them to 42 and 1 by default 11 years ago
Con Kolivas be746b1795 Build fix 11 years ago
Con Kolivas d8bb3380ae Add option to kill off old instance 11 years ago
Con Kolivas ad5afbe6bb Add datestamp to logging 11 years ago
Con Kolivas c274457caa Add loglevel support with default of notice level, configurable on command line 11 years ago
Con Kolivas fd2c51bed3 Restructure includes to only have ckpool instance and proc instance in ckpool.h 11 years ago
Con Kolivas f864e1176c Install signal handlers and store the originals in the ckpool_t 11 years ago
Con Kolivas 9544d280e3 Launch generator process and abstract out more of the per process files created 11 years ago
Con Kolivas 8a23b0bb28 Write the pid to a temporary file 11 years ago
Con Kolivas 41bc9865c9 Begin basic main function parsing parameters, create a directory for sockets and create a listener thread 11 years ago
Con Kolivas e349ec2435 Add a slew of timer helper functions to libckpool 11 years ago
Con Kolivas c657764f8f Add various helper functions to libckpool 11 years ago
Con Kolivas b2a333e373 Add more defines and begin libckpool with sock_keepalive 11 years ago
Con Kolivas ef93d2760e Add some commonly used functions to a common header and check headers in configure.ac 11 years ago