code: def p2pkh_input(outpoint, sig, pubkey, sequence=0xFFFFFFFE):
      '''
      OutPoint, hex_string, hex_string, int -> TxIn
      Create a signed legacy TxIn from a p2pkh prevout
      '''
      stack_script = '{sig} {pk}'.format(sig=sig, pk=pubkey)
      stack_script = script_ser.serialize(stack_script)
      return tb.make_legacy_input(outpoint, stack_script, b'', sequencef p2pkh_input(outpoint, sig, pubkey, sequence=0xFFFFFFFE):
      '''
      OutPoint, hex_string, hex_string, int -> TxIn
      Create a signed legacy TxIn from a p2pkh prevout
      '''
      stack_script = '{sig} {pk}'.format(sig=sig, pk=pubkey)
      stack_script = script_ser.serialize(stack_script)
      return tb.make_legacy_input(outpoint, stack_script, b'', sequence)
docs: OutPoint, hex_string, hex_string, int -> TxIn
      Create a signed legacy TxIn from a p2pkh prevout