3404 Commits (c81213a2b816b528e5f6624d6f14403b11ea57aa)
 

Author SHA1 Message Date
Con Kolivas c81213a2b8 Rename poolinstance to master pool on all remote messages. 8 years ago
Con Kolivas b7b2f1943e Use the primary function name that calls generate_workinfo in the ckdb field. 8 years ago
Con Kolivas c3c288ed06 Rename pool instance in workerstats to match primary pool (for now?) 8 years ago
Con Kolivas e9f7074483 Upstream workerstats from remote trusted servers. 8 years ago
Con Kolivas 22d54032c3 Remap workinfo ids on way in, not out of remotes. 8 years ago
Con Kolivas 30c86b5c25 Make remote mode mandatory standalone. 8 years ago
Con Kolivas 2066bf199d Remove various unused variables. 8 years ago
Con Kolivas 05a470a8d3 Remap workinfo id for remote submitted blocks as well. 8 years ago
Con Kolivas 8d1ab74851 Only update sockaddr and port if they've changed. in extract_sockaddr 8 years ago
Con Kolivas 347fb6b20e Merge branch 'master' of bitbucket.org:ckolivas/ckpool 8 years ago
Con Kolivas c6812b67ec Only give remote block message on console once. 8 years ago
kanoi 011581457c ckdb - allow json beakdown's last field to be an intransient number 8 years ago
Con Kolivas fb64b572b0 Upstream block submit before it's confirmed as well in remote trusted mode. 8 years ago
Con Kolivas 512ed7543b Use the same workinfo generation code for remote and local workinfos. 8 years ago
Con Kolivas 6fd92bea69 Remove method from remote workinfo before submitting to ckdb. 8 years ago
Con Kolivas 51ab4af26f Send remote workinfos to ckdb. 8 years ago
Con Kolivas 5a0c648b59 Upstream block solve information on remote trusted servers to be added to ckdb. 8 years ago
Con Kolivas aa121dbce2 Upstream, parse and send to ckdb trusted remote server share errors. 8 years ago
Con Kolivas 1eb058a0e6 Use a separate hashlist and mapped id for remote workinfos and remap it when receiving a share, submitting it to ckdb. 8 years ago
Con Kolivas 96a3283020 Submit remote parsed shares to ckdb. 8 years ago
Con Kolivas a5f6a8ca32 Reuse add_node_txn instead of a separate parse_remote_txn to avoid submitting transactions if we've already seen them. 8 years ago
Con Kolivas 17d9c837d1 Parse and act upon upstream auth responses in trusted mode. 8 years ago
Con Kolivas eab4762c34 Rename remote trusted server's bool to trusted. 8 years ago
Con Kolivas 718c2dcadf Loop when getting EAI_AGAIN error with getaddrinfo. 8 years ago
Con Kolivas 5bf2d387ec Forward auths to upstream pool in remote trusted mode, with a view to checking responses and using that instead of local auth. 8 years ago
Con Kolivas 05c1074d1b Add console message when remote trusted server disconnects, displaying IP for disconnected passthroughs as well as id. 8 years ago
Con Kolivas e011d17321 Upstream messages directly from stratifier to connector in trusted mode. 8 years ago
Con Kolivas 7bc07d6c07 Set ip and port to NULL in _btc_io to cope with reused free in extract_sockaddr 8 years ago
Con Kolivas d543888404 Send workinfos from remote trusted nodes upstream, giving them a new local id to maintain sequential workinfo ids for ckdb compatibility. 8 years ago
Con Kolivas d9e5cf03f1 Send transactions up and downstream in trusted mode to be submitted to the local btcd. 8 years ago
Con Kolivas 2201258b2b Make sure we close sockets to subproxies when deleting them. 8 years ago
Con Kolivas c7d8b774db Avoid dereference crash on startup with instantly connecting miners. 8 years ago
Con Kolivas b98ac8a2f0 Change starting session id on each startup. 8 years ago
Con Kolivas e9a856cf97 Fix uptime 8 years ago
Con Kolivas 2ec6736f99 Calculate hashrate in diff shares per second per proxy by the generator and return it with proxystats. 8 years ago
Con Kolivas f2a3ee90c7 Implement get_uptime in stratifier. 8 years ago
Con Kolivas 510e130490 Handle epoll hangups in userproxy_recv even if epollin is set, but after reading any data available, and do not skip processing if proxy is not marked alive yet. 8 years ago
Con Kolivas 193d0f22e8 Use the best userproxy headroom only to determine if we need to recruit more subproxies. 8 years ago
Con Kolivas 559867ab9d Avoid potential dereference in recruit_best_userproxy 8 years ago
Con Kolivas 9963536076 Fix memleak in reap_proxies for parent proxy not emptying its subproxy hashtable. 8 years ago
Con Kolivas 8beeb27d94 Fix memory leaks in generator parsing of commands. 8 years ago
Con Kolivas 4108456ff4 Fix memory leaks on failed api messages. 8 years ago
Con Kolivas 9f31d21f5e Fix memleak in parse_delproxy. 8 years ago
Con Kolivas dc9440108e Fix a memory leak with extract_sockaddr called repeatedly. 8 years ago
Con Kolivas 710e316577 Clear proxy workbases on freeing the proxy. 8 years ago
Con Kolivas 3471b299c0 Delete any shares in a proxy's share hashtable on freeing it. 8 years ago
Con Kolivas 3dfe7b95e3 Fix potential memleak when stratum_add_send is unable to send to a queue. 8 years ago
Con Kolivas 411076fb96 Fix minor memleak in submit_share 8 years ago
Con Kolivas 93f0c27fd5 Add locking for redirector share management. 8 years ago
Con Kolivas ea6125dde7 Return the json response if there is one in a http response code failed instead of the http error. 8 years ago