Commit Graph

  • 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
  • 9e6adb124f Hardfork to the previous testnet difficulty adjustment behaviour at block 43400 Jack Grigg 2016-07-22 13:58:13 +12:00
  • ae79cec542 Make the --enable-hardening flag explicit. Taylor Hornby 2016-06-30 18:35:33 -06:00
  • 4d66f8f68a Add test for non-intuitive merkle tree gadget witnessing behavior. Sean Bowe 2016-07-21 19:28:58 -06:00
  • 25d2197043 Remove more from libsnark, and fix potential remote-DoS. Sean Bowe 2016-07-21 18:34:59 -06:00
  • e99731b4a4 Reinstate previous testnet adjustment behaviour Jack Grigg 2016-07-21 20:50:05 +12:00
  • 5a360a5c6a Fix segfault by indirectly monitoring chainActive.Tip(), locking on mutex Jack Grigg 2016-07-21 18:04:38 +12:00
  • cebeabb2f4 Auto merge of #1119 - ebfull:version-bump, r=ebfull zkbot 2016-07-21 04:55:06 +00:00
  • 5b4ebcd5e2 Add tests that exercise the cancellation code branches Jack Grigg 2016-07-21 16:39:32 +12:00
  • 2dbabb1159 Make Equihash solvers cancellable Jack Grigg 2016-07-20 19:06:49 +12:00
  • e117ff7651 Auto merge of #1048 - str4d:collect-all-valid-equihash-solns, r=ebfull zkbot 2016-07-20 03:54:30 +00:00
  • 697cc53b29 Bump the (minimum) protocol version to avoid invoking legacy behavior from upstream. Sean Bowe 2016-07-19 19:07:14 -06:00
  • b83061544f Auto merge of #1116 - ebfull:performance-check-valid-pour-fix, r=ebfull zkbot 2016-07-20 00:03:46 +00:00
  • a1cded5b91 Auto merge of #1088 - ThisIsNotOfficialCodeItsJustForks:t1078-fix-sighash-bug-2, r=ebfull zkbot 2016-07-19 23:39:06 +00:00
  • b5dfcd0fbb Auto merge of #1063 - ThisIsNotOfficialCodeItsJustForks:t898-remove-insecurely-downloaded-dependencies, r=ebfull zkbot 2016-07-19 23:14:06 +00:00
  • 86551dcb18 Remove insecurely-downloaded dependencies that we don't currently use. Taylor Hornby 2016-06-30 18:04:50 -06:00
  • 741cf2cedf Auto merge of #1115 - ebfull:shorten-proving-key, r=ebfull zkbot 2016-07-19 22:38:50 +00:00
  • 838e3c753f Fix the tests that the SIGHASH_SINGLE bugfix breaks. Taylor Hornby 2016-07-12 13:18:30 -06:00
  • 67f0243533 Remove in-band error signalling from SignatureHash, fixing the SIGHASH_SINGLE bug. Taylor Hornby 2016-07-11 17:00:04 -06:00
  • 1737627c4e Introduce zcsamplejoinsplit for creating a raw joinsplit description, and use it to construct the joinsplit for the performance tests that verify joinsplits. Sean Bowe 2016-07-19 15:49:11 -06:00
  • 1477fd3f40 Remove the constraint system from the alpha proving key. Sean Bowe 2016-07-19 14:01:58 -06:00
  • 85cc6f5b44 Update tor.md for Zcash bitcartel 2016-07-19 12:48:09 -07:00
  • 431604c7d9 Auto merge of #1094 - ThisIsNotOfficialCodeItsJustForks:t488-document-side-channel-attacks, r=ebfull zkbot 2016-07-19 17:39:27 +00:00
  • c6365f4d80 Add test case that requires the fix Jack Grigg 2016-07-19 23:33:28 +12:00
  • 1bb40a42c2 Collect all permutations of final solutions Jack Grigg 2016-06-21 15:12:06 +12:00
  • d20d866d89 Auto merge of #1105 - bitcartel:zc.v0.11.2.z6_issue_424, r=ebfull zkbot 2016-07-18 21:09:46 +00:00
  • b722000231 Mention physical access / close proximity Taylor Hornby 2016-07-18 14:54:22 -06:00
  • 35b3168d2c Note that the actual secret spending key may be leaked. Taylor Hornby 2016-07-18 14:50:07 -06:00
  • 4d459f93a4 Auto merge of #1090 - ebfull:rename-pour-and-serial, r=ebfull zkbot 2016-07-18 19:58:25 +00:00
  • e613014526 Auto merge of #1104 - ebfull:libsnark-updates, r=ebfull zkbot 2016-07-18 18:04:56 +00:00
  • d36098f873 Rename pour in RPC tests. Sean Bowe 2016-07-18 10:43:17 -06:00
  • b78daf7de7 Change serial to nf in txdb. Sean Bowe 2016-07-16 16:46:49 -06:00
  • 22de160219 Fixes for indentation and local variable names. Sean Bowe 2016-07-16 16:45:41 -06:00
  • 28173cd0de Remove more usage of serial. Sean Bowe 2016-07-14 19:19:13 -06:00
  • fd933ed05e Fix tests Sean Bowe 2016-07-14 18:58:55 -06:00
  • 6e33353ea2 Rename pour RPC tests Sean Bowe 2016-07-14 18:04:38 -06:00
  • ffcfe76d4f Change encryptedbucket1 to encryptednote1. Sean Bowe 2016-07-14 17:27:54 -06:00
  • 9e511dbbdd Rename CSerialsCacheEntry. Sean Bowe 2016-07-14 17:02:39 -06:00
  • 1d184d53e1 Rename cacheSerials to cacheNullifiers and fix tests. Sean Bowe 2016-07-14 16:51:36 -06:00
  • 4bc00dc141 Bucket -> note. Daira Hopwood 2016-07-14 23:22:27 +01:00
  • cc01120a17 Rename more usage of serial. Sean Bowe 2016-07-14 16:32:34 -06:00
  • b7e4abd6f7 Rename some usage of 'pour'. Sean Bowe 2016-07-14 16:10:41 -06:00
  • bb64be52fe Rename mapSerials to mapNullifiers. Sean Bowe 2016-07-14 16:02:42 -06:00
  • d889a287ae Rename CSerialsMap to CNullifiersMap. Sean Bowe 2016-07-14 15:57:00 -06:00
  • d90e46ba8d Renaming SetSerial to SetNullifier. Sean Bowe 2016-07-14 15:51:53 -06:00
  • 616f8d05af Rename GetSerial to GetNullifier. Sean Bowe 2016-07-14 15:47:54 -06:00
  • ee964faf3d Rename HavePourRequirements to HaveJoinSplitRequirements. Sean Bowe 2016-07-14 15:23:01 -06:00
  • 942bc46756 Rename GetPourValueIn to GetJoinSplitValueIn Sean Bowe 2016-07-14 15:16:57 -06:00
  • 8f95cd3c26 Test fixes. Sean Bowe 2016-07-14 14:16:59 -06:00
  • bfeaf0049a Rename JSDescription's serials to nullifiers. Sean Bowe 2016-07-10 23:18:53 -06:00
  • 8675d94b63 Rename vpour to vjoinsplit. Sean Bowe 2016-07-10 23:08:20 -06:00
  • a8c68ffe99 Rename CPourTx to JSDescription. Sean Bowe 2016-07-10 23:02:10 -06:00
  • 939aaeb620 New alert test data generated for new alert key pair. Added test fixture to create new test data. Added instructions for developer. Simon 2016-07-17 12:36:26 -07:00
  • f30580744f Auto merge of #1059 - bitcartel:zc.v0.11.2.z5_getblocksubsidy, r=ebfull zkbot 2016-07-17 16:19:39 +00:00
  • 9be2f85c22 Remove QT alert message box. Simon 2016-07-16 13:18:42 -07:00
  • 7af996b263 Update URL for zcash alert IDs. Simon 2016-07-16 13:17:47 -07:00
  • 656a5f0b6f Update alert protocol version comment. Simon 2016-07-16 08:18:58 -07:00
  • 2e6f1f8de9 Update alert ID start value and URL in comment. Simon 2016-07-16 08:17:56 -07:00
  • 8e77a067ef Update comments. Simon 2016-07-16 08:12:19 -07:00
  • acefacf1b9 Disable QT alert message. Simon 2016-07-16 08:03:36 -07:00
  • b39e1bdbca Fixes to integrate sendalert.cpp. Add sendalert.cpp to build process. Add alertkeys.h as a placeholder for private keys. Simon 2016-07-15 19:57:55 -07:00
  • 2513363e81 Add sendalert.cpp to repo. Simon 2016-07-15 18:05:42 -07:00
  • 174a68b3b7 Use new public/private key pairs for alert system. Simon 2016-07-14 22:38:41 -07:00
  • bf76024eb7 Pass our constraint system to libsnark, so that it doesn't need to (de)serialize it in the proving key. Sean Bowe 2016-07-15 10:45:59 -06:00
  • 1fad6b87e5 Initialize libsodium in this routine, which is now necessary because libsnark uses its PRNG. Sean Bowe 2016-07-15 10:45:22 -06:00
  • e9f9a73ab7 Update libsnark to our fork. Sean Bowe 2016-07-15 10:45:09 -06:00
  • ea26d328fc Add founders reward to output. Simon 2016-07-14 13:05:32 -07:00