128 Commits (b09bb253fc582e75147a81c9dde8b08ad502632f)

Author SHA1 Message Date
Con Kolivas b09bb253fc Act as a passthrough in node mode, passing what type of stratum message we're passing through 9 years ago
Con Kolivas 6a39cdb299 Add configuration option for node mode 9 years ago
Con Kolivas bfbe3a1039 Don't block on dead servers if possible when calling server_alive from the gen_loop 9 years ago
Con Kolivas 853bed8281 Serialise all json_rpc_calls and responses 9 years ago
Con Kolivas 88e20dd111 Add a userproxy mode that connects to the same upstream pool according to the username supplied by clients connecting to the proxy 9 years ago
Con Kolivas bce4cab176 Roll back code for relay node. 9 years ago
Con Kolivas 53656e1284 Json RPC calls can take a while to return so use a custom timeout when talking to the generator from the stratifier 10 years ago
Con Kolivas e94115d6e2 Allow _send_recv_proc to take custom timeouts 10 years ago
Con Kolivas c9245673af Make read_socket_line use a timeout pointer allowing the value to be used for reentrant calls 10 years ago
Con Kolivas b7e35effa5 Add backup btcd parsing in node mode 10 years ago
Con Kolivas 69124695cc Add options for supporting a passthrough node 10 years ago
Con Kolivas 03edcc03cd Check for valid shares in redirector and redirect for first url for now 10 years ago
Con Kolivas 31c205c138 Add basic configuration options for redirector mode 10 years ago
Con Kolivas 4bc776f99b Use non-blocking reads in read_socket_line, waiting up to the full timeout 10 years ago
Con Kolivas 3fb8ff91d6 Continue waiting in read_socket_line if we have no more to read but have not used up the full timeout 10 years ago
Con Kolivas 62d1ec3f8a Use signal handlers from sender and receiver threads in the connector avoid needing to pthread tryjoin on every message 10 years ago
Con Kolivas 281f70e17d Move inappropriate placement of ckpool definition from libckpool header 10 years ago
Con Kolivas 39a8b0ebef Create general function for receiving unix messages from the receive queue 10 years ago
Con Kolivas ba7e48c492 Create basic unix receive message thread for queueing messages to be handled asynchronously 10 years ago
kanoi 8ff07e69a3 ckpool - add start time and pid to seq information 10 years ago
Con Kolivas f6d87f1569 Create a basic handler of json messages on the listener unix socket as RPC API commands with a ckmsgq 10 years ago
Con Kolivas ca5c7da81b Provide helper functions for storing log text and their associated filenames to be written to in unlocked code 10 years ago
Con Kolivas d4304de798 These weren't the droids we were looking for. 10 years ago
Con Kolivas 228c2cf19b These weren't the droids we were looking for 10 years ago
Con Kolivas d75dd5543c Try async messages again 10 years ago
Con Kolivas 6b3cd82525 Revert "Use async send proc as a separate thread from workqueues" 10 years ago
Con Kolivas 7de43b1c6e Use async send proc as a separate thread from workqueues 10 years ago
Con Kolivas 9378f77fd9 Add an asynchronous send proc function which uses each process' generic workqueues if they exist 10 years ago
Con Kolivas 97e2b3179b Keep track of per process ckwqs in the ckpool structure 10 years ago
Con Kolivas adec278e7c Create generic workqueue function and message receiving and parsing helpers 10 years ago
Con Kolivas 428cabdfc4 Add an asynchronous send proc function which uses each process' generic workqueues if they exist 10 years ago
Con Kolivas 2865a0378f Keep track of per process ckwqs in the ckpool structure 10 years ago
Con Kolivas d594f86520 Create generic workqueue function and message receiving and parsing helpers 10 years ago
Con Kolivas 487e918ff7 Return value of send_proc is never used 10 years ago
Con Kolivas b0060079db Return value of send_proc is never used 10 years ago
Con Kolivas 42f14a9536 Add full lock tracking for mutexes and rwlocks 10 years ago
Con Kolivas 48f7702bd6 Add json_getdel_int64 helper 10 years ago
Con Kolivas 40b10ee2ba Add helper to set a json integer and then delete its entry from the json 10 years ago
Con Kolivas 3b40b805bd Store the proxy and subproxy id work is generated from 10 years ago
Con Kolivas 288e4b67bb Demote various messages in proxy mode but add more information to warnings 10 years ago
Con Kolivas 520b36cc70 Send which proxy we wish to get a subscribe or notify to/from the connector to stratifier and whether to reconnect 10 years ago
Con Kolivas 416b7a02eb Handle proxy failover correctly for remainder of upstream pools when a reconnect is issued and don't lose original pool details, demoting it to last instead 10 years ago
Con Kolivas 9f07cc11e0 Export the char_entry_t type 10 years ago
Con Kolivas 1432b90829 Remove code talking to local btcd in proxy mode since we won't be able to submit any realistic block solves locally 10 years ago
Con Kolivas 6de132f0f0 Export json_get_int64 helper 10 years ago
Con Kolivas 415e3864fa Handle old instance processes before forking any new ones for there to be no conflict with the stored pid numbers in the filenames 10 years ago
Con Kolivas b1218a7cf0 Add config option to prioritise more clients than supporting clients with high hashrates 10 years ago
ckolivas 8959cac620 Set to read only various constants in ckpool.c 10 years ago
ckolivas 19ca4d0f8c Silence unused warning 10 years ago
Con Kolivas 3bbce63302 Generate connector stats on command 10 years ago