3550 Commits (0df3bd4004f4ff081c01ccca22c43c4ee5111a6c)
 

Author SHA1 Message Date
Con Kolivas 1777d00d30 Load all existing worker stats on startup. 8 years ago
Con Kolivas 44a0c12f4c Load all userstats at startup. 8 years ago
Con Kolivas 33b26291b0 Only log user and workers that are authorised. 8 years ago
Con Kolivas f7fc0ce859 Readd removed workbases to the remote workbase list outside of the HASH_ITER loop we originally removed them from in check_incomplete_wbs. 8 years ago
Con Kolivas 03bd1bf50d Fix minor leak in get_txn. 8 years ago
Con Kolivas b809d94a71 Duplicate remote message val for use by ckdb, avoiding double free. 8 years ago
Con Kolivas e9bf9e5a80 Add sanity checking for values sent to srecv_process. 8 years ago
Con Kolivas 03a4233120 Don't remove workinfoid for other remotes. 8 years ago
Con Kolivas 7bbd1250e0 Set workinfoid to mapped id for ckdb. 8 years ago
Con Kolivas 6700c0fae0 Make userproxy_recv take same precautions with hangups while reading as proxy_recv. 8 years ago
Con Kolivas 12a134c66b Check for !ret set before checking errno as it may not be set and cached from a previous error. 8 years ago
Con Kolivas d6a190b014 Set message to false after parsing. 8 years ago
Con Kolivas eb9c7ffd5a Merge branch 'master' of bitbucket.org:ckolivas/ckpool 8 years ago
Con Kolivas 6587ac2817 Process all hangups after all messages in proxy_recv. 8 years ago
ckolivas 482a8c7d67 Check for existing transactions from the local bitcoind when adding them to our hashlist and submit them only if they're not known about. 8 years ago
ckolivas a772d388f4 Unset wbincomplete sooner to minimise duplicate passes through check_incomplete_wbs 8 years ago
Con Kolivas 3d2c9efcd7 No messages should be postponed any more to increase chance of local block submission and smooth out packet sizes. 8 years ago
Con Kolivas be33c087b9 Propagate workinfo and blocks to all connected nodes as well allowing complex mixed remote server and node infrastructures. 8 years ago
Con Kolivas 2b821bf70e Propagate enough information to allow nodes to be attached to remote servers. 8 years ago
Con Kolivas 137f0b7842 Use a virtualid to reference subclients in remote servers to be able to speak to the upstream pool, allowing them to work with passthroughs. 8 years ago
Con Kolivas 063170f4c9 Reset best shares on accepted remote block submit as well. 8 years ago
Con Kolivas 5ca1781355 Include client id in the key for remote workbases to avoid collisions from multiple remote servers. 8 years ago
Con Kolivas db671316da Age any older workbases rather than just one in add_base by dropping and picking up lock again, and check correct workbase for a readcount. 8 years ago
Con Kolivas eb3f0b2a06 Send block submission data remotely before attempting local submit to not delay propagation with the local verification time. 8 years ago
Con Kolivas 58711dd729 Remove blockhash from submit_block message to generator. 8 years ago
Con Kolivas 9d8c45930b Check inconclusive block submits against their height hash to see if they were already submitted via other means. 8 years ago
Con Kolivas e62c59aade Demote info message in json_rpc_call 8 years ago
Con Kolivas 87aa55cadb Fix memleak with remote workinfos. 8 years ago
Con Kolivas 649d5ff022 Clear_workbase on failed rebuild_txns in proxy mode instead of just freeing the wb memory. 8 years ago
Con Kolivas cd9762d875 Handle the response from generator block submit directly, avoiding the need for a complicated list lookup of block finds. 8 years ago
Con Kolivas fe0549953d Merge branch 'master' of bitbucket.org:ckolivas/ckpool 8 years ago
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