Based on the matrix-resolvent approach, for an arbitrary solution to the discrete KdV hierarchy, we define the tau-function of the solution, and compare it with another tau-function of the solution defined via reduction of the Toda lattice hierarchy. Explicit formulae for generating series of logarithmic derivatives of the tau-functions are obtained, and applications to enumeration of ribbon graphs with even valencies and to certain special cubic Hodge integrals are considered.