1491 Commits (71e60437194f32efd151a9241dc91bad27b80d8a)
 

Author SHA1 Message Date
kanoi f83bd09ae7 html folder for web server 11 years ago
kanoi a107b18381 pgsql definition and script for adding ids to idcontrol 11 years ago
Con Kolivas 3cfe315b05 Fix locking error and remove entries from jp linked lists 11 years ago
ckolivas 783f527795 Fix initial notify response 11 years ago
Con Kolivas 7055f3b5d5 Create separate threads for processing share and authorisation submissions since they will be waiting for dtabase responses 11 years ago
Con Kolivas 0ed07950e2 Create the basic authorise request keys we'll send to the database 11 years ago
Con Kolivas 4907824168 id_val should be a duplicated json object 11 years ago
Con Kolivas fa8b0b0b6f Unnecessary sleep now 11 years ago
Con Kolivas badfb12da2 Do not try to send messages from the main signal handler to the children processes since they'll detect main disappearing and do not try to pthread join a dead thread 11 years ago
Con Kolivas 221825782b Check for a dead main process in the generator loop 11 years ago
Con Kolivas 8d4ac5fe55 Include more relevant information in the workinfo we'll be sending to ckdb 11 years ago
Con Kolivas 5a8e63e7a4 Simplify createdate time to secs,nsecs 11 years ago
Con Kolivas 1c452dcf5b Use stackspace for the createdate hex string 11 years ago
Con Kolivas 1007e20035 Create a json string based on parameters we'll be sending to the database on every work update to be submitted once it's hooked in 11 years ago
Con Kolivas 82cd47ceaa Store workbase generation time as a ts_t 11 years ago
Con Kolivas 2b64025b4d Split our generated coinbase1 into gbt supplied and our own generated substrings and add nanoseconds to it to make each coinbase1 likely unique for multiple pool instances 11 years ago
Con Kolivas 68eff4d6a1 Don't unlink the unix sockets to make it easier for processes to determine they are not being listened on 11 years ago
Con Kolivas ca805e44f0 Provide a getfd function for getting the main connector file descriptor for seamless restarts 11 years ago
Con Kolivas 6c4abba93c Provide a way to send binary data over unix sockets 11 years ago
Con Kolivas 20e056c4a1 Close sock in connector loop after we've finished using it 11 years ago
Con Kolivas 4ae647b1dd Empty the buffer on empty socket 11 years ago
Con Kolivas 63ccad9105 Remove interrupted retry in connector 11 years ago
Con Kolivas 76921ce29f Fix end of message parsing logic fail 11 years ago
Con Kolivas a9c4c1690d Allow select to modify the timeout instead of it being reset on each pass through the read loop 11 years ago
Con Kolivas dbffb29300 Append the null byte to the buffer before searching for the end of message marker 11 years ago
Con Kolivas cc358038dd Don't allocate extra memory in case it generates a false end of message marker 11 years ago
Con Kolivas a25dc8ab50 Don't toss out the buffer in read_socket_line if we just timed out 11 years ago
Con Kolivas 655be56b3d Don't reuse buffer pointer directly in read_socket_line 11 years ago
Con Kolivas 454d3aec0e Break out of trying for a live proxy if main is dead 11 years ago
Con Kolivas 91b3f2b1d9 memset the json err variable before use 11 years ago
Con Kolivas 75f330d468 Rework read_socket_line to keep reading while data is available 11 years ago
Con Kolivas 98aec22e09 Close clean shut down sockets in read_socket_line and invalidate the fd 11 years ago
Con Kolivas b57ffe23d6 Use one buffer for connsok line receives without relying on MSG_PEEK and abort appropriately when recv() returns 0 11 years ago
Con Kolivas 6a3a333031 connsock_t is a ckpool only struct 11 years ago
Con Kolivas 942bbe2e6c Fix max sized coinbase that leads to stack corruption with large coinbase2 11 years ago
Con Kolivas cad9282c22 Avoid one htobe conversion using hex2bin 11 years ago
Con Kolivas 19c31ad0c3 Fix inappropriate json object stealing 11 years ago
Con Kolivas 352792758c Send SIGTERM to the parent process on a failure to send a message to a sub process 11 years ago
Con Kolivas 007afe7ac8 Cancel and join proxy send and receive threads on shutdown to avoid deref after removing their memory 11 years ago
Con Kolivas f62e344ff8 Add a sanity check for tdiffs to prevent negative values 11 years ago
Con Kolivas 0623410889 Ping main on looking for the generator response in the stratifier to know if we've died before ever starting 11 years ago
Con Kolivas 251ac7e7fe Be more generous with socket connect timeouts 11 years ago
Con Kolivas aa70f0db5e Default unspecified port for proxy to 3334 11 years ago
Con Kolivas 7eb4e018b6 Allow arbitrary length coinbase2 for proxying to work properly 11 years ago
Con Kolivas 93735544ca Add debugging to hex2bin to know where it failed from 11 years ago
Con Kolivas 4121560bad Use MSG_WAITALL on reads to more reliably detect closed unix sockets 11 years ago
Con Kolivas b297a35632 Remove unused buffer ram in send_client and demote messages to info level only 11 years ago
Con Kolivas d66fde2185 Make the main listener socket always return a response and create a message input/sending loop in ckpmsg 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