119 Commits (304f6f09371a0e0b893d1acd5ec8a4eb50741fe3)

Author SHA1 Message Date
Con Kolivas 581b3c8902 1024 is upper limit to be considered text by most editors so change down to 1000 9 years ago
Con Kolivas a5ffba6d52 Increase default log buf size to fit mining notify messages 9 years ago
Con Kolivas e94115d6e2 Allow _send_recv_proc to take custom timeouts 10 years ago
Con Kolivas aa8460c0ba Set default unix read timeout back to 5 seconds except for ckpmsg and ckdb which need the 30s defaults, and double the write timeout 10 years ago
Con Kolivas f791495889 Move failure warnings into write_length, importing source details and adding info about type of failure 10 years ago
Con Kolivas 6cd2778477 Add a helper function for converting an M of N script address to a transaction 10 years ago
Con Kolivas 85a08ce3ab Increase precision of wait read/write select to accept floats 10 years ago
kanoi 15d16df1fe ckdb - process/report sequence numbers and #define some db/transfer names 10 years ago
Con Kolivas 281f70e17d Move inappropriate placement of ckpool definition from libckpool header 10 years ago
Con Kolivas 431234a3d6 Remove option of using precarious intermediate variants of cklocks 10 years ago
Con Kolivas 90c682177f Wait for the other end to close a unix socket to ensure the message has gone through 10 years ago
Con Kolivas 42f14a9536 Add full lock tracking for mutexes and rwlocks 10 years ago
Con Kolivas 7b452b361f Remove macro placeholders for locks in preparation for implementing lock tracking 10 years ago
Con Kolivas 0f08e9518f Add helpers for rw timed locks 10 years ago
Con Kolivas b7f7e71f7a Make dealloc entirely a macro allowing the compiler to optimise out the pointer nulling if it's unneeded 10 years ago
Con Kolivas cced9e43b2 Add a helper function to libckpool for setting a json object 10 years ago
Con Kolivas e5b9e84129 Add a helper function to check a hex string is valid 10 years ago
Con Kolivas 8622718c48 Make jansson use ckalloc for its malloc 10 years ago
Con Kolivas 098930afd5 Add a completion timeout helper function 10 years ago
Con Kolivas 3e335c3b38 Abort any functions on signal handling, cleaning up cksem functions 10 years ago
kanoi 503ec09f27 make LOG* macros typecheck and fix related errors/warnings 10 years ago
Con Kolivas 65f52112ba Confirm all handed over sockets match the configured sockets 10 years ago
Con Kolivas be87144fe1 Provide a helper function for turning a socket into a url and port 10 years ago
Con Kolivas 02dfda6814 Add a helper function for getting an addinfo from a url and port 10 years ago
Con Kolivas e5f26443af Make url from sockaddr take port as a char 10 years ago
Con Kolivas 6d40647334 Add a helper function for converting a struct sockaddr into a url and port 10 years ago
Con Kolivas c57782af25 Avoid variable names in json checking macros that may conflict 10 years ago
kanoi 063d723a31 allow ckpmsg to set the unix recv timeout 10 years ago
Con Kolivas d1e08ac9c2 Add source debugging to close failure 10 years ago
Con Kolivas 27ac4e23ef Parse the difficultydefault entry returned from authorise 10 years ago
Con Kolivas 8e29c957e0 Add helper function to set no linger 10 years ago
Con Kolivas bae2493346 Add a helper for close which invalidates the file handle as well 10 years ago
Con Kolivas e4f1a87050 Add a helper function for pthread_mutex_timedlock 10 years ago
Con Kolivas 75eb1cf155 Add error checking to json set wrappers 10 years ago
Con Kolivas 67f6a0148c Provide a macro helper for json_pack that checks the return value and describes what the error is and where it came from 10 years ago
kanoi 7daa709781 libckpool - add semaphone function set as cksum_* 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 3e6fe0dde7 libckpool - make the rotating filename a separate function 10 years ago
Con Kolivas 5b2b4c73ef Remove all handling of interrupted calls which may have been blocking appropriate failure modes 10 years ago
Con Kolivas 8dbc90fbaf Add a helper function for safely checking if a buffer matches a command 10 years ago
Con Kolivas 2b86f9bde1 Add a safe strcmp helper function 10 years ago
ckolivas e8c47e29fa Move generic ckmsgq functions to ckpool.c to allow ckp to be included 11 years ago
ckolivas 997a88191c Make create_ckmsgq return a pointer to the generated queue and export the ckdbq functions 11 years ago
ckolivas 50463445c0 Create a set of generic queue receiving thread and processing functions 11 years ago
kanoi 027668b84f ckdb - homepage stats 11 years ago
Con Kolivas c4c9a7b2a6 Create a rotating log function that changes hourly with an exclusive lock while writing 11 years ago
Con Kolivas 6f099e43af Fix missing error code 11 years ago
Con Kolivas 7ff39bf07e Use an enum for various errors and reject reasons for shares and put their strings in libckpool 11 years ago
Con Kolivas bb83f99a44 Convert workinfo id to int64_t to be compatible with database logging and add fields to the json that will be logged 11 years ago
Con Kolivas 6c4abba93c Provide a way to send binary data over unix sockets 11 years ago