Adds assertions for types in signScriptSig
Renames createInputScript to createPubKeyHashScriptSig