|
|
@ -71,6 +71,8 @@ public: |
|
|
|
SaplingNotePlaintext(const SaplingNote& note, std::array<unsigned char, HUSH_MEMO_SIZE> memo); |
|
|
|
|
|
|
|
static boost::optional<SaplingNotePlaintext> decrypt( |
|
|
|
const Consensus::Params& params, |
|
|
|
int height, |
|
|
|
const SaplingEncCiphertext &ciphertext, |
|
|
|
const uint256 &ivk, |
|
|
|
const uint256 &epk, |
|
|
@ -78,6 +80,8 @@ public: |
|
|
|
); |
|
|
|
|
|
|
|
static boost::optional<SaplingNotePlaintext> decrypt( |
|
|
|
const Consensus::Params& params, |
|
|
|
int height, |
|
|
|
const SaplingEncCiphertext &ciphertext, |
|
|
|
const uint256 &epk, |
|
|
|
const uint256 &esk, |
|
|
|