The interpretation of microlensing results towards the Large Magellanic Cloud (LMC) still remains controversial. While white dwarfs have been proposed to explain these results and, hence, to contribute significantly to the mass budget of our Galaxy, there are also several constraints on the role played by white dwarfs. In this paper we analyze self-consistently and simultaneously four different results, namely, the local halo white dwarf luminosity function, the microlensing results reported by the MACHO team towards the LMC, the results of Hubble Deep Field (HDF) and the results of the EROS experiment, for several initial mass functions and halo ages. We find that the proposed log-normal initial mass functions do not contribute to solve the problem posed by the observed microlensing events and, moreover, they overproduce white dwarfs when compared to the results of the HDF and of the EROS survey. We also find that the contribution of hydrogen-rich white dwarfs to the dynamical mass of the halo of the Galaxy cannot be more than ∼4%.