zebra_consensus::transaction::check

Function joinsplit_has_vpub_zero

source
pub fn joinsplit_has_vpub_zero(tx: &Transaction) -> Result<(), TransactionError>
Expand description

Check if JoinSplits in the transaction have one of its v_{pub} values equal to zero.

https://zips.z.cash/protocol/protocol.pdf#joinsplitdesc