Commit Graph

  • c2059f9e09 Remove non-libsnark dependencies and test harness code from coverage reports Jack Grigg 2016-08-16 22:05:35 +12:00
  • 71442d31cf Add gtest coverage to folders deleted by "make clean" Jack Grigg 2016-08-16 20:30:24 +12:00
  • 873625bc85 Add gtest coverage intermediates to list of files deleted by make Jack Grigg 2016-08-16 18:38:42 +12:00
  • 6ecb05dd2f Enable branch coverage in coverage reports Jack Grigg 2016-08-16 18:32:56 +12:00
  • 5be6abbf84 Store the Equihash solution in minimal representation in the block header Jack Grigg 2016-08-14 15:04:13 +12:00
  • 9dcea38a6b net: correctly initialize nMinPingUsecTime Wladimir J. van der Laan 2015-09-04 15:43:21 +02:00
  • 85e84f5e58 Use network group instead of CNetAddr in final pass to select node to disconnect Patrick Strateman 2015-08-25 17:06:15 -07:00
  • b63e75ae12 Fix comment Patrick Strateman 2015-08-25 16:31:13 -07:00
  • f1e7e37130 Acquire cs_vNodes before changing refrence counts Patrick Strateman 2015-08-25 16:30:02 -07:00
  • 75c0598cac CNodeRef copy constructor and assignment operator Patrick Strateman 2015-08-25 15:33:29 -07:00
  • ce94413e03 Return false early if vEvictionCandidates is empty Patrick Strateman 2015-08-22 15:15:39 -07:00
  • 4dad09350f Better support for nodes with non-standard nMaxConnections Patrick Strateman 2015-08-21 18:42:05 -07:00
  • 6e966f67fd RAII wrapper for CNode* Patrick Strateman 2015-08-20 17:29:04 -07:00
  • 396bd999ad Add comments to AttemptToEvictConnection Patrick Strateman 2015-08-20 16:47:49 -07:00
  • 0560d671ab Remove redundant whiteconnections option Patrick Strateman 2015-08-13 17:32:57 -07:00
  • dd99be0f8c Prefer to disconnect peers in favor of whitelisted peers Patrick Strateman 2015-08-13 17:22:35 -07:00
  • 2fa41ff9b3 AttemptToEvictConnection Patrick Strateman 2015-08-13 02:58:58 -07:00
  • e279e5f90a Record nMinPingUsecTime Patrick Strateman 2015-08-13 02:31:46 -07:00
  • bd80ec0d23 Refactor: Move failure conditions to the top of AcceptConnection Patrick Strateman 2015-08-13 02:19:17 -07:00
  • 12005016cd Refactor: Bail early in AcceptConnection Patrick Strateman 2015-08-13 02:16:46 -07:00
  • 057d60781d Refactor: AcceptConnection (modified to include 95a50390) Patrick Strateman 2015-08-13 02:00:10 -07:00
  • 20abe2083c Extend byte array expansion and compression methods with optional padding Jack Grigg 2016-08-14 01:58:08 +12:00
  • caa0348f04 Update Equihash hash generation to match the Zcash spec Jack Grigg 2016-08-14 01:14:09 +12:00
  • 881ffbfc87 Add methods for byte array expansion and compression Jack Grigg 2016-08-13 16:45:53 +12:00
  • f5e5707d4c Change memo field size and relocate ciphertexts field of JoinSplit description. Sean Bowe 2016-08-15 08:54:42 -06:00
  • d7da4ecc33 Auto merge of #1194 - bitcartel:zc.v0.11.2.z8_issue_1193_fixtest, r=ebfull zkbot 2016-08-14 21:21:58 +00:00
  • c4cbee4381 Update uint256.h Robert C. Seacord 2016-08-13 11:12:18 -04:00
  • b5c06c83b0 Consistent parameter naming Jack Grigg 2016-08-12 14:37:17 +12:00
  • 0bfdb9628e Merge AddSpendingKeyPaymentAddress into AddSpendingKey to simplify API Jack Grigg 2016-08-12 14:24:29 +12:00
  • 998eea5db6 Disable hardening when building for coverage reports. Taylor Hornby 2016-08-11 15:15:50 -06:00
  • 2dd950ecae Clarify comment about nonce space for Note Encryption Tom Ritter 2016-08-11 13:48:47 -05:00
  • 47251e8460 Update test_equihash.cpp Robert C. Seacord 2016-08-10 22:02:00 -04:00
  • 1031047885 Update equihash.cpp Robert C. Seacord 2016-08-10 15:40:32 -04:00
  • 7c929cf5bc Add support for spending keys to the basic key store Jack Grigg 2016-08-09 13:34:58 +12:00
  • 75c2f26887 Update variable. Simon 2016-08-08 00:51:27 -07:00
  • 822b84b616 Fixes #1193 so that during verification benchmarking it does not unncessarily create thousands of CTransaction objects. Simon 2016-08-07 23:54:50 -07:00
  • a8270035c0 Release process for z8. Issue #1140. Simon 2016-08-06 15:37:24 -07:00
  • 0822971120 Auto merge of #1183 - bitcartel:zc.v0.11.2.latest_txid_tests, r=bitcartel zkbot 2016-08-06 21:47:23 +00:00
  • 2a7fde3f42 Add test for non-malleable txids. To run just this test: ./zcash-gtest --gtest_filter="txid_tests*" Simon 2016-08-05 22:54:21 -07:00
  • 23acf86791 Ignore duplicate entries after partial recreation Jack Grigg 2016-08-06 16:39:14 +12:00
  • a23507d086 Update tests to account for new Equihash parameters Jack Grigg 2016-08-06 15:26:59 +12:00
  • ca202e2db1 Change Equihash parameters to n = 200, k = 9 (about 563-700 MiB) Jack Grigg 2016-08-06 15:26:45 +12:00
  • 30bd297920 Fix bug in IsProbablyDuplicate() Jack Grigg 2016-08-06 15:26:22 +12:00
  • fa19e1b357 Add test showing bug in IsProbablyDuplicate() Jack Grigg 2016-08-06 15:23:47 +12:00
  • eeb4177843 Add Equihash support for n = 200, k = 9 Jack Grigg 2016-08-06 10:29:09 +12:00
  • 95277e0311 Auto merge of #1144 - bitcartel:zc.v0.11.2.z7_tx_malleability_gettxid, r=bitcartel zkbot 2016-08-05 19:31:52 +00:00
  • e5b57a1432 Auto merge of #1173 - str4d:1165-equihash-fix-large-k-ballooning, r=bitcartel zkbot 2016-08-05 17:35:35 +00:00
  • 76470978f4 Auto merge of #1172 - str4d:1148-remove-equihash-collision-length-assumption, r=bitcartel zkbot 2016-08-05 16:53:28 +00:00
  • 036dcbd94a Remove the assumption that n/(k+1) is a multiple of 8. Jack Grigg 2016-08-06 02:34:07 +12:00
  • 649be423f8 Fix previous commit Jack Grigg 2016-08-06 02:03:08 +12:00
  • 6609813753 Simplify optional parameters Jack Grigg 2016-08-06 00:36:33 +12:00
  • 3c3ef34505 Add missing assert Jack Grigg 2016-08-05 22:24:04 +12:00
  • e999c1e339 Simplify IsProbablyDuplicate() Jack Grigg 2016-08-05 22:12:50 +12:00
  • 3c654f38eb Eliminate probably duplicates in final round Jack Grigg 2016-08-05 18:15:34 +12:00
  • 6b4f4475a5 Use fixed-size array in IsProbablyDuplicate to avoid stack protector warning Jack Grigg 2016-08-05 17:18:47 +12:00
  • d4af3dd5fd Eliminate some of the duplicates caused by truncating indices Jack Grigg 2016-08-04 13:07:24 +12:00
  • f7478de67f Add thread parameter to solveequihash benchmark Jack Grigg 2016-08-05 15:05:38 +12:00
  • fbd90518e3 Use -O1 opimitization flag when building libzcash. Continuation of #1064 and related to #1168. Simon 2016-08-03 22:41:28 -07:00
  • 9cc43696ec Auto merge of #1086 - zcash:daira-simplify-readme-title, r=bitcartel zkbot 2016-08-04 01:33:43 +00:00
  • abd4c16ae9 Auto merge of #1064 - ThisIsNotOfficialCodeItsJustForks:t915-enable-security-hardening, r=bitcartel zkbot 2016-08-03 23:57:05 +00:00
  • 1f7e1f68c6 Auto merge of #1157 - ThisIsNotOfficialCodeItsJustForks:t761-run-tests-under-valgrind, r=nathan-at-least zkbot 2016-08-03 23:11:44 +00:00
  • a40d70f464 Auto merge of #1160 - str4d:1131-remove-hardfork, r=bitcartel zkbot 2016-08-03 17:56:32 +00:00
  • 19b49de082 Auto merge of #1158 - bitcartel:zc.v0.11.2.latest_1126_trycatch, r=ebfull zkbot 2016-08-01 21:16:53 +00:00
  • 74cd8821c7 Remove GetSerializeHash() method. Simon 2016-07-29 23:28:34 -07:00
  • 4714ea145b Auto merge of #1146 - str4d:1143-equihash-solution-callback, r=ebfull zkbot 2016-07-30 02:59:12 +00:00
  • 4a0bdc9020 Fix bug in 'generate' RPC method that caused it to fail with high probability Jack Grigg 2016-07-30 01:28:17 +12:00
  • 9e0713f47f Remove hardfork from special testnet difficulty rules Jack Grigg 2016-07-29 21:46:27 +12:00
  • d81c31f5fb Extend try catch block around calls to libsnark, per discussion in #1126. Simon 2016-07-29 00:02:22 -07:00
  • c63af91a78 Update comment. Simon 2016-07-28 18:44:00 -07:00
  • 3979881fc5 Fix comment. Simon 2016-07-28 16:40:01 -07:00
  • 88325d8abb Add more commands to run unit tests under valgrind. Taylor Hornby 2016-07-28 14:43:36 -06:00
  • b2e956be01 Auto merge of #1137 - bitcartel:zc.v0.11.2.latest_deprecate_zcraw_api, r=ebfull zkbot 2016-07-28 17:25:52 +00:00
  • eae3794152 Update deprecation message for zcraw api. Simon 2016-07-27 21:40:26 -07:00
  • 92f7426d19 Make txid const. Simon 2016-07-27 12:14:44 -07:00
  • 0ccb650b5a Update genesis block hashes and test data. Simon 2016-07-27 00:55:48 -07:00
  • 90a9019387 Fix issue where a coinbase tx should have it's sigscript hashed to avoid duplicate txids, as discussed in BIP34 and BIP30. Simon 2016-07-27 00:52:27 -07:00
  • 2481bab2b8 Revert "Set nLockTime in CreateNewBlock() so coinbase txs do not have the same txid." Simon 2016-07-27 00:41:26 -07:00
  • 51eb5273f5 Equihash: Pass each obtained solution to a callback for immediate checking Jack Grigg 2016-07-27 19:15:49 +12:00
  • 07e6d5b025 Refactor GetTxid() into UpdateTxid() to match coding style of hash member variable. Simon 2016-07-26 17:06:55 -07:00
  • 29306269f4 Set nLockTime in CreateNewBlock() so coinbase txs do not have the same txid. Update test data in miner_tests. Simon 2016-07-25 23:23:43 -07:00
  • 10d2c57c0d Replace calls to GetHash() with GetTxid() for transaction objects. Simon 2016-07-25 12:23:37 -07:00
  • 1e84d84d3a Rename GetHash() method to GetSerializeHash(). Simon 2016-07-25 11:25:00 -07:00
  • 3574c9251f Updated test data for script_tests by uncommenting UPDATE_JSON_TESTS flag. Simon 2016-07-25 01:11:47 -07:00
  • b742003ee9 Update block and tx data used in bloom filter tests. Simon 2016-07-24 00:56:15 -07:00
  • 2b9130cd1f Update precomputed equihash solutions used in test. Simon 2016-07-23 13:28:36 -07:00
  • a2cf219581 Update genesis blocks. Simon 2016-07-23 00:45:38 -07:00
  • 49689a574c Add GetTxid() which returns a non-malleable txid. Simon 2016-07-22 14:09:38 -07:00
  • 6dfc9e7a7c Auto merge of #1120 - str4d:1055-asynchronous-miner-interrupts, r=str4d zkbot 2016-07-25 23:51:23 +00:00
  • a24a2e1144 Inform user that zcraw... rpc calls are being deprecated. Simon 2016-07-24 10:05:20 -07:00
  • 167aece517 z7 Release Sean Bowe 2016-07-22 15:50:04 -06:00
  • eef6f737dc Auto merge of #1126 - ebfull:more-libsnark-changes, r=ebfull zkbot 2016-07-22 20:16:27 +00:00
  • f0f8622f2a Auto merge of #1127 - ebfull:test-merkle-tree-gadget, r=ebfull zkbot 2016-07-22 19:37:13 +00:00
  • 215b9e139d Use std::shared_ptr to deallocate partialSolns automatically Jack Grigg 2016-07-23 00:31:47 +12:00
  • 1655db285d Move initialisations to simplify cancelled checks Jack Grigg 2016-07-22 23:54:14 +12:00
  • 73537ebe97 Put hardened stuff in libzcash CPPFLAGS. Taylor Hornby 2016-07-21 20:40:33 -06:00
  • b00b98ae2c Make security options in configure.ac fail if unavailable. Taylor Hornby 2016-07-21 20:18:28 -06:00
  • 56734f4b27 Pull in upstream's make check-security, based on upstream PR #6854 and #7424. Taylor Hornby 2016-07-21 13:41:06 -06:00
  • 1327d1915a Add tests for security hardening features Taylor Hornby 2016-07-05 16:37:21 -06:00
  • effd7ca1d8 Add checksec.sh from http://www.trapkit.de/tools/checksec.html Taylor Hornby 2016-07-05 16:20:08 -06:00
  • 4e0b4af40f Enable -O1 for better FORTIFY_SOURCE protections. Taylor Hornby 2016-07-05 16:18:58 -06:00