Boundary conditions in quantum mechanics on the discretized half-line