kanoi
|
de3be722cd
|
ckdb - separate socket data processing
|
9 years ago |
kanoi
|
e6469e64c4
|
ckdb - fix recalculation of displayed reward for a shift
|
9 years ago |
kanoi
|
98cd4005dc
|
ckdb - comment ktree find before and after
|
9 years ago |
Con Kolivas
|
e1d6f62d3e
|
Name ckpassthrough if no name is given
|
9 years ago |
kanoi
|
a31e2555b4
|
ckdb - add a missing lock
|
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
|
96f055486c
|
We should serialise calls to GBT, not just update_base
|
9 years ago |
Con Kolivas
|
cab637c9b1
|
Use epoll for wait_write_select
|
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
|
11537481fd
|
Fail gracefully after 5 unsuccessful attempts to update_base
|
9 years ago |
Con Kolivas
|
06bdd7fa6a
|
Silence lack of current workbase warning in proxy mode since it happens till there is a proxy workbase to work with
|
9 years ago |
Con Kolivas
|
c7794a3d80
|
Retry getbase after a failure up to 5 times or indefinitely if a block change has been identified
|
9 years ago |
Con Kolivas
|
edd79bd8fa
|
Elaborate which bitcoind has failed responses
|
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
|
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
|
61b25e4ac4
|
Add information about whether the attempt to reopen a socket was successful or not
|
9 years ago |
Con Kolivas
|
b5ea946ef4
|
Output generator started message as soon as we have the first live server
|
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
|
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
|
3fc984d7fe
|
Demote message
|
9 years ago |
Con Kolivas
|
8c474c1784
|
Support low diffs like those on testnet
|
9 years ago |
Con Kolivas
|
c1f812effc
|
Fix extremely unlikely race on fd being accessed before it is set to -1 on closing
|
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 |
kanoi
|
3059afdf33
|
ckdb - allow setting a history limit on markersummary with -M
|
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
|
cc9c70373e
|
Send diff first when when sending the first stratum template after subscribing
|
9 years ago |
Con Kolivas
|
f6e9f49e1a
|
Showing each notify is too verbose for regular logging
|
9 years ago |
Con Kolivas
|
914be773e6
|
Detect old session clients with an empty array in proxy mode as well
|
9 years ago |
Con Kolivas
|
f54891fae8
|
Try both userid and userip to detect disconnected clients
|
9 years ago |
Con Kolivas
|
35d795bb15
|
Try to match by IP address if clients don't support sessionid on reconnect
|
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 |
kanoi
|
c7ae476538
|
ckdb - fix some more locking anomalies
|
9 years ago |
kanoi
|
b7944bd27a
|
ckdb - marks action=pps to recalc the ram pps values for a shift
|
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
|
02035ee74c
|
Decrease the tolerance for attempted block submission to within 0.1%
|
9 years ago |