Commit Graph

  • f7d78fdde1 Fix failing test Jack Grigg 2016-09-01 20:16:18 +12:00
  • 57466ea652 Remove mainnet DNS seeds, set checkpoint to genesis Jack Grigg 2016-09-01 17:00:20 +12:00
  • 00939d09ba Add test comparing GetDifficulty() with GetNetworkDifficulty() Jack Grigg 2016-09-01 16:36:18 +12:00
  • 695a7a8826 Separate concepts of block difficulty and network difficulty in RPC Jack Grigg 2016-08-26 18:42:18 +12:00
  • 268bd84f9a Add coverage of the assertion inside GetNoteWitnesses() Jack Grigg 2016-09-01 15:04:57 +12:00
  • 73db0c12b9 Increase coverage of GetNoteDecryptor() Jack Grigg 2016-09-01 14:44:01 +12:00
  • 5abaca1af6 Fix the failing test! Jack Grigg 2016-09-01 13:00:02 +12:00
  • ac91ebbe92 Add test showing that the witness cache isn't being serialised Jack Grigg 2016-09-01 12:47:44 +12:00
  • 32a103aab7 Changes after review Jack Grigg 2016-09-01 11:38:43 +12:00
  • 83ec5cb87b Auto merge of #1322 - bitcartel:zc.v0.11.2.z9_1316_getblocksubsidy, r=ebfull zkbot 2016-08-31 21:45:11 +00:00
  • 54ce3c46dd Auto merge of #1323 - bitcartel:zc.v0.11.2.latest_update_payment_api_doc, r=ebfull zkbot 2016-08-31 20:06:34 +00:00
  • 0736fa14fc Keep any existing cached witnesses when updating transactions Jack Grigg 2016-08-31 21:16:59 +12:00
  • be86b6c332 Add test for GetNoteDecryptor() Jack Grigg 2016-08-31 18:57:32 +12:00
  • 1551db870a Add transactions to wallet if we spend notes in them Jack Grigg 2016-08-31 18:28:00 +12:00
  • 38a6e7a74d Set witness cache size equal to coinbase maturity duration Jack Grigg 2016-08-31 15:26:49 +12:00
  • ad20f2149a mapNullifiers -> mapNullifiersToNotes for clarity Jack Grigg 2016-08-31 15:11:35 +12:00
  • 4086e5ce98 Replace vAnchorCache with a cache size counter Jack Grigg 2016-08-31 14:13:28 +12:00
  • 6555546edf Update payment-api.md bitcartel 2016-08-30 19:57:16 -07:00
  • f9c02827d4 Auto merge of #1300 - ThisIsNotOfficialCodeItsJustForks:t915-add-wformat-security.2, r=ebfull zkbot 2016-08-30 22:31:48 +00:00
  • 5d50130bc9 Closes #1315. RPC getblocksubsidy height parameter is now optional and a test has been added to verify parameter input and results. Simon 2016-08-27 21:03:41 -07:00
  • 835588a629 Auto merge of #1314 - str4d:fix-getblock-solution-output, r=ebfull zkbot 2016-08-30 18:40:19 +00:00
  • 6731665a12 Auto merge of #1313 - bitcartel:zc.v0.11.2.z9_1122, r=ebfull zkbot 2016-08-30 18:00:11 +00:00
  • 3fac1020e7 Remove GetNoteDecryptors(), lock inside FindMyNotes() instead Jack Grigg 2016-08-31 02:09:17 +12:00
  • de42390f90 Pass ZCIncrementalMerkleTree to wallet to prevent race conditions Jack Grigg 2016-08-31 02:00:11 +12:00
  • 3e3da44c71 Test solution output of blockToJSON() Jack Grigg 2016-08-30 14:42:49 +12:00
  • e0fa312756 Auto merge of #1307 - str4d:remove-debug-pow-code, r=ebfull zkbot 2016-08-29 22:09:17 +00:00
  • 769e031c1a Update cached incremental witnesses when the active block chain tip changes Jack Grigg 2016-08-24 15:52:43 +12:00
  • be74c80deb Add caching of incremental witnesses for spendable notes Jack Grigg 2016-08-24 15:52:27 +12:00
  • 8db7e25c3f Create mapping from nullifiers to received notes Jack Grigg 2016-08-24 15:51:56 +12:00
  • 0f1060478f Keep track of spent notes, and detect and report conflicts Jack Grigg 2016-08-24 15:51:40 +12:00
  • c3a7307a69 Store mapping between notes and PaymentAddresses in CWalletTx Jack Grigg 2016-08-24 15:51:09 +12:00
  • 02e674555e Add wallet method for finding spendable notes in a CTransaction Jack Grigg 2016-08-24 15:50:45 +12:00
  • 5db5e42ec3 Add optional bool to disable computation of proof in JSDescription constructor Jack Grigg 2016-08-24 15:49:38 +12:00
  • 1f882153b6 Throw a domain error as json_spirit is a third-party library. Simon 2016-08-27 09:14:25 -07:00
  • e1dde421c3 Output Equihash solution in RPC results as a hex string Jack Grigg 2016-08-27 23:50:49 +12:00
  • df3af446e7 Fixes #1122 where json_spirit could stack overflow because there was no maximum limit set on the number of nested compound elements. Simon 2016-08-26 23:35:45 -07:00
  • 7ee82c4361 Deallocate the public parameters during Shutdown. Sean Bowe 2016-08-26 14:35:05 -06:00
  • 6dcb706734 Use -Wformat in the test for -Wformat-security Taylor Hornby 2016-08-26 10:14:33 -06:00
  • 488e61e852 Undo debugging change from 5be6abbf84 Jack Grigg 2016-08-26 14:09:25 +12:00
  • 77a99f4a2a Auto merge of #1285 - ralphtheninja:zc.v0.11.2.latest, r=daira zkbot 2016-08-26 02:06:23 +00:00
  • e7f12c2057 Update steps after D Daira Hopwood 2016-08-25 21:21:33 +01:00
  • 8b139c2441 Auto merge of #1303 - daira:z9-version-number, r=daira zkbot 2016-08-25 19:32:20 +00:00
  • 727ed5ffa3 Update pchMessageStart for the z9 testnet. ⚧Ⓐ Daira Hopwood 2016-08-25 15:55:51 +01:00
  • d3f6eed98b Update doc/README.md and add z9 release notes. Daira Hopwood 2016-08-25 15:07:53 +01:00
  • bda0693aab Increment version number for z9 release. Daira Hopwood 2016-08-25 15:07:16 +01:00
  • f8b73015bc Auto merge of #1208 - bitcartel:z8_rpc_keys, r=daira zkbot 2016-08-25 13:49:05 +00:00
  • cca52f36df Auto merge of #1301 - bitcartel:zc.v0.11.2.latest_701_md_formatting, r=daira zkbot 2016-08-25 10:09:56 +00:00
  • d1f16ffe85 Fix formatting. Simon 2016-08-24 21:47:46 -07:00
  • 5d37904b9c Add -Wformat -Wformat-security Taylor Hornby 2016-08-24 16:38:37 -06:00
  • 3bff998b38 Rename methods to avoid using prefix of _ underscore which is reserved. Added logging of explicit exception rather than a catch all. Removed redundant spending key check. Updated user facing help message. Simon 2016-08-24 11:55:26 -07:00
  • 4b2e557181 Fix comments. Simon 2016-08-24 08:35:04 -07:00
  • 309b0ecd80 Add "zkey" to list of key types (used by the wallet to decide whether or not it can be recovered if it detects bad records). Simon 2016-08-23 13:10:47 -07:00
  • 79d769a382 Remove one line of dead code. Simon 2016-08-23 09:34:07 -07:00
  • 2e0cc87acf Fix comment. Simon 2016-08-23 09:24:54 -07:00
  • badb9a9c2f Add test coverage for RPC call z_getnewaddress. Simon 2016-08-18 20:12:23 -07:00
  • 60f762a549 Added wallet rpc tests to cover: z_importwallet, z_exportwallet z_importkey, z_exportkey z_listaddresses Simon 2016-08-12 17:44:03 -07:00
  • 0feffd1424 Don't mark wallet as dirty if key already exists. Fix incorrect method name used in error message. Simon 2016-08-11 11:37:00 -07:00
  • 4cea36bef3 Add gtest to cover new methods in: CWallet - GenerateNewZKey() - AddZKey() - LoadZKey() - LoadZKeyMetadata() CWalletDB - WriteZKey() Simon 2016-08-11 10:48:16 -07:00
  • e709997ff2 Implemented z_listaddresses to return all the zaddr in the wallet. Simon 2016-08-10 15:02:00 -07:00
  • 92444edc00 Add z_importwallet and z_exportwallet to handle keys for both taddr and zaddr. Restore behaviour of dumpwallet and importwallet to only handle taddr. Simon 2016-08-10 14:35:37 -07:00
  • c1c4594371 Implemented RPC calls z_importkey, z_exportkey, z_getnewaddress. Modified RPC calls dumpwallet and importwallet to include spending keys. Simon 2016-08-09 23:15:22 -07:00
  • 2833fb14af Auto merge of #1291 - daira:decrease-max-headers-results, r=daira zkbot 2016-08-24 05:45:53 +00:00
  • b93c8139e6 Decrease MAX_HEADERS_RESULTS to 160. fixes #1289 Daira Hopwood 2016-08-24 06:14:09 +01:00
  • bcf79c78c5 Change some asserts in equihash.cpp to be static. Daira Hopwood 2016-08-24 05:39:31 +01:00
  • c6a7e897bc Add mostly-static checks on consistency of Equihash parameters, MAX_HEADERS_RESULTS, and MAX_PROTOCOL_MESSAGE_LENGTH. Daira Hopwood 2016-08-24 06:13:06 +01:00
  • cab581256f Auto merge of #1292 - bitcartel:zc.v0.11.2.latest_701_rpc_docs, r=daira zkbot 2016-08-24 05:05:11 +00:00
  • cd9d373987 Auto merge of #1260 - str4d:1175-byte-array-manipulation, r=ebfull zkbot 2016-08-24 03:01:13 +00:00
  • 90b740fd3b Test conversion between solution indices and minimal representation Jack Grigg 2016-08-24 13:42:52 +12:00
  • 5f3f741e47 Add note about zkey and encrypted wallets in z9 alpha. bitcartel 2016-08-23 15:33:05 -07:00
  • 73f9e32b86 Closes #701 by adding documentation about the Payment RPC interface. Simon 2016-08-22 23:46:10 -07:00
  • 27bd8e4129 Auto merge of #1270 - ThisIsNotOfficialCodeItsJustForks:t1168-fix-optimization-flags, r=daira zkbot 2016-08-23 03:30:31 +00:00
  • fed866e212 Auto merge of #1262 - ebfull:compressed-proofs, r=ebfull zkbot 2016-08-23 02:11:30 +00:00
  • 07b246988b Auto merge of #1261 - str4d:892-branch-coverage, r=daira zkbot 2016-08-23 00:19:48 +00:00
  • 393b2b7834 Update proving/verifying keys. Sean Bowe 2016-08-18 13:17:55 -06:00
  • decde3864d Enable MONTGOMERY_OUTPUT everywhere. Sean Bowe 2016-08-18 12:21:19 -06:00
  • 6a1653f009 Update libsnark dependency. Sean Bowe 2016-08-18 12:17:27 -06:00
  • ae6b333c75 Perform curve parameter initialization at start of gtest suite. Sean Bowe 2016-08-18 12:15:08 -06:00
  • ea92aba9fe Move bigint arithmetic implementations to libsnark. Daira Hopwood 2016-08-22 17:18:11 +01:00
  • f0dab51cf3 Implement zkSNARK compression. Sean Bowe 2016-08-16 14:08:59 -06:00
  • 365845216b Auto merge of #1268 - ThisIsNotOfficialCodeItsJustForks:t1130-upgrade-libsodium, r=ebfull zkbot 2016-08-22 02:34:30 +00:00
  • f4491c51e4 Auto merge of #1248 - rcseacord:rcseacord-patch-4, r=ebfull zkbot 2016-08-22 00:12:48 +00:00
  • 8fd71a194e changed module name from "bitcoin" to "Zcash" in FormatException() Lars-Magnus Skog 2016-08-21 15:09:58 +02:00
  • e273f05d10 Remove unnecessary temporary array from Equihash hash generation Jack Grigg 2016-08-21 06:05:48 +12:00
  • 6e629886e5 Add another test case based on example in the spec Jack Grigg 2016-08-21 05:57:46 +12:00
  • 6c7cc8ebea update zcash-cli stop message Gaurav Rana 2016-08-20 12:27:12 +00:00
  • 7e556172d9 Auto merge of #1236 - tomrittervg:tomrittervg-comments-1, r=ebfull zkbot 2016-08-18 23:38:36 +00:00
  • 2902ac7ce8 Use libsodium's s < L check, instead checking that libsodium checks that. Taylor Hornby 2016-08-18 16:38:20 -06:00
  • 36d5f42948 Update NoteEncryption.hpp Tom Ritter 2016-08-18 16:51:15 -05:00
  • 28a30f7801 Auto merge of #1254 - ebfull:tx-structure-changes, r=bitcartel zkbot 2016-08-18 16:49:47 +00:00
  • 2ee6ed64eb Add parenthesis around macro value definition ebfull 2016-08-18 10:43:58 -06:00
  • af9898eee5 Auto merge of #1258 - ThisIsNotOfficialCodeItsJustForks:t1251-upstream-anti-dos, r=daira zkbot 2016-08-18 16:08:25 +00:00
  • 3d28c86c8e Auto merge of #1205 - str4d:1199-key-management, r=str4d zkbot 2016-08-18 00:27:09 +00:00
  • a4f4fa8fe9 ASSERT -> EXPECT in test to get more info per test run about future regressions Jack Grigg 2016-08-18 12:25:01 +12:00
  • 04dfc3c569 Rework test to check for failure to return a spending key Jack Grigg 2016-08-18 12:22:30 +12:00
  • f5d3d420f6 Add -fwrapv -fno-strict-aliasing; fix libzcash flags. Taylor Hornby 2016-08-17 11:57:51 -06:00
  • 46ad3c2758 Fix inconsistent optimization flags; single source of truth. Taylor Hornby 2016-08-17 11:38:28 -06:00
  • a635d6e995 Upgrade libsodium for AVX2-detection bugfix. Taylor Hornby 2016-08-17 10:43:06 -06:00
  • 39af39fb85 Auto merge of #1231 - rcseacord:rcseacord-patch-3, r=str4d zkbot 2016-08-17 01:30:26 +00:00
  • cdc01fad17 Auto merge of #1230 - rcseacord:rcseacord-patch-1, r=str4d zkbot 2016-08-17 00:35:57 +00:00
  • 0d7386916d Add separate lock for SpendingKey key store operations Jack Grigg 2016-08-16 22:17:33 +12:00