464 Commits (cef9981d720ca88a905f65b4c2840ed59a4e6d0c)

Author SHA1 Message Date
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
Con Kolivas 6f842fc2d8 Cope with proxy auths that have no password 9 years ago
Con Kolivas d2d5a5daaa Don't use persistent connections to bitcoind 9 years ago
Con Kolivas 83dbc9db12 Use epoll for wait_read_select 9 years ago
Con Kolivas edd79bd8fa Elaborate which bitcoind has failed responses 9 years ago
Con Kolivas c645a6fc69 Make the server watchdog a standalone thread that doesn't need messaging 9 years ago
Con Kolivas fba82db0f9 Typo 9 years ago
Con Kolivas b5ea946ef4 Output generator started message as soon as we have the first live server 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 6ff89b31a2 Check server fd is still valid as well as having its alive flag set 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 516a708aad Fix bitcoind failover not working and keep connections open for faster switching in case of failure 9 years ago
Con Kolivas 853bed8281 Serialise all json_rpc_calls and responses 9 years ago