322 Commits (eab4762c34cfa0bfb60a4897eda733cc830c0b0b)

Author SHA1 Message Date
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
Con Kolivas 94cf7b2c17 Properly handle clients that don't accept bkeys 9 years ago
Con Kolivas 401374e437 Overwrite EOL with bkey message in process_client_msg 9 years ago
ckolivas 41db95b213 Append EOL to json dumps when no bkeys are appended 9 years ago
ckolivas d7e0fa0cec Calculate blen correctly in send_client 9 years ago
ckolivas 27080e48fa Append bkeys data in process_client_msg 9 years ago
ckolivas 4805bb410c Append bkeys in passthrough_recv messages 9 years ago
ckolivas d91295cf82 Decode bkeys for clients that don't support them, otherwise forward on entire message 9 years ago
ckolivas 812cd70e8f Handle rare fail mode gracefully 9 years ago
Con Kolivas 6be75b4c1b Move bkey extraction to send_client WIP 9 years ago