Function zebra_consensus::transaction::check::has_enough_orchard_flags
source · pub fn has_enough_orchard_flags(
tx: &Transaction,
) -> Result<(), TransactionError>
Expand description
Checks that the transaction has enough orchard flags.
§Consensus
For Transaction::V5
only:
[NU5 onward] If effectiveVersion >= 5 and nActionsOrchard > 0, then at least one of enableSpendsOrchard and enableOutputsOrchard MUST be 1.