Implement viewing key storage in the wallet

This commit is contained in:
Jack Grigg
2017-03-01 16:10:34 -08:00
parent 49cf707d2c
commit 167cd33374
5 changed files with 157 additions and 0 deletions

View File

@@ -140,6 +140,9 @@ public:
const std::vector<unsigned char>& vchCryptedSecret,
const CKeyMetadata &keyMeta);
bool WriteViewingKey(const libzcash::ViewingKey &vk);
bool EraseViewingKey(const libzcash::ViewingKey &vk);
private:
CWalletDB(const CWalletDB&);
void operator=(const CWalletDB&);