331 Commits (5aa4b2bd10c5896dcca9126271a87fe3ddf0e011)

Author SHA1 Message Date
Con Kolivas 890ed35bd9 Make trusted stratifier wait for connector to connect to upstream pool and retry indefinitely instead of failing on first connect. 8 years ago
Con Kolivas dcfb734ec6 Send upstream blocks to remote servers to be submitted locally. 8 years ago
Con Kolivas bd367364c1 Propagate workinfos to all remote trusted servers to be able to submit all blocks at all remote servers. 8 years ago
Con Kolivas fe94172f2e Strip remote field that won't be used or are recrated upstream. 8 years ago
Con Kolivas 52fc524f07 Remove remaining users of send_procmsg from ckpool.c 8 years ago
Con Kolivas 5faa21ffba Remove use of send_recv_proc entirely between threads. 8 years ago
Con Kolivas 72e2763594 Use a common start ping mechanism between threads. 8 years ago
Con Kolivas 1688b4f5d7 Remove use of send_recv_proc internally from ckpool.c 8 years ago
Con Kolivas 17d9c837d1 Parse and act upon upstream auth responses in trusted mode. 8 years ago
Con Kolivas 05c1074d1b Add console message when remote trusted server disconnects, displaying IP for disconnected passthroughs as well as id. 8 years ago
Con Kolivas e011d17321 Upstream messages directly from stratifier to connector in trusted mode. 8 years ago
Con Kolivas d9e5cf03f1 Send transactions up and downstream in trusted mode to be submitted to the local btcd. 8 years ago
Con Kolivas 93f0c27fd5 Add locking for redirector share management. 8 years ago
Con Kolivas a568baf4fa Increase verbosity of connector drop message for passthroughs 9 years ago
Con Kolivas 689ab86fd0 Now that we've confirmed failing to find a client id in the receiver is a rare event again, the loglevel can be dropped in priority 9 years ago
Con Kolivas 7357525712 Rearm the epoll client fd only when it's still valid after processing its message 9 years ago
Con Kolivas 2ed69d2534 Allow the socket close to be responsible for removing client fds from the epoll list 9 years ago
Con Kolivas aca7bb39bf Wait for stratifier before processing messages in connector receiver 9 years ago
Con Kolivas bde77b155c Connector loop should never return 9 years ago
Con Kolivas 31434bc0b9 Create unix receivers during child setup 9 years ago
Con Kolivas 42d2e0f5c2 Increment client reference before adding it to the epoll list 9 years ago
Con Kolivas 5f0cf43db3 Fix inappropriate setting of proxy bool in trusted mode 9 years ago
Con Kolivas 9e17bec09c Inherit serverurl correctly when none is specified 9 years ago
Con Kolivas 0d8746249e Pass the generator json structures avoiding duplicating codec 9 years ago
Con Kolivas 43a18946ce Send the connector json structures from the stratifier to avoid json codec duplication 9 years ago
Con Kolivas 84c340c1c4 Send stratifier json structures from the connector where possible, avoiding the duplication of json 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 0b0dfe4f83 Move json decoding to threaded client_message_processor 9 years ago
Con Kolivas 0f5fc8ea8b Use fresh event structure after handing it off to the client event processor 9 years ago
Con Kolivas 75923f6daa Make client epoll event handling scalable ckmsgq threads 9 years ago
Con Kolivas f0e07c24a4 Make client event handling a oneshot event that is rearmed to allow us to thread the work 9 years ago
Con Kolivas 39070094cf Invalidate clients in common location after parse_client_msg 9 years ago
Con Kolivas ebedb77629 Cache reused variables in creceiver 9 years ago
Con Kolivas 0cb8d0af48 Fix client buffer leak in connector 9 years ago
Con Kolivas 8007f6524b Writes blocking in send_sender_send are not an unlikely event 9 years ago
Con Kolivas 6986ba95fc Make client message processing a ckmsq to minimise connector_loop holdup 9 years ago
Con Kolivas f9d4e7999a Remove unused zlib header 9 years ago
Con Kolivas eedc3eec1c Avoid needing to duplicate buffer to parse messages in parse_client_msg 9 years ago
Con Kolivas bd26f1e6b4 Increase bidirectional buffer sizes to trusted remotes to 2MB default 9 years ago
Con Kolivas fbbed17d7a Roll back to M22 9 years ago
Con Kolivas bba064044b Increase bidirectional buffer sizes to trusted remotes to 2MB default 9 years ago
Con Kolivas a0d86556a0 Downstream possible block solves to trusted nodes in binary form as well 9 years ago
Con Kolivas 4f637a8be5 Fix off-by-one error in parsing bkeys in parse_client_msg 9 years ago
Con Kolivas c9a5085bfd Remove unnecessary duplicating of message during parsing in parse_client_msg 9 years ago
Con Kolivas 2bb5679c36 Receive and parse upstreamed block submits on client interface 9 years ago
Con Kolivas 26f1173e74 Change upstream submit to use bkeys, sending hash and data separately WIP 9 years ago
Con Kolivas 55ea835f7a Search for EOL with bkey message to avoid false positives 9 years ago
Con Kolivas 4a64775a86 Fix off-by-one error in bkey send size and clear buffer properly in clear_bufline 9 years ago
Con Kolivas 7ee668e50d Don't look for bkeys with messages slated for the node since they've already been extracted 9 years ago