Con Kolivas
|
f2ae887a62
|
Fix initial rcvbufsiz detection
|
9 years ago |
Con Kolivas
|
1a003db4be
|
Increase receive buffer size whenever possible to beyond largest message size
|
9 years ago |
Con Kolivas
|
4eed1715c3
|
Fix logic fail
|
9 years ago |
Con Kolivas
|
f78fe91cef
|
Only ever increase buffer size in add_buflen
|
9 years ago |
Con Kolivas
|
297e8a83d5
|
Typo
|
9 years ago |
Con Kolivas
|
64e74c71f8
|
Further simplify recv_available
|
9 years ago |
Con Kolivas
|
96e6f83d57
|
Allow non EOL data to be stored in read_socket_line
|
9 years ago |
Con Kolivas
|
360fdf967f
|
Always read all pending data in read_socket_line
|
9 years ago |
Con Kolivas
|
93adf51c0d
|
Rename add_bufline to add_buflen since it's not a line being added
|
9 years ago |
Con Kolivas
|
7b887e9ac6
|
Add mechanism for parsing received block messages from the main pool at remote nodes to submit them locally
|
9 years ago |
Con Kolivas
|
75a9e3ec3c
|
Add connection mechanism and message workqueues for trusted remotes
|
9 years ago |
Con Kolivas
|
bd7ca390ff
|
Add variable parsing for trusted remote nodes
|
9 years ago |
Con Kolivas
|
f6cf94f187
|
Copyright date updates
|
9 years ago |
Con Kolivas
|
225ea83e33
|
Failure to recv after wait_read_select should be fatal
|
9 years ago |
Con Kolivas
|
52b3a28b88
|
Check regularly for an invalidated file handle in read_socket_line
|
9 years ago |
Con Kolivas
|
6398a4cac6
|
Add a nodeserver option for dedicated serverurls that will accept incoming requests to act as a mining node
|
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
|
47ecddf88a
|
Pass select timed out return of zero in read_socket_line
|
9 years ago |
ckolivas
|
3a9f5a491e
|
Add an option to selectively enable/disable compression in passthrough modes
|
9 years ago |
Con Kolivas
|
effeba4999
|
Fix logic fails
|
9 years ago |
Con Kolivas
|
85302af03f
|
Decrement timeout in read_cs_length
|
9 years ago |
Con Kolivas
|
ff5e74fbd1
|
Rework read_socket_line loop to not bother reading more once it has a message
|
9 years ago |
Con Kolivas
|
7e4fee659e
|
Minor fixes
|
9 years ago |
Con Kolivas
|
5fb2ea342e
|
Various fixes
|
9 years ago |
Con Kolivas
|
5146b715fc
|
Empty buffer on failure
|
9 years ago |
Con Kolivas
|
4ef8ab49e3
|
Fix reinsertion logic
|
9 years ago |
Con Kolivas
|
d69ed7ffcf
|
More fixes
|
9 years ago |
Con Kolivas
|
c9f0858c56
|
Fixes?
|
9 years ago |
Con Kolivas
|
11d14620e6
|
Convert to gzip
|
9 years ago |
Con Kolivas
|
e3fc6a1e56
|
Selectively compress only large packets greater than one MTU and identify lz4 compatible clients immediately
|
9 years ago |
Con Kolivas
|
4a52065a55
|
Only send packets compressed if they're smaller
|
9 years ago |
Con Kolivas
|
950b855b2d
|
Implement backwardly compatible lz4 compression support to be used by passthroughs and nodes
|
9 years ago |
Con Kolivas
|
b09bb253fc
|
Act as a passthrough in node mode, passing what type of stratum message we're passing through
|
9 years ago |
Con Kolivas
|
eab56b032a
|
Set up local bitcoind connections in node mode
|
9 years ago |
Con Kolivas
|
6a39cdb299
|
Add configuration option for node mode
|
9 years ago |
Con Kolivas
|
e1d6f62d3e
|
Name ckpassthrough if no name is given
|
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
|
432d1ce4d5
|
Don't treat POLLRDHUP as fatal unless we can't receive data after it, and return errors from wait_select functions when they close the socket
|
9 years ago |
Con Kolivas
|
61b25e4ac4
|
Add information about whether the attempt to reopen a socket was successful or not
|
9 years ago |
Con Kolivas
|
7ce2afae83
|
Try to reopen any closed sockets in json_rpc_call
|
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
|
516a708aad
|
Fix bitcoind failover not working and keep connections open for faster switching in case of failure
|
9 years ago |
Con Kolivas
|
4aa73e29f8
|
Use the cs->fd handle directy in case it gets invalidated while we're waiting for a socket line
|
9 years ago |
Con Kolivas
|
853bed8281
|
Serialise all json_rpc_calls and responses
|
9 years ago |
Con Kolivas
|
5a3183cf04
|
Fix timeout in read_socket_line inappropriately running out
|
9 years ago |
Con Kolivas
|
88e20dd111
|
Add a userproxy mode that connects to the same upstream pool according to the username supplied by clients connecting to the proxy
|
9 years ago |
Con Kolivas
|
b63b213c8b
|
send_recv_proc failing is non-fatal so convert send_proc to being non-fatal as well
|
9 years ago |
Con Kolivas
|
690084b735
|
Clear line when writing log to console
|
9 years ago |