Functions

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