def mkinput(txid, vout):
    """ Create an input record with empty scriptSig, as appropriate for Transaction object. """
    return {'prevout_hash':txid, 'prevout_n':vout, 'sequence':0, 'x_pubkeys': [], 'pubkeys': [], 'address': None, 'type': 'unknown', 'signatures': [], 'num_sig': 0, 'scriptSig': ''}