zebra_chain::primitives::zcash_note_encryption

Function decrypts_successfully

Source
pub fn decrypts_successfully(
    tx: &Transaction,
    network: &Network,
    height: Height,
) -> bool
Expand description

Returns true if all Sapling or Orchard outputs, if any, decrypt successfully with an all-zeroes outgoing viewing key.