464 Commits (cef9981d720ca88a905f65b4c2840ed59a4e6d0c)

Author SHA1 Message Date
Con Kolivas cef9981d72 Fix leak in append_proxy_line. 8 years ago
Con Kolivas 1a3674526d Add comment regarding use of read_socket_line in generator and !cs. 8 years ago
Con Kolivas e8fc982cdf Discretely pack proxy send subscribe entries to aid debugging. 8 years ago
Con Kolivas 9c38101951 Don't allow non-ascii characters in proxy configs, exiting if a global config proxy has them. 8 years ago
Con Kolivas e0d0a42595 Don't disable proxies with scrambled json. 8 years ago
Con Kolivas 1c5bfd9206 Do not disable userproxies that fail to maintain communication during authorisation without having attempted to auth. 8 years ago
Con Kolivas a54067f18a Show baseurl in proxy stats for when it differs after reconnect 8 years ago
Con Kolivas 4a1435636a Fix tiny leak. 8 years ago
Con Kolivas e0d3a7df60 Remove unnecessary use of gbt as private data in socket instance. 8 years ago
Con Kolivas 11cf360d9b Remove now unnecessary intermediate steps converting gbtbase to workbase by making them one. 8 years ago
Con Kolivas 8a66c4811b Call precious block on all submitted blocks. 8 years ago
Con Kolivas 6700c0fae0 Make userproxy_recv take same precautions with hangups while reading as proxy_recv. 8 years ago
Con Kolivas 12a134c66b Check for !ret set before checking errno as it may not be set and cached from a previous error. 8 years ago
Con Kolivas d6a190b014 Set message to false after parsing. 8 years ago
Con Kolivas 6587ac2817 Process all hangups after all messages in proxy_recv. 8 years ago
Con Kolivas 58711dd729 Remove blockhash from submit_block message to generator. 8 years ago
Con Kolivas 9d8c45930b Check inconclusive block submits against their height hash to see if they were already submitted via other means. 8 years ago
Con Kolivas cd9762d875 Handle the response from generator block submit directly, avoiding the need for a complicated list lookup of block finds. 8 years ago
Con Kolivas 039efd9266 Correctly initialise gbtbase to 0. 8 years ago
Con Kolivas 07d57d683d Prevent passthrough and node etc. failure in generator at startup due to proxy recruit change. 8 years ago
Con Kolivas 7f19552ee6 When we cannot find a transaction to rebuild_txns, try to get the data from our bitcoind and if it's not available make a transaction request of the upstream or remote pool for it - response yet to be implemented. 8 years ago
Con Kolivas 4cd432475d Decrease the parent's recruit count after sending the stratifier the new subscribe so it can get an accurate headroom count before requesting more proxies. 8 years ago
Con Kolivas 5faa21ffba Remove use of send_recv_proc entirely between threads. 8 years ago
Con Kolivas 0aebd0256f Submit blocks and retrieve responses directly between stratifier and generator. 8 years ago
Con Kolivas 72e2763594 Use a common start ping mechanism between threads. 8 years ago
Con Kolivas 44af2dcbb7 There is no need to test for cs dereferencing since it cannot. 8 years ago
Con Kolivas 00026e277a Test address directly by calling generator from stratifier without messaging. 8 years ago
Con Kolivas 6af2c10103 Call the generator directly from the stratifier for getbest calls instead of via messaging. 8 years ago
Con Kolivas 5980b6d381 Make genbase calls to generator happen directly from stratifier instead of via unix sockets. 8 years ago
Con Kolivas 3dfe179605 Deprecate send_proc by adding messages to other proc instances directly to their message queues for now. 8 years ago
Con Kolivas 2201258b2b Make sure we close sockets to subproxies when deleting them. 8 years ago
Con Kolivas 2ec6736f99 Calculate hashrate in diff shares per second per proxy by the generator and return it with proxystats. 8 years ago
Con Kolivas 510e130490 Handle epoll hangups in userproxy_recv even if epollin is set, but after reading any data available, and do not skip processing if proxy is not marked alive yet. 8 years ago
Con Kolivas 8beeb27d94 Fix memory leaks in generator parsing of commands. 8 years ago
Con Kolivas 9f31d21f5e Fix memleak in parse_delproxy. 8 years ago
Con Kolivas 411076fb96 Fix minor memleak in submit_share 8 years ago
Con Kolivas 891faa0b93 Drop messages going to dead proxies. 8 years ago
Con Kolivas 88d36209f3 Fix propagation of global proxy passwords 9 years ago
Con Kolivas a8688aece3 Don't hang up immediately on epollhup if we still have epollin events 9 years ago
Con Kolivas 44d6029e54 Handle upstream pools sending messages and then closing sockets immediately afterwards (eg after a redirect.) 9 years ago
Con Kolivas ddd58fa778 Make nodes submit upstream transactions to the local btcd to speed up blocksolve processing 9 years ago
Con Kolivas ee17b24b9b Differentiate a dead proxy from a deleted one 9 years ago
Con Kolivas a5cb533924 Fix crash with proxy that has no subproxies 9 years ago
Con Kolivas d2a8f02b92 Cope with NULL pass in add_userproxy 9 years ago
Con Kolivas e148e76d61 Name and detach server watchdog thread 9 years ago
Con Kolivas fd680659ee Generator loop should never return 9 years ago
Con Kolivas 31434bc0b9 Create unix receivers during child setup 9 years ago
Con Kolivas cec260e3fa Submit upstream shares as json directly to generator 9 years ago
Con Kolivas 0d8746249e Pass the generator json structures avoiding duplicating codec 9 years ago
Con Kolivas 3c965946e7 Replace unnecessary multiprocess model with simpler thread based model for each component for future removal of duplication of work when communicating between threads 9 years ago