Add crypted keystore sapling add key

This commit is contained in:
Jay Graber
2018-07-03 14:51:27 -07:00
parent 8e91ebf76c
commit 2173767365
7 changed files with 87 additions and 2 deletions

View File

@@ -111,6 +111,9 @@ public:
READWRITE(d);
READWRITE(pk_d);
}
//! Get the 256-bit SHA256d hash of this payment address.
uint256 GetHash() const;
friend inline bool operator==(const SaplingPaymentAddress& a, const SaplingPaymentAddress& b) {
return a.d == b.d && a.pk_d == b.pk_d;