|
|
@ -88,4 +88,13 @@ public: |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/** Check whether a PaymentAddress is not an InvalidEncoding. */ |
|
|
|
bool IsValidPaymentAddress(const libzcash::PaymentAddress& zaddr); |
|
|
|
|
|
|
|
/** Check whether a ViewingKey is not an InvalidEncoding. */ |
|
|
|
bool IsValidViewingKey(const libzcash::ViewingKey& vk); |
|
|
|
|
|
|
|
/** Check whether a SpendingKey is not an InvalidEncoding. */ |
|
|
|
bool IsValidSpendingKey(const libzcash::SpendingKey& zkey); |
|
|
|
|
|
|
|
#endif // ZC_ADDRESS_H_
|
|
|
|