Commit Graph

  • 68a8fe42f5 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2016-02-05 22:24:27 +1100
  • 2a76d1ab53 Add a failsafe mode to nodes that will allow miners to continue hashing even if workinfo is temporarily unavailable Con Kolivas 2016-02-05 22:24:02 +1100
  • 6f48d76e7e Tidy up transaction refcount by resetting it every time it's seen instead of just incrementing it, differentiating node refcounts from main pools Con Kolivas 2016-02-05 21:59:01 +1100
  • 5b7010cdc7 php - add new coinbase txn address kanoi 2016-02-05 18:40:40 +1100
  • 089b0440c1 Increase refcount when sent a duplicate transaction on nodes Con Kolivas 2016-02-05 18:02:26 +1100
  • 1fa449be67 Temporary workaround making nodes match current pool behaviour with txn refcount increasing by 2 each time they're accessed Con Kolivas 2016-02-05 17:59:44 +1100
  • b046e5c01b Don't increment the refcounter when adding transactions on the main pool to avoid getting ahead of nodes and set default refcount to 10 minutes backlog of 20 workinfos Con Kolivas 2016-02-05 17:40:29 +1100
  • 0b8892db00 Increase txn backlog to nodes to 100 Con Kolivas 2016-02-05 16:54:48 +1100
  • 67d6a5ee6d Don't stack low priority updates Con Kolivas 2016-02-05 09:07:27 +1100
  • b6588c5f13 Implement a cksem_trywait function Con Kolivas 2016-02-05 08:58:02 +1100
  • f7bf3592d8 Tidy up node transaction notices Con Kolivas 2016-02-05 08:47:30 +1100
  • df11fda8ea Reset failed_authtime on successful authorisation Con Kolivas 2016-02-04 12:20:58 +1100
  • 2c6b550732 Test if there is a btcaddress every time a user is generated in case a previous call to test_address failed Con Kolivas 2016-02-04 12:00:42 +1100
  • 2ba1b073d4 Merge branch 'txnlist' Con Kolivas 2016-02-04 09:56:17 +1100
  • 4df76f0646 Revert "Revert "Add transactions to a hashtable to know which are new, which need propagating, and which are no longer needed"" Con Kolivas 2016-02-04 09:55:58 +1100
  • 3a7ea5b504 Revert "Revert "Move merkle tree generation to the stratifier along with all transaction data to allow transaction data to be used directly in future code"" Con Kolivas 2016-02-04 09:55:41 +1100
  • 2c0b03877b Create the ckdb heartbeat thread to keep throbber moving even when standalone pool/node is idle Con Kolivas 2016-02-04 09:50:31 +1100
  • 71f0077f74 Make new node compatible with old pool comms protocol Con Kolivas 2016-02-04 09:13:00 +1100
  • 76dea2d7fa Use the existing txn_hashes string to rebuild transactions on nodes Con Kolivas 2016-02-04 00:34:18 +1100
  • 8d3dbb790f Array transaction order matters and json_array_foreach does not iterate in order Con Kolivas 2016-02-03 23:42:14 +1100
  • b826ac25ab Purge old transactions on mining nodes whose refcount drops to zero Con Kolivas 2016-02-03 23:01:58 +1100
  • 0b7e3994b2 Rebuild workinfo from transaction hashes on nodes Con Kolivas 2016-02-03 22:56:25 +1100
  • 8e76983fa8 Send all transactions to new nodes, and set initial refcount on transactions to 10 Con Kolivas 2016-02-03 22:17:35 +1100
  • 41a9788cc9 Add transactions when received by nodes to the txntable Con Kolivas 2016-02-03 21:57:45 +1100
  • 254b7ec5ca Don't drop nodes or trusted remotes for lack of being authorised Con Kolivas 2016-02-03 21:35:19 +1100
  • 799822c537 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2016-02-03 21:35:38 +1100
  • efd8f33201 Don't drop nodes or trusted remotes for lack of being authorised Con Kolivas 2016-02-03 21:35:19 +1100
  • 7615369d4a Send transactions to nodes Con Kolivas 2016-02-03 21:20:46 +1100
  • 3c64adfb00 Add correct string to txn table ckolivas 2016-02-03 16:52:53 +1100
  • 55b52d0346 Add to correct transaction table ckolivas 2016-02-03 16:50:53 +1100
  • c8e09a829c Initialise json merkle array ckolivas 2016-02-03 16:48:00 +1100
  • 820db4e367 Write to correct merklebin offset ckolivas 2016-02-03 16:45:56 +1100
  • d0398fed4a Revert "Move merkle tree generation to the stratifier along with all transaction data to allow transaction data to be used directly in future code" ckolivas 2016-02-03 16:43:35 +1100
  • 147175f295 Revert "Add transactions to a hashtable to know which are new, which need propagating, and which are no longer needed" ckolivas 2016-02-03 16:43:24 +1100
  • e227470015 Build json merkle array and store merklebins ckolivas 2016-02-03 16:42:02 +1100
  • c43432ea7e Add transactions to a hashtable to know which are new, which need propagating, and which are no longer needed ckolivas 2016-02-03 16:31:07 +1100
  • 8702c02822 Move merkle tree generation to the stratifier along with all transaction data to allow transaction data to be used directly in future code ckolivas 2016-02-03 15:00:06 +1100
  • f2a0d3636f Rename transactions to txns to not clash with the transactions value returned by getblocktemplate ckolivas 2016-02-03 13:49:06 +1100
  • 20a53c7a7f php - use thead/tbody/tfoot for tables kanoi 2016-02-03 11:31:04 +1100
  • 67a060940d php - show PH/s on pool graph if max >=2PH kanoi 2016-02-03 01:23:36 +1100
  • 21584bd61d php - round y scale to 2 places kanoi 2016-02-03 00:43:57 +1100
  • f9d4e7999a Remove unused zlib header Con Kolivas 2016-02-02 09:40:44 +1100
  • 74bf043832 Fix memory leak in node_msg_type Con Kolivas 2016-02-02 09:39:30 +1100
  • 481208470e Unrecognised stratum messages shouldn't spew to the console in node mode Con Kolivas 2016-02-02 08:59:42 +1100
  • 991f6b02e4 Move testing clients to the stats update thread to decrease overhead in stratum_broadcast and handling disconnects in node mode, testing idle clients as well. Con Kolivas 2016-01-31 09:31:37 +1100
  • c3d9ad3d0a ckdb - add 250, 500 and 1000 blocks to the block stats table kanoi 2016-01-30 22:58:51 +1100
  • 785b000e82 Bestshares is reset in block response parsing now for remote blocks Con Kolivas 2016-01-30 12:20:49 +1100
  • 19cb17ab8a Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2016-01-30 11:59:37 +1100
  • a3d7ed2a29 Reset shares after remote block solves and broadcast remote block solves Con Kolivas 2016-01-30 11:58:46 +1100
  • 1c9c741e41 ckdb - update version for libckpool update kanoi 2016-01-30 09:20:58 +1100
  • 8bb23841e9 Prevent crash in empty string passed to json_strcpy ckolivas 2016-01-29 07:31:28 +1100
  • 9febe260c3 Check nonce, nonce2 and ntime are valid hex in parse_submit ckolivas 2016-01-30 08:54:54 +1100
  • ae24b8b333 php - add a qrcode of the API key kanoi 2016-01-30 03:15:45 +1100
  • eedc3eec1c Avoid needing to duplicate buffer to parse messages in parse_client_msg Con Kolivas 2016-01-29 22:35:54 +1100
  • 606f570c3d Use faster and more robust memchr for detecting EOL in read_socket_line Con Kolivas 2016-01-29 22:18:28 +1100
  • bd26f1e6b4 Increase bidirectional buffer sizes to trusted remotes to 2MB default Con Kolivas 2016-01-29 14:49:23 +1100
  • fbbed17d7a Roll back to M22 Con Kolivas 2016-01-29 22:13:06 +1100
  • 00f866927a Increase write_socket select timeout to 60 seconds Con Kolivas 2016-01-29 17:42:31 +1100
  • bba064044b Increase bidirectional buffer sizes to trusted remotes to 2MB default Con Kolivas 2016-01-29 14:49:23 +1100
  • a0d86556a0 Downstream possible block solves to trusted nodes in binary form as well Con Kolivas 2016-01-29 14:45:09 +1100
  • 4f637a8be5 Fix off-by-one error in parsing bkeys in parse_client_msg Con Kolivas 2016-01-29 14:36:22 +1100
  • c9a5085bfd Remove unnecessary duplicating of message during parsing in parse_client_msg Con Kolivas 2016-01-29 14:22:02 +1100
  • 2bb5679c36 Receive and parse upstreamed block submits on client interface Con Kolivas 2016-01-29 14:04:41 +1100
  • 26f1173e74 Change upstream submit to use bkeys, sending hash and data separately WIP Con Kolivas 2016-01-29 12:10:05 +1100
  • 55ea835f7a Search for EOL with bkey message to avoid false positives Con Kolivas 2016-01-29 10:25:39 +1100
  • fc6331e279 More gracefully handle out of sync/corrupt binary messages by searching memory for EOL instead of strings Con Kolivas 2016-01-29 10:11:47 +1100
  • 780fb5cb72 Merge branch 'master' into bkey Con Kolivas 2016-01-29 09:04:50 +1100
  • dcf5cf1eb1 Merged in james_hilliard/ckpool/fix-confirm (pull request #4) Con Kolivas 2016-01-29 09:03:50 +1100
  • eb1cbe5925 Check that the result is null for accepted blocks instead of true. GBT returns {"result": null, "error": null, "id": null} if the block is accepted. James Hilliard 2016-01-28 15:50:54 -0600
  • 4a64775a86 Fix off-by-one error in bkey send size and clear buffer properly in clear_bufline Con Kolivas 2016-01-29 08:35:52 +1100
  • 95bc681a51 Merge branch 'bkey' of bitbucket.org:ckolivas/ckpool into bkey Con Kolivas 2016-01-29 07:37:26 +1100
  • b7c3eab4d1 Prevent crash in empty string passed to json_strcpy ckolivas 2016-01-29 07:31:28 +1100
  • 2a4a9f1c99 ckdb/php - fix instance additions kanoi 2016-01-29 00:26:43 +1100
  • 7ee668e50d Don't look for bkeys with messages slated for the node since they've already been extracted Con Kolivas 2016-01-28 21:56:57 +1100
  • 94cf7b2c17 Properly handle clients that don't accept bkeys Con Kolivas 2016-01-28 21:33:33 +1100
  • 401374e437 Overwrite EOL with bkey message in process_client_msg Con Kolivas 2016-01-28 19:15:58 +1100
  • be17fb808a Dont zero binary data eom ckolivas 2016-01-28 15:46:36 +1100
  • 41db95b213 Append EOL to json dumps when no bkeys are appended ckolivas 2016-01-28 15:16:58 +1100
  • d7e0fa0cec Calculate blen correctly in send_client ckolivas 2016-01-28 15:05:25 +1100
  • 5c289b9cb5 Don't fail on last seek in json_append_bkeys ckolivas 2016-01-28 14:42:40 +1100
  • e223264717 Include bkey header length in forward_passthrough_msg ckolivas 2016-01-28 14:38:05 +1100
  • 27080e48fa Append bkeys data in process_client_msg ckolivas 2016-01-28 14:20:56 +1100
  • 4805bb410c Append bkeys in passthrough_recv messages ckolivas 2016-01-28 13:09:21 +1100
  • 05b3a8e39a Append bkey binary data to read_socket_line when it exists ckolivas 2016-01-28 12:59:26 +1100
  • d91295cf82 Decode bkeys for clients that don't support them, otherwise forward on entire message ckolivas 2016-01-28 09:31:46 +1100
  • 812cd70e8f Handle rare fail mode gracefully ckolivas 2016-01-28 09:13:08 +1100
  • 6be75b4c1b Move bkey extraction to send_client WIP Con Kolivas 2016-01-28 09:10:56 +1100
  • 32ac6318a2 Don't try to broadcast messages to monitored clients in node mode ckolivas 2016-01-28 07:47:58 +1100
  • f3f180e4a3 Merge branch 'master' into bkey Con Kolivas 2016-01-27 22:00:13 +1100
  • aee4762721 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2016-01-27 21:48:05 +1100
  • 879294fe1a Correctly handle existing instance running Con Kolivas 2016-01-27 21:47:44 +1100
  • c8143b8c1b Merged in ctubio/ckpool/ctubio/show-error-message-in-red-only-once-and--1452382663479 (pull request #1) TheKano 2016-01-27 21:44:09 +1100
  • 5812abbb02 Reuse client bkeyval set code Con Kolivas 2016-01-27 19:49:07 +1100
  • 6e70908b30 Set a bkey bool on connecting remote/node/passthroughs flagging them capable of receiving bkey data Con Kolivas 2016-01-27 19:44:23 +1100
  • e3d633fa29 Reuse char buf Con Kolivas 2016-01-27 19:23:25 +1100
  • 77bf4b03d4 Add length checking to prevent overflow in json_append_bkeys Con Kolivas 2016-01-27 18:37:20 +1100
  • 1fb88a58a5 Merge branch 'master' into bkey Con Kolivas 2016-01-27 17:45:14 +1100
  • 7b75f270bc Consider duplicate response to submitblock as an accepted block ckolivas 2016-01-27 11:58:40 +1100
  • 999d2174c1 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2016-01-27 10:08:26 +1100
  • 72cfcc1073 ckdb - optional -i enforce poolinstance - see ckdb.c 'i' getopt_long comment regarding DB kanoi 2016-01-27 09:21:50 +1100