Skip to main content

txin_to_input

Function txin_to_input 

Source
pub fn txin_to_input(
    txin: &TxIn<Authorized>,
) -> Result<Input, SerializationError>
Expand description

Convert a librustzcash TxIn<Authorized> into a Zebra transparent::Input.

Coinbase inputs are detected by checking for the null OutPoint.