Jack Grigg
6e263a5fd3
Address review comments
2016-10-16 16:26:51 -05:00
Jack Grigg
a581fe2aae
Only ignore runtime errors caused by failed note decryption
2016-10-14 17:16:09 -05:00
Jack Grigg
ddea44a27e
Update comments
2016-10-14 17:16:09 -05:00
Jack Grigg
1a62587e9a
Delay caching of nullifiers when wallet is locked
...
Closes #1502
2016-10-14 17:16:09 -05:00
Jack Grigg
fb2653ed0e
Add unit test that fails when calling FindMyNotes on a locked wallet
2016-10-14 17:14:13 -05:00
zkbot
cc10005247
Auto merge of #1486 - str4d:1456-writewitnesscache-exception-safety, r=bitcartel
...
WriteWitnessCache: Catch errors and abort transaction
Closes #1452
2016-10-14 17:37:53 -04:00
zkbot
27bc01a05b
Auto merge of #1523 - bitcartel:master_1504_z_logging, r=bitcartel
...
Refine LogPrint debugging for z_* rpc calls
For #1504 ZCA011
2016-10-14 11:11:26 -04:00
Jack Grigg
6da46b692a
Refactor test to clarify expectations
2016-10-14 09:31:26 -05:00
zkbot
bb25bd4bc1
Auto merge of #1533 - bitcartel:master_1447_document_getfilterednotes, r=bitcartel
...
Document CWallet::GetFilteredNotes
Also fixes return type of method which should be void.
Part of #1447
2016-10-13 20:25:19 -04:00
Simon
cb0d208f6b
Document CWallet::GetFilteredNotes and fix return type which should be
...
void.
2016-10-13 17:01:54 -07:00
zkbot
2b29970e28
Auto merge of #1531 - str4d:1447-document-findmynotes, r=bitcartel
...
Document CWalletTx::FindMyNotes
Part of #1447
2016-10-13 19:51:06 -04:00
Jack Grigg
e492d98632
Document CWalletTx::FindMyNotes
...
Part of #1447
2016-10-13 18:27:58 -05:00
Simon
438d1e45be
Use -debug=zrpc for z_* rpc calls ( #1504 )
2016-10-12 15:46:24 -07:00
Simon
49e591eb89
Fix incorrect check of number of parameters for z_getnewaddress.
2016-10-12 10:14:32 -07:00
Simon
950f8ffdb6
Fixes #1491 by updating help message for rpc call z_importkey
2016-10-11 16:52:38 -07:00
Jack Grigg
82c2d97c60
Add unit tests for WriteWitnessCache
...
Requires moving implementation into header
2016-10-11 09:33:47 -05:00
zkbot
7dc49cbc6a
Auto merge of #1490 - str4d:1454-deprecate-accounts, r=bitcartel
...
Throw an RPC error for all accounts except the default
Closes #1454
2016-10-10 23:55:02 -04:00
zkbot
4210e20c9c
Auto merge of #1501 - ebfull:100kb-max-tx, r=ebfull
...
Make 100KB transaction size limit a consensus rule, rather than a standard rule
Closes #1475
2016-10-10 15:39:42 -04:00
Jack Grigg
715e5bbefd
Correct docstring
2016-10-10 10:47:38 -05:00
Jack Grigg
7b3351ff0e
Deprecated -> Unsupported in RPC error
2016-10-10 10:47:36 -05:00
Sean Bowe
74f15a73a1
Make 100KB transaction size limit a consensus rule, rather than a standard rule.
2016-10-08 00:00:23 -06:00
Simon
f7cfb52d3c
Add vjoinsplit to JSON output of RPC call gettransaction
2016-10-06 19:53:46 -07:00
Jack Grigg
3c31eb24d3
Throw an RPC error for all accounts except the default
2016-10-05 15:16:47 -05:00
Jack Grigg
6216b4b2dc
WriteWitnessCache: Catch errors and abort transaction
...
Closes #1456
2016-10-05 09:49:43 -05:00
zkbot
4cfbe798bf
Auto merge of #1429 - str4d:867-update-dependencies, r=str4d
...
Update all dependencies
Also re-enables disabled compiler warnings.
Closes #867 , #944 , #1241 , #1255 , #1348 .
2016-10-04 03:48:42 -04:00
zkbot
4f49d32a28
Auto merge of #1427 - bitcartel:master_1345_getbalance, r=bitcartel
...
Fixes #1345 so that RPC getbalance star calculates balance of UTXOs correctly.
2016-10-04 01:20:12 -04:00
Simon
86cf60b5c8
Fixes #1345 so that UTXO debit and credits are computed correctly for a transaction.
2016-10-03 11:06:43 -07:00
zkbot
d5dce9342b
Auto merge of #1444 - str4d:1394-reindex-clear-witness-caches, r=str4d
...
Clear note witness caches on reindexing
This PR also fixes a test that was passing arguments in the wrong order.
Closes #1394
2016-09-30 02:30:01 -04:00
Simon
82bd9ee81b
Fix comment and formatting per review
2016-09-29 22:07:38 -07:00
Simon
2aa9c0253a
Update to use new API in CCryptoKeyStore and store a viewing key in walletdb.
2016-09-29 20:17:30 -07:00
Simon
73699ceaf6
Add support for spending keys to the encrypted wallet.
2016-09-29 20:17:30 -07:00
Jack Grigg
40600f5089
Simplify ClearNoteWitnessCache()
2016-09-30 15:00:16 +13:00
zkbot
07e425ac1c
Auto merge of #1372 - str4d:1199-spending-key-wallet-encryption, r=str4d
...
Encrypt spending keys in the wallet
This is a continuation of #1210 .
2016-09-29 19:42:30 -04:00
zkbot
42941c9fd4
Auto merge of #1445 - bitcartel:master_fix_filtered_notes, r=str4d
...
Fix casting error in GetFilteredNotes
Use int for minDepth like upstream instead of size_t which can lead to casting problems if a wallet tx has a depth of -1.
Also don't use FindMyNotes as mapNoteData has already been set on wallet tx.
@str4d As dicussed. This should be merged before other PRs related to wallet.
2016-09-29 05:33:11 -04:00
Jack Grigg
017abaf694
Assert that new OpenSSL allocators succeed
2016-09-29 17:58:29 +13:00
Jack Grigg
fa318aa9fe
Upgrade OpenSSL to 1.1.0b
...
Closes #1348
2016-09-29 12:34:09 +13:00
Jack Grigg
2d6d5fb311
Upgrade Boost to 1.62.0
...
Part of #944
Closes #1241
2016-09-29 12:06:48 +13:00
Jack Grigg
ef3a6a97ae
Use correct lock for spending keys
2016-09-29 11:35:18 +13:00
Jack Grigg
ad041fceec
Cache note decryptors in encrypted keystore
2016-09-29 11:34:59 +13:00
Simon
eaccc007c9
Update test to filter and find notes.
2016-09-27 22:43:13 -07:00
Jack Grigg
6bffc46a87
Implement CSecureDataStream for streaming CKeyingMaterial
2016-09-28 13:44:53 +13:00
Jack Grigg
56fb1bb8e4
Write note witness cache atomically to disk to avoid corruption
...
Closes #1378
2016-09-28 11:51:42 +13:00
Simon
dec49d1f82
Fix GetFilteredNotes to use int for minDepth like upstream and avoid casting problems. Don't use FindMyNotes as mapNoteData has already been set on wallet tx.
2016-09-27 11:14:49 -07:00
Jack Grigg
76b226586e
Add wallet method to clear the note witness cache
2016-09-27 14:55:05 +13:00
Jack Grigg
e81c2de753
Fix test
2016-09-27 14:55:05 +13:00
Jack Grigg
9e52ca3205
Measure multithreaded solveequihash time per-thread
2016-09-13 16:12:07 +12:00
Jack Grigg
3a15b1637e
Move serialized Zcash address length constants into zcash/Address.hpp
2016-09-13 14:21:49 +12:00
Jack Grigg
16d140f4a2
Add support for encrypting spending keys
2016-09-13 14:21:49 +12:00
Simon
b11bb0e26a
Replace GetTxid() with GetHash()
2016-09-08 21:54:34 -07:00
Simon
6114cfe767
Improve check that user supplied memo field is too long.
2016-09-08 21:46:15 -07:00