Add support for encrypting spending keys

This commit is contained in:
Jack Grigg
2016-08-10 17:47:13 +12:00
parent 80259d4b4f
commit 16d140f4a2
6 changed files with 203 additions and 2 deletions

View File

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