Expand description
Module for verifying shielded encrypted notes
Structs§
- Verified
Shielded Encrypted Note - A single shielded note item recovered from a verified
GetShieldedEncryptedNotesproof: the fixed-layout bytes copied out of the storedcmx || nullifier || cv_net || encrypted_notecommitment-tree item.
Constants§
- SHIELDED_
ENCRYPTED_ NOTE_ LEN - On-wire size of the Orchard
TransmittedNoteCiphertextwith Dash’s 36-byte memo:epk(32) + enc_ciphertext(104) + out_ciphertext(80). grovedb’s commitment tree size-locks the stored ciphertext to this length, so every well-formed note item is exactly32 + 32 + 32 + 216 = 312bytes.