Introduce wrappers around CZCViewingKey
This commit is contained in:
@@ -182,6 +182,9 @@ bool IsValidDestinationString(const std::string& str, const CChainParams& params
|
||||
std::string EncodePaymentAddress(const libzcash::PaymentAddress& zaddr);
|
||||
boost::optional<libzcash::PaymentAddress> DecodePaymentAddress(const std::string& str);
|
||||
|
||||
std::string EncodeViewingKey(const libzcash::ViewingKey& vk);
|
||||
boost::optional<libzcash::ViewingKey> DecodeViewingKey(const std::string& str);
|
||||
|
||||
std::string EncodeSpendingKey(const libzcash::SpendingKey& zkey);
|
||||
boost::optional<libzcash::SpendingKey> DecodeSpendingKey(const std::string& str);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user