pub(crate) fn check_standard_outputs(
transaction: &Transaction,
max_datacarrier_bytes: u32,
) -> Result<(), NonStandardTransactionError>Expand description
Checks that a transaction’s outputs are standard, like the output checks in zcashd’s
IsStandardTx():
https://github.com/zcash/zcash/blob/v6.11.0/src/policy/policy.cpp#L108-L132
The mempool runs this before verification, and again when it stores a transaction.