Function bitcoin::consensus::verify_transaction_with_flags
source · pub fn verify_transaction_with_flags<S, F>(
tx: &Transaction,
spent: S,
flags: F
) -> Result<(), TxVerifyError>where
S: FnMut(&OutPoint) -> Option<TxOut>,
F: Into<u32>,
Expand description
Verifies that this transaction is able to spend its inputs.
The spent
closure should not return the same TxOut
twice!