192 Commits (6be75b4c1b34b8fd150cd31aec56eea6bdace30f)

Author SHA1 Message Date
Con Kolivas 77bf4b03d4 Add length checking to prevent overflow in json_append_bkeys 9 years ago
Con Kolivas debaa03d9d Simply encode/decode binary keys correctly in messages for now 9 years ago
Con Kolivas cc6ac1475f Allow binary data of user defined length to be sent via a send_unix function 9 years ago
Con Kolivas 7ad63b09e2 Pass unix message length with unix_recv 9 years ago
Con Kolivas da636b26df Bkey add WIP 9 years ago
Con Kolivas bace2d9f9a Fix thinko 9 years ago
Con Kolivas dc8da6a91c Add function to extract bkey length 9 years ago
Con Kolivas 84ff032b0e Add a header to bkey structures 9 years ago
ckolivas 485b9e1076 Create binary key objects from key:hexdata pairs 9 years ago
ckolivas 1ce7fd9c10 Specify milliseconds in log 9 years ago
ckolivas 47fcb0f671 Measure latency as half the round trip when adding mining nodes 9 years ago
ckolivas ff5ffcf85c Add a helper function for determining round trip time to a resolved URL 9 years ago
Con Kolivas 2d167171ad Increase the unix message receiving capacity 9 years ago
Con Kolivas f6cf94f187 Copyright date updates 9 years ago
Con Kolivas d69ed7ffcf More fixes 9 years ago
Con Kolivas c9f0858c56 Fixes? 9 years ago
Con Kolivas 11d14620e6 Convert to gzip 9 years ago
Con Kolivas cab637c9b1 Use epoll for wait_write_select 9 years ago
Con Kolivas 83dbc9db12 Use epoll for wait_read_select 9 years ago
Con Kolivas 432d1ce4d5 Don't treat POLLRDHUP as fatal unless we can't receive data after it, and return errors from wait_select functions when they close the socket 9 years ago
Con Kolivas b622a6ec8d Check for errors in wait_read_select, closing the socket if they occur, and add a variant for non-unix sockets that checks for hangups as well 9 years ago
Con Kolivas 8c474c1784 Support low diffs like those on testnet 9 years ago
Con Kolivas c1f812effc Fix extremely unlikely race on fd being accessed before it is set to -1 on closing 9 years ago
Con Kolivas 3f83abab8d Fix url_from_socket to work with IPV6 sized names 9 years ago
kanoi 0608a79f14 libckpool - report errno with _recv_unix_msg errors 10 years ago
kanoi e7aa081d43 libckpool - report errno with _write_length failure 10 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 7b0611119f Support testnet diffs 10 years ago
Con Kolivas 39e1e07749 Add push 20 bytes to stack in address_to_scripttxn 10 years ago
Con Kolivas 2aa93069cc Implement rudimentary untested address to script transaction support in the generation code 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
Con Kolivas 9bcacd0131 Increase precision of wait read/write select to accept floats 10 years ago
Con Kolivas 22ece7b96c Revert "Don't use MSG_WAITALL on unix sockets" 10 years ago
Con Kolivas 6e7f39321d We are not interested in POLLIN in wait_close but any mode of a closed socket 10 years ago
Con Kolivas 2cc42376bd Check also for POLLRDHUP in wait/read write select helpers 10 years ago
Con Kolivas 24d89a3e72 Don't use MSG_WAITALL on unix sockets 10 years ago
ckolivas 57e3aa83c6 Differentiate pollin from pollhup in wait_read_select 10 years ago
ckolivas 8313628629 Differentiate ready for writes from hangups in wait_write_select 10 years ago
Con Kolivas 431234a3d6 Remove option of using precarious intermediate variants of cklocks 10 years ago
Con Kolivas 85b17f1b78 Check for correct condition in wait_close 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 f37279da12 Check for correct condition in wait_close 10 years ago
Con Kolivas 33e195511c 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 c572d580eb Add lock contention testing warning at 10 seconds to all lock grabbing and fail if a lock is unable to be grabbed for more than a minute 10 years ago
Con Kolivas 0f08e9518f Add helpers for rw timed locks 10 years ago