1846 Commits (a31e2555b4f5f7645e6e534d992cfc33862a47da)

Author SHA1 Message Date
kanoi a31e2555b4 ckdb - add a missing lock 9 years ago
Con Kolivas 11537481fd Fail gracefully after 5 unsuccessful attempts to update_base 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
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 02035ee74c Decrease the tolerance for attempted block submission to within 0.1% 9 years ago
Con Kolivas 8475cebb60 Seralise calls to update_base to avoid races on determining which workinfo is supposed to send the clean, and delay further updates 9 years ago
Con Kolivas ae1d659832 Remove throttled flag once user is authorised 9 years ago
kanoi 3e112c73e3 ckdb - allow an empty merkle since it is possible for bitcoind to return one 9 years ago
Con Kolivas b63b213c8b send_recv_proc failing is non-fatal so convert send_proc to being non-fatal as well 9 years ago
kanoi d72afa7e4f ckdb - payout address search must be locked 9 years ago
kanoi b5cdf0974e ckdb - remove the lock warning when using exclusive access to the transfer tree 9 years ago
kanoi f5198d027e ckdb - remove useless compiler warning 9 years ago
ckolivas abf38eea03 Fix reading of workerstats for 1hr 9 years ago
kanoi c7f03c2a33 ckdb - add lock checking and deadlock prediction 9 years ago
Con Kolivas 0635c75560 Keep significant digits constant on displayed hashrate 9 years ago
Con Kolivas b062a8e29a Add basic stats to console throbber line 9 years ago
Con Kolivas 690084b735 Clear line when writing log to console 9 years ago
Con Kolivas 759ac0ccbc Display user and worker stats on block solve 9 years ago
Con Kolivas e413e0e97b Increase size of address storage for clients to store full inet6 name 9 years ago
Con Kolivas b0c30a3f7d Disconnect clients whose sends block for more than 60 seconds 9 years ago
Con Kolivas 08fcf808a7 Specify what url has been inherited upon restart if possible 9 years ago
Con Kolivas 449e605113 Specify what message didn't receive a response in send_recv_path 9 years ago
Con Kolivas 3f83abab8d Fix url_from_socket to work with IPV6 sized names 9 years ago
Con Kolivas b709dbea44 Revert "Silence dropping of throttled clients" 9 years ago
Con Kolivas f42f187529 Revert "Allow add_msg_entry to be called with a null buffer safely" 9 years ago
Con Kolivas 5cc1812271 Allow add_msg_entry to be called with a null buffer safely 9 years ago
Con Kolivas 434ce77b3e Fix user/worker/client stats decaying too fast by generalising decay in shared functions and noting last time value was decayed 9 years ago
Con Kolivas 4ba1fd6156 Silence dropping of throttled clients 9 years ago
Con Kolivas fa55ab48d8 Display workername in block solves 9 years ago
Con Kolivas 814cf36bf7 Log valid shares per user and worker 9 years ago