3610 Commits (6a967c0c8a3814c319248b5ea0aa2d3261f31c2f)
 

Author SHA1 Message Date
Con Kolivas 96e145df67 Fix memleak in gen_gbtbase. 8 years ago
Con Kolivas dd512e674a Check and submit transactions only remote transactions. 8 years ago
Con Kolivas 11cf360d9b Remove now unnecessary intermediate steps converting gbtbase to workbase by making them one. 8 years ago
Con Kolivas 700d3accac Update transactions after sending out stratum updates. 8 years ago
Con Kolivas 4049860ca8 Fix uprio not being sent to updateq 8 years ago
Con Kolivas 8a66c4811b Call precious block on all submitted blocks. 8 years ago
Con Kolivas 6ce8b5eef7 Use only 3 significant digits for sps display. 8 years ago
Con Kolivas ed5468b44b Clean up jansson 2.6-2.10 update. 8 years ago
Con Kolivas d8558c19b4 Ckpool changes to jansson 2.10 8 years ago
Con Kolivas 96a1bb3615 Add jansson 2.10 to source. 8 years ago
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