[][src]Function bitcoin_spv::btcspv::determine_input_length

pub fn determine_input_length(tx_in: &Vec<u8>) -> u64

Determines the length of an input from its scriptsig: 36 for outpoint, 1 for scriptsig length, 4 for sequence.

Arguments

  • tx_in - The input as a u8 array