426 Commits (a8688aece33f2ada6a0e47d90c5702ad95a5a111)

Author SHA1 Message Date
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
Con Kolivas 11d14620e6 Convert to gzip 9 years ago
Con Kolivas 950b855b2d Implement backwardly compatible lz4 compression support to be used by passthroughs and nodes 9 years ago
Con Kolivas 46aef425f2 Drop clients when we don't have an upstream pool in passthrough/node mode 9 years ago
Con Kolivas 135d2b84e7 Submit blocks locally in node mode 9 years ago
Con Kolivas b479043ff3 Node doesn't need a valid btcaddress 9 years ago
Con Kolivas 1feea43855 Don't send proxy information in pasthrough mode 9 years ago
Con Kolivas 50c9b5ecd2 Move message type detection to stratifier 9 years ago
Con Kolivas c5718d510e Detect node message type in the generator 9 years ago
Con Kolivas eab56b032a Set up local bitcoind connections in node mode 9 years ago
Con Kolivas 8755e5c77b Fix passthrough failures falling through as success 9 years ago
Con Kolivas 0c605e3dee Add basic node subscription functionality 9 years ago
Con Kolivas 85112ebce9 Flag a proxy as not alive when we are unable to send to it in passthrough mode 9 years ago
ckolivas 45a44ace7e Fix passthrough/redirector trying to grab semaphore twice 9 years ago
Con Kolivas b6ceb9b484 Fix userproxies not having their semaphores initialised and avoid trying to process epoll responses from proxies not marked alive 9 years ago
Con Kolivas 1e2e5bab7d Add semaphores for subproxies 9 years ago
Con Kolivas 0574a54554 Don't disable parent proxies in disable_subproxy for failover to work 9 years ago
Con Kolivas 8ef853b8fc Use the proxy connsock semaphore to serialise uses of the cs->buf to prevent races 9 years ago
Con Kolivas 012d94dd35 Add reconnect sends to alive bool changing on proxy conditions to try and fail over/back 9 years ago