Skip to main content

read_txin

Function read_txin 

Source
pub fn read_txin<R: Read>(reader: R) -> Result<TxIn<Authorized>>
Expand description

Reads a transparent input: an outpoint, a scriptSig, and a little-endian u32 sequence number.

Returns an error if the reader fails, the input is truncated, or the scriptSig has an invalid length prefix.