Calculates the weight (virtual size) of a single input based on the script type and signing parameters.
The type of script (P2SH, P2WSH, P2SH-P2WSH)
Number of required signers
Total number of signers
The input weight in virtual bytes (vbytes) accounting for witness discount
Calculates the weight (virtual size) of a single input based on the script type and signing parameters.