2715 Commits (1e2e5bab7d0008b83dca2f1f737df5e32a93962e)
 

Author SHA1 Message Date
Con Kolivas 1b077f2a05 Log to files outside of instance lock 10 years ago
Con Kolivas ca5c7da81b Provide helper functions for storing log text and their associated filenames to be written to in unlocked code 10 years ago
Con Kolivas 3047ee5c8f Use the more generic ckmsg_t for the json_lists 10 years ago
kanoi 122d6f38ba ckdb - correct tv_end for pplns2 block 10 years ago
kanoi 59e7d2b7bc ckdb - pplns2 include the trailing shares in the tv_end check 10 years ago
kanoi e30cc81cad ckdb/php - add extra pplns2 epoch information like pplns 10 years ago
kanoi 5afedffc5a ckdb - store missing diffacc in addressuser payments 10 years ago
Con Kolivas ede3139843 Add proxy statistics to logging 10 years ago
Con Kolivas d80393930d Store a count of the number of subproxies per proxy 10 years ago
kanoi cda0724c6d ckdb - ∞ loops are bad 10 years ago
Con Kolivas 64f4abd302 Count combined clients per parent proxy 10 years ago
Con Kolivas d1c720d101 Merge branch 'multiproxy' of bitbucket.org:ckolivas/ckpool-multiproxy into multiproxy 10 years ago
Con Kolivas 45e80f09ff Send a blank sessionid in proxy mode so clients don't think we have resumed if enonce1 ends up matching on reconnect 10 years ago
kanoi c451119f25 ckdb - correct status order in cmd_payouts message 10 years ago
kanoi 1380acddfb ckdb - cmd_payouts for setting up old payouts 10 years ago
kanoi 221d0df3b4 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 10 years ago
kanoi 2035db91b6 ckdb/php/sql - db storage of payout details and calculations 10 years ago
ckolivas d5dedfe4a9 Demote discarded message 10 years ago
ckolivas 0a4ce58b3f Dramatically simplify the setting of enonce1 to just an LE encoded 64 bit 10 years ago
ckolivas 7ca5f9688f Use the same enonce1u across all proxies to avoid clients thinking they have resumed with the same sessionid and enonce1u 10 years ago
Con Kolivas 8cd36b225b We must flag all clients to switch on a deadproxy regardless of whether there is room on the current proxy or not 10 years ago
Con Kolivas 656da05f83 Add proxy info to client auth message 10 years ago
Con Kolivas c28a8fa202 Avoid any attempt at using sessionid in proxy mode 10 years ago
Con Kolivas 955e413bea Issue reconnect when an upstream pool recovers 10 years ago
Con Kolivas b8fb469e07 Display correct subproxy details in proxysend notice and check for valid values 10 years ago
ckolivas aa7c479c03 Cope with null message in send_proc 10 years ago
Con Kolivas 5688225711 Reconnect generator after a parent proxy has died or it has received its first notify only 10 years ago
Con Kolivas 523f7236ef Break out of both loops on reconnect issue 10 years ago
Con Kolivas 13546f54bb Close all fds in disable_subproxy, including the parent proxy 10 years ago
Con Kolivas a7252c83d5 Limit reconnects sent concurrently 10 years ago
Con Kolivas 8231c53592 Don't set up a new parent if a reconnect is to the same URL 10 years ago
Con Kolivas ecc4482b79 Test for dropped clients before not authorised ones 10 years ago
Con Kolivas 794770422d Count effective number recruited and subtract that from the recruit requests count 10 years ago
ckolivas 01c00ed3c2 Too much recruiting 10 years ago
ckolivas 93a1414e29 Explicitly check for HUP in proxy_recv, avoiding an attempt at reading a line 10 years ago
ckolivas e3e83df196 Add a small sleep between attempts at pinging the stratifier at startup to avoid floods of messages 10 years ago
ckolivas 47be81bc04 Cope with null message in send_proc 10 years ago
ckolivas 16bd2fc352 Redirect from existing parent when child gets a reconnect 10 years ago
ckolivas 90ab75ce24 Drop subproxies when the parent proxy thread exits 10 years ago
ckolivas 0fa55f311f Finesse what messages to send 10 years ago
ckolivas d103ea97df Only kill off proxy if it's actually dead 10 years ago
ckolivas 30297c3ba2 Revert ret < 0 check but keep recruiting of new subproxies 10 years ago
ckolivas 576ac8f71a Check return value of subsequent read_socket_line, disabling a subproxy if it has failed and recruit more subproxies if required 10 years ago
ckolivas bc7d59ad66 Recruit extra subproxies on a new parent with a small nonce size, being more verbose about proxy recruitment 10 years ago
ckolivas e6b79715cb Abstract out recruit_subproxies function 10 years ago
ckolivas 3fd9ead54a Parse any extra data already in the cs buffer in proxy_recv before returning to the epoll loop 10 years ago
Con Kolivas d4304de798 These weren't the droids we were looking for. 10 years ago
Con Kolivas 228c2cf19b These weren't the droids we were looking for 10 years ago
Con Kolivas 8386d8aede Reset the recruit count in the event of failed proxy_alive test 10 years ago
Con Kolivas d75dd5543c Try async messages again 10 years ago