Jack Grigg
25d5e80cbe
Rename *SpendingKey -> *SproutSpendingKey
...
Also GetPaymentAddresses -> GetSproutPaymentAddresses
2018-08-03 10:10:26 +01:00
Jack Grigg
f84cf5f817
Formatting nits
2018-08-03 02:25:51 +01:00
Jack Grigg
74f5b010df
Rename Serialized*Size -> SerializedSprout*Size
2018-08-03 01:57:40 +01:00
Jack Grigg
93fcf892d4
Rename SpendingKeyMap -> SproutSpendingKeyMap
2018-08-03 01:47:30 +01:00
Jack Grigg
5175a7f07b
Pass SaplingPaymentAddress to store through the CKeyStore
2018-08-03 01:01:45 +01:00
Jack Grigg
9c9258c4f8
Remove outdated comment
2018-08-03 00:23:08 +01:00
Jack Grigg
4a89221ffc
Check for unencrypted Sapling keys in CCryptoKeyStore::SetCrypted()
2018-08-03 00:23:08 +01:00
Jack Grigg
0adba6789b
Add Sapling decryption check to CCryptoKeyStore::Unlock()
2018-08-03 00:23:08 +01:00
Jack Grigg
e8a949c153
Rename CryptedSpendingKeyMap -> CryptedSproutSpendingKeyMap
2018-08-03 00:23:08 +01:00
Jack Grigg
adf2eadba2
Rename DecryptSpendingKey -> DecryptSproutSpendingKey
2018-08-03 00:23:08 +01:00
Jay Graber
85beb9c9ca
Add Sapling keys to CCryptoKeyStore::EncryptKeys
2018-08-03 00:23:08 +01:00
Jay Graber
55f2889396
Add Sapling have/get sk crypter overrides
2018-08-03 00:23:08 +01:00
Jay Graber
2173767365
Add crypted keystore sapling add key
2018-07-05 15:00:00 -07:00
Jack Grigg
e5eab182b5
Use boost::variant to represent shielded addresses and keys
...
libzcash::PaymentAddress has been renamed to libzcash::SproutPaymentAddress,
and a new typedef boost::variant is now libzcash::PaymentAddress. Similarly
for ViewingKey and SpendingKey.
A new class InvalidEncoding is introduced as the default boost::variant
option for each address and key type; it is used during decoding instead
of boost::optional.
All address and key storage functions in the wallet have been modified to
refer specifically to the Sprout types, as they are used very precisely.
In most other cases, the more general type is leveraged as much as possible,
and we convert to the Sprout type when necessary. This will be subsequently
wrapped in, or replaced with, context-specific functions once Sapling
types are implemented.
2018-05-11 17:14:49 -04:00
Jack Grigg
642a1caf93
ViewingKey -> ReceivingKey per zcash/zips#117
2017-12-04 17:17:18 +00:00
Jack Grigg
1749dd69c7
Fix incorrect locking in CCryptoKeyStore
2016-10-31 19:57:30 -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
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
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
Jack Grigg
6bffc46a87
Implement CSecureDataStream for streaming CKeyingMaterial
2016-09-28 13:44:53 +13: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
Wladimir J. van der Laan
7ff9d122e4
Make sure LogPrintf strings are line-terminated
...
Fix the cases where LogPrint[f] was accidentally called without line
terminator, which resulted in concatenated log lines.
(see e.g. #6492 )
2015-09-22 00:43:11 +00:00
Cory Fields
a354a59f1f
wallet: move crypter to wallet
2015-03-22 15:18:55 -04:00