| 65 | } |
| 66 | |
| 67 | void |
| 68 | ComputeEntrySchnorr(uint256& entry, const uint256 &hash, Span<const unsigned char> sig, const XOnlyPubKey& pubkey) const |
| 69 | { |
| 70 | CSHA256 hasher = m_salted_hasher_schnorr; |
| 71 | hasher.Write(hash.begin(), 32).Write(pubkey.data(), pubkey.size()).Write(sig.data(), sig.size()).Finalize(entry.begin()); |
| 72 | } |
| 73 | |
| 74 | // ELEMENTS: |
| 75 | void ComputeEntryRangeProof(uint256& entry, const std::vector<unsigned char>& proof, const std::vector<unsigned char>& commitment) { |