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 |
Con Kolivas
|
4281828167
|
Fix typo dropping userproxies and simplify reconnects to just on notify
|
9 years ago |
Con Kolivas
|
c90e46a4f7
|
Don't read from unauthorised proxies in uproxyrecv
|
9 years ago |
Con Kolivas
|
542c4f457b
|
Remove epoll entry when closing socket to reconnect in connect_proxy
|
9 years ago |
Con Kolivas
|
0395403f9b
|
Allow null message to be passed to parse_method
|
9 years ago |
Con Kolivas
|
1c5b8ae516
|
Reconnect all clients of a certain user when adding a userproxy in userproxy mode
|
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
|
a1df332ec8
|
MergeFix
|
9 years ago |
Con Kolivas
|
a129d4c579
|
Sort out alive message and reconnect in passthrough_recv
|
9 years ago |
Con Kolivas
|
e53a6e028f
|
Close the passthrough socket if it's not already on a failed write in passthrough_send
|
9 years ago |
Con Kolivas
|
629e86555d
|
Clean up passthrough console messages
|
9 years ago |
Con Kolivas
|
250bf42cc0
|
Show successful connection message in passthrough mode as well
|
9 years ago |
Con Kolivas
|
83f111ae94
|
Make passthrough connection log to console
|
9 years ago |
Con Kolivas
|
88e78a02da
|
Cope with read_socket_line timeouts properly in generator
|
9 years ago |