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 |
Con Kolivas
|
6e70908b30
|
Set a bkey bool on connecting remote/node/passthroughs flagging them capable of receiving bkey data
|
9 years ago |
Con Kolivas
|
77bf4b03d4
|
Add length checking to prevent overflow in json_append_bkeys
|
9 years ago |
Con Kolivas
|
debaa03d9d
|
Simply encode/decode binary keys correctly in messages for now
|
9 years ago |
Con Kolivas
|
8ed4011247
|
Fix heap overflow
|
9 years ago |
Con Kolivas
|
e77a6adc01
|
Allow large messages on trusted remote clients
|
9 years ago |
Con Kolivas
|
74ed7186f8
|
Revert "Allow large messages on trusted remote clients"
This reverts commit 438b7c5831 .
Broken, needs further review.
|
9 years ago |
Con Kolivas
|
438b7c5831
|
Allow large messages on trusted remote clients
|
9 years ago |
Con Kolivas
|
901fd3b1cf
|
Use ping/pongs to determine if upstream pool is still alive
|
9 years ago |
Con Kolivas
|
ba1d832813
|
Listen for upstream messages and submit blocks locally
|
9 years ago |
Con Kolivas
|
da636b26df
|
Bkey add WIP
|
9 years ago |
Con Kolivas
|
21aa6b3769
|
Missing EOL on dropclient message to passthroughs
|
9 years ago |
Con Kolivas
|
2007ca59c0
|
Missing EOL on dropclient message to passthroughs
|
9 years ago |
Con Kolivas
|
01435767af
|
Store client sendbufsize to avoid setting it again later to a smaller value unwittingly
|
9 years ago |
Con Kolivas
|
24a9e9eb91
|
Set large send and receive buffers for passthrough clients
|
9 years ago |
Con Kolivas
|
acd866dd27
|
Set large receive buffers for trusted remote servers
|
9 years ago |
Con Kolivas
|
e0b6e0cc60
|
Set large send buffers for trusted remotes
|
9 years ago |
Con Kolivas
|
a6cc0bd90c
|
Provide helper functions for setting buffer sizes on any socket fds
|
9 years ago |
Con Kolivas
|
39f542fac9
|
Increase send buffer size when possible to nodes to accommodate large messages
|
9 years ago |
Con Kolivas
|
cf0f452b8a
|
We already check redirector shares for the mining.submit method
|
9 years ago |
Con Kolivas
|
38b09e0f95
|
Can get invalid json from upstream server when responding to invalid json from client
|
9 years ago |
Con Kolivas
|
6947a4642a
|
Upstream shares and process them accordingly in trusted mode
|
9 years ago |
Con Kolivas
|
c56a91cbce
|
Add mechanism for parsing trusted remote messages and counting shares
|
9 years ago |
Con Kolivas
|
75a9e3ec3c
|
Add connection mechanism and message workqueues for trusted remotes
|
9 years ago |
Con Kolivas
|
84d822063b
|
Fix missing worker/user count dropping in node mode when clients disconnect
|
9 years ago |
Con Kolivas
|
96f5c04619
|
Forward on passthrough client drop requests to the passthrough itself
|
9 years ago |
Con Kolivas
|
f6cf94f187
|
Copyright date updates
|
9 years ago |
Con Kolivas
|
00f2fdbb0a
|
Don't try to send invalid json messages to the stratifier in node mode
|
9 years ago |
Con Kolivas
|
25aecd33c8
|
Selectively compact json that does not need to be visualised
|
9 years ago |
Con Kolivas
|
5b816982e5
|
Compression of any sort is slower than ordinary network transfers so remove it
|
9 years ago |
Con Kolivas
|
effeba4999
|
Fix logic fails
|
9 years ago |
Con Kolivas
|
5fb2ea342e
|
Various fixes
|
9 years ago |
Con Kolivas
|
ea945e863c
|
Reinstate mtu size for compression to clients
|
9 years ago |