Replace tx and pubkey with a single table, currently named txin.