Commit Graph

  • 622ced8a74 Adjust test to account for integer division precision loss Jack Grigg 2016-09-08 12:46:00 +12:00
  • 4b37cfd5b8 Remove unnecessary method Jack Grigg 2016-09-08 12:22:08 +12:00
  • 4ab24d3625 Update payment API documentation for beta 1 bitcartel 2016-09-07 16:53:24 -07:00
  • aea79ec053 Adjust test to avoid spurious failures Jack Grigg 2016-09-08 11:34:50 +12:00
  • fa511e1084 Replace GetTxid() with GetHash() after rebase on latest. Simon 2016-09-07 15:11:17 -07:00
  • 33264f5b46 Remove GetTxid() from CTransaction and update test_txid Simon 2016-08-30 12:55:05 -07:00
  • 805344dcf4 Refactor: replace calls to GetTxid() with GetHash() Simon 2016-08-30 12:49:38 -07:00
  • 6c79b9a12a Update txid gtest to verify #1144 has been removed: GetTxid() and GetHash() return the same result. Simon 2016-08-27 16:10:30 -07:00
  • a64f681f2c Remove #1144 from input data of script_tests. Simon 2016-08-27 15:54:12 -07:00
  • 5316bd3560 Remove #1144 from bloom_tests by reverting to commit 5012190. Simon 2016-08-27 15:48:14 -07:00
  • 3bdb071cc3 Remove #1144 from transaction.cpp by reverting back to commit 942bc46. Simon 2016-08-27 13:58:50 -07:00
  • 82f3c490b1 Remove #1144 from transaction.h. Simon 2016-08-27 13:54:21 -07:00
  • 02932fc9cc Auto merge of #1341 - ebfull:fix-checktransaction-bug, r=ebfull zkbot 2016-09-07 20:22:13 +00:00
  • a4b00373ab Fix transaction test in test_bitcoin. Sean Bowe 2016-09-07 13:55:31 -06:00
  • c5b5d50004 Auto merge of #1342 - ebfull:remove-todo, r=ebfull zkbot 2016-09-07 16:55:23 +00:00
  • 4a749674a8 Update tests for new genesis blocks Jack Grigg 2016-09-07 09:50:28 +12:00
  • 66f07f5d0d Regenerate genesis blocks for new powLimits Jack Grigg 2016-09-07 08:18:46 +12:00
  • 3e24a533f5 Restrict powLimit due to difficulty averaging Jack Grigg 2016-09-07 08:17:43 +12:00
  • 7b173bd80f Simplify difficulty averaging code Jack Grigg 2016-09-06 23:03:36 +12:00
  • 5fbb839f53 Add test of difficulty averaging Jack Grigg 2016-09-06 23:01:58 +12:00
  • f50e8313f5 Remove accidental double-semicolon (harmless but odd) Jack Grigg 2016-09-06 13:18:33 +12:00
  • 8f3ec042af Expand bounds on difficulty adjustment Jack Grigg 2016-09-06 13:13:23 +12:00
  • cb708a99a5 Add comments explaining changed semantics of pow_tests Jack Grigg 2016-09-06 11:33:28 +12:00
  • 50aba0ec19 Remove TODO 808. Sean Bowe 2016-09-05 13:03:32 -06:00
  • d7eeb7455b Fix CheckTransaction bugs. Sean Bowe 2016-09-05 12:18:43 -06:00
  • f6b6c9bed8 Update libsnark again. Sean Bowe 2016-09-05 12:00:50 -06:00
  • 333ea3c426 Remove testnet-only difficulty rules Jack Grigg 2016-09-05 23:06:20 +12:00
  • 29842505cc Adjust from average difficulty instead of previous difficulty Jack Grigg 2016-09-05 22:25:11 +12:00
  • b181f7032b Auto merge of #1328 - bitcartel:zc.v0.11.2.latest_1298_rest_interface, r=ebfull zkbot 2016-09-02 03:43:16 +00:00
  • 485ace0a1b Auto merge of #1311 - ebfull:cleanup-pp, r=ebfull zkbot 2016-09-02 03:03:45 +00:00
  • 8962f2a902 Update security-warnings.md about REST interface bitcartel 2016-09-01 11:12:48 -07:00
  • 2640989d9a Auto merge of #1308 - str4d:1181-getmininginfo-testnet-difficulty-rules, r=ebfull zkbot 2016-09-01 18:12:46 +00:00
  • 8a620d507f Auto merge of #1326 - str4d:1185-remove-mainnet-dns-seeds, r=ebfull zkbot 2016-09-01 13:54:52 +00:00
  • a723794f81 Auto merge of #1233 - str4d:1199-note-tracking, r=str4d zkbot 2016-09-01 08:17:07 +00:00
  • 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