pub fn base_offset(consensus_parameters: &ConsensusParameters) -> usize
Expand description

Gets the base offset for a script or a predicate. The offset depends on the max_inputs field of the ConsensusParameters and the static offset.