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
|
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 |
Con Kolivas
|
0d6fb758d6
|
Timeout should be updated on each loop in proxy_recv
|
9 years ago |
Con Kolivas
|
1932659baa
|
Send a reconnect message on failure to passthrough send, assuming a connection has failed.
|
9 years ago |
Con Kolivas
|
c9245673af
|
Make read_socket_line use a timeout pointer allowing the value to be used for reentrant calls
|
10 years ago |
Con Kolivas
|
d4304de798
|
These weren't the droids we were looking for.
|
10 years ago |
Con Kolivas
|
cada930aa8
|
Use async senc proc in the generator
|
10 years ago |
Con Kolivas
|
42f14a9536
|
Add full lock tracking for mutexes and rwlocks
|
10 years ago |
Con Kolivas
|
4e95186403
|
Improve warnings and verbosity for various proxy connection failures
|
10 years ago |
Con Kolivas
|
416b7a02eb
|
Handle proxy failover correctly for remainder of upstream pools when a reconnect is issued and don't lose original pool details, demoting it to last instead
|
10 years ago |
Con Kolivas
|
fcc4309561
|
Add info about proxies to warnings
|
10 years ago |
Con Kolivas
|
7f92dfbc7e
|
Remove unnecessary warning
|
10 years ago |
Con Kolivas
|
20746db270
|
Check against chosen_server in the server watchdog
|
10 years ago |
Con Kolivas
|
d66befef02
|
Don't reset the chosen_server value in live_proxy
|
10 years ago |
Con Kolivas
|
7e5a0620af
|
Cache responses in proxy mode in case they come out of order to be able to successfully managed different subscribe variations
|
10 years ago |
Con Kolivas
|
9c1e5f2332
|
Send reconnect instead of dropall to stratifier when killing an upstream proxy and drop them lazily
|
10 years ago |
Con Kolivas
|
1432b90829
|
Remove code talking to local btcd in proxy mode since we won't be able to submit any realistic block solves locally
|
10 years ago |
ckolivas
|
2d56e4fa04
|
Init the proxy share mutex
|
10 years ago |
ckolivas
|
33f40ed3cf
|
Use 64 bits for share id in proxy
|
10 years ago |
Con Kolivas
|
eacb000ad9
|
Elaborate on killing proxy message
|
10 years ago |
Con Kolivas
|
43d1336321
|
Increment proxy count only after new proxy is set up
|
10 years ago |
Con Kolivas
|
a7ed36931f
|
Fix proxy reconnect potentially trying to switch proxies before the instance is fully set up and bypass old instances that have issued a reconnect
|
10 years ago |
Con Kolivas
|
ab4a9fc1a0
|
Cope with client.reconnect listing port as a string instead of integer
|
10 years ago |
Con Kolivas
|
5c18e7e0f8
|
Use JSON_EOL in generator
|
10 years ago |
Con Kolivas
|
ac05feeebc
|
Fix potential socket leak in gen_loop
|
10 years ago |
Con Kolivas
|
649ad7953f
|
Fix potential socket leak in gen_loop
|
10 years ago |
Con Kolivas
|
61300493e7
|
Empty buffers of servers and proxy when killing them
|
10 years ago |
Con Kolivas
|
fe7f015ec6
|
Empty buffers of servers and proxy when killing them
|
10 years ago |
Con Kolivas
|
c33ae04ad8
|
Handle mining.ping in proxy mode
|
10 years ago |
Con Kolivas
|
3ddef2d66f
|
Privatise all the connector specific data
|
10 years ago |
Con Kolivas
|
fe15f9384d
|
Privatise all global variables within the generator to allow multiple ckpools in the future
|
10 years ago |
Con Kolivas
|
7b2de72f54
|
Cope with calling send_notify before any notify exists by returning no message
|
10 years ago |
Con Kolivas
|
7ffe4fbe18
|
Allow proxying to nonce2 size 3 pools with a warning
|
10 years ago |
Con Kolivas
|
71cdbfa560
|
Create a list of solved blocks, passing the hash to and from the generator to ensure we flag the correct block and workinfo
|
10 years ago |
Con Kolivas
|
5a9eb76488
|
Use the Close handler in the generator
|
10 years ago |
Con Kolivas
|
22c9d7c393
|
Wait up to 10 minutes for a response in proxy mode for p2pool which does not send an update regularly
|
10 years ago |
Con Kolivas
|
d526eb8a76
|
Mask out (null) as a valid result in json_result
|
10 years ago |
Con Kolivas
|
8e34ff377b
|
Make necessary changes to ckproxy to support large coinbases and null length enonce1 for p2pool support
|
10 years ago |
Con Kolivas
|
73ca6c2e45
|
No need for 64 bit ids in the proxy jobs
|
10 years ago |
Con Kolivas
|
b36e4cec3c
|
Make sure jobids align between generator and stratifier in proxy mode
|
10 years ago |