444 Commits (68e46be39da2115797a3566757b663ea97c450f4)

Author SHA1 Message Date
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 8 years ago
Con Kolivas a8688aece3 Don't hang up immediately on epollhup if we still have epollin events 8 years ago
Con Kolivas 44d6029e54 Handle upstream pools sending messages and then closing sockets immediately afterwards (eg after a redirect.) 8 years ago
Con Kolivas ddd58fa778 Make nodes submit upstream transactions to the local btcd to speed up blocksolve processing 8 years ago
Con Kolivas ee17b24b9b Differentiate a dead proxy from a deleted one 8 years ago
Con Kolivas a5cb533924 Fix crash with proxy that has no subproxies 8 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
Con Kolivas 6c8f6bb93d Move private data to different names 9 years ago
Con Kolivas fbbed17d7a Roll back to M22 9 years ago
Con Kolivas 26f1173e74 Change upstream submit to use bkeys, sending hash and data separately WIP 9 years ago
ckolivas e223264717 Include bkey header length in forward_passthrough_msg 9 years ago
ckolivas 4805bb410c Append bkeys in passthrough_recv messages 9 years ago
Con Kolivas 6e70908b30 Set a bkey bool on connecting remote/node/passthroughs flagging them capable of receiving bkey data 9 years ago
Con Kolivas 9f23616dfc Generically set send/recv buffers larger on passthroughs 9 years ago
Con Kolivas e5348ad6f2 Improve block messages 9 years ago
Con Kolivas 96e6f83d57 Allow non EOL data to be stored in read_socket_line 9 years ago
Con Kolivas dd45a95dc5 Decrease timeout for passthrough_recv and handle incomplete line gracefully 9 years ago
Con Kolivas debeccf08c Set cs->ckp in setup_servers 9 years ago
ckolivas 92ad3c76cd Don't try to passthrough_send messages to dead proxies or sockets 9 years ago
Con Kolivas 75a9e3ec3c Add connection mechanism and message workqueues for trusted remotes 9 years ago
Con Kolivas f6cf94f187 Copyright date updates 9 years ago
Con Kolivas cb2c0577cb Placeholders for api files 9 years ago
Con Kolivas 5b816982e5 Compression of any sort is slower than ordinary network transfers so remove it 9 years ago
Con Kolivas 6c128328b7 Don't reconnect passthroughs when there are no clients 9 years ago
ckolivas 3a9f5a491e Add an option to selectively enable/disable compression in passthrough modes 9 years ago
Con Kolivas daa3fde1ab Hold semaphore till we've sent the buffer 9 years ago
Con Kolivas 1912613e91 Hold semaphore till we've sent the buffer 9 years ago