3048 Commits (e96111476a669396167c56e911384c59bf69f4e4)

Author SHA1 Message Date
Con Kolivas d8274d6a1c Allow rebuild_txns to succeed with no transactions listed in the workinfo. 8 years ago
ckolivas f1a0be6994 Use a separate lock for the transaction table. 8 years ago
ckolivas d5f727637c Check for readcount in ageing as well. 8 years ago
ckolivas 10ff10fea0 Use a readcount reference count with workbases to avoid holding the workbase lock and recursive locks. 8 years ago
Con Kolivas d3ab1c5167 Check a txn hasn't already been added to a txntable. 8 years ago
Con Kolivas 53805d7a6d Check and fill incomplete workbases once we receive more transactions. 8 years ago
Con Kolivas 7d8417774f Properly drop subclients when the parent dies by testing whether the parent exists instead of the masked subclient id. 8 years ago
Con Kolivas 3c67dff032 parse_remote_auth was holding a client reference for no good reason preventing remote clients from ever being dropped. 8 years ago
Con Kolivas 3ec08eca6e Don't drop passthroughs as well for not authorising now that their client instance is kept around. 8 years ago
Con Kolivas 22ad7d440a Filter out node.method from going to clients by sending json and intercepting that, avoiding the need to dump it and reencode it. 8 years ago
Con Kolivas 8b7e3b68bc Whitelist clients that have already submitted valid shares in redirector mode by IP and redirect them immediately once they have authorised. 8 years ago
Con Kolivas 556619cfe6 Redirect miners in redirector mode after returning their share results. 8 years ago
Con Kolivas 32499cf34e Failure to get a response to getrawtransaction gives a http error even though it then gives a meaningful response. Drop warning to debug in get_txn. 8 years ago
Con Kolivas 039efd9266 Correctly initialise gbtbase to 0. 8 years ago
Con Kolivas 30e701e829 Count remote users and workers in stats. 8 years ago
Con Kolivas 949b0313b0 Store remote worker and user counts. 8 years ago
Con Kolivas d4fcb0be72 Use a separate mutex for unaccounted shares. 8 years ago
Con Kolivas 20b31f79da Submit transactions to the local bitcoind again when purging them from our transaction table in case a remote workinfo uses them again but our bitcoind has had them removed from the mempool. 8 years ago
Con Kolivas b42fa0a511 Show when transaction building has failed only once in a row and display when rebuilding has succeeded again. 8 years ago
Con Kolivas 499793c94c Add timestamp to throbber. 8 years ago
Con Kolivas 062cb52cbe Abstract out get_timestamp. 8 years ago
Con Kolivas 0a45f8f32c Unnecessary warning. 8 years ago
Con Kolivas 750abcddb6 Properly request transactions we don't find in the local bitcoind and demote the message for failed get_txn to notice only. 8 years ago
Con Kolivas 07d57d683d Prevent passthrough and node etc. failure in generator at startup due to proxy recruit change. 8 years ago
Con Kolivas f40ea70290 Disallow passthroughs on nodes and remote servers as well. 8 years ago
Con Kolivas 90acd45677 Try to find transactions from local bitcoind while rebuilding transactions. Set the refcount for local transactions to 5 only to make remote sending more likely. 8 years ago
Con Kolivas d4869fb5d5 Only send transactions if there are any in the array. 8 years ago
Con Kolivas 3e954e225f Parse upstream requests for transactions, returning any found in the remote's transaction table. 8 years ago
Con Kolivas 68e46be39d Parse remote requests for transactions, returning as many as can be found in the local transaction table. 8 years ago
Con Kolivas 7f19552ee6 When we cannot find a transaction to rebuild_txns, try to get the data from our bitcoind and if it's not available make a transaction request of the upstream or remote pool for it - response yet to be implemented. 8 years ago
Con Kolivas 4cd432475d Decrease the parent's recruit count after sending the stratifier the new subscribe so it can get an accurate headroom count before requesting more proxies. 8 years ago
Con Kolivas 7bc783111b Prevent transaction refcount from falling inappropriately rapidly causing early removal from the txn table. 8 years ago
Con Kolivas f3f8924ce6 Drop any parent clients explicitly in the stratifier from the connector, tagging any subclients to be dropped lazily. 8 years ago
Con Kolivas 5aa4b2bd10 Fix passthrough breakage, keeping passthrough parent client reference around, flagged as such. 8 years ago
Con Kolivas 890ed35bd9 Make trusted stratifier wait for connector to connect to upstream pool and retry indefinitely instead of failing on first connect. 8 years ago
Con Kolivas 701c6cae17 Send transactions after informing connector to acknowledge new remote trusted server. 8 years ago
Con Kolivas 3f299fc6cd Send remote blockdata to all other remote servers to be submitted locally, fixing remote workinfo id. 8 years ago
Con Kolivas dcfb734ec6 Send upstream blocks to remote servers to be submitted locally. 8 years ago
Con Kolivas 5606c864d9 Propagate and submit all new transactions across upstream and remote servers making for similar transaction selection across servers and allowing future local block submissions. 8 years ago
Con Kolivas 78ba375ae5 Send all transactions to new remote trusted servers. 8 years ago
Con Kolivas e307bd584a Hold lock only as necessary in add_node_txns, preventing one recursive lock in submit_transaction. 8 years ago
Con Kolivas bd367364c1 Propagate workinfos to all remote trusted servers to be able to submit all blocks at all remote servers. 8 years ago
Con Kolivas fe94172f2e Strip remote field that won't be used or are recrated upstream. 8 years ago
kanoi 036c291283 ckdb/sql - increase the size of coinbase2 since core segwit changes before activation require a much larger coinbase 8 years ago
kanoi cf93f8f480 ckdb - remove useless compiler warnings 8 years ago
kanoi 7f5df515d2 ckdb - demote CKPQConn ERR to NOTICE - it's only for finding lost connections if they are happening 8 years ago
ckolivas 7d4c99b647 Send all log messages to console while console logger hasn't been set up. 8 years ago
Con Kolivas c8af7e3a91 Submit remotely found blocks locally at the master pool in addition to sending their details to ckdb. 8 years ago
Con Kolivas 59bc62153d Free log buffer as well. 8 years ago
Con Kolivas 1ad50bb1d8 Make console logging use ckmsgq for logging to be a non-blocking function. 8 years ago