Laser-wakefield accelerators (LWFA) can produce electric fields of order 10-100 GV/m suitable for acceleration of electrons to relativistic energies. The wakefields are excited by a relativistically intense laser pulse propagating through a plasma and have a phase velocity determined by the group velocity of the light pulse. Two important effects that can limit the acceleration distanceand hence the net energy gain obtained by an electron are diffraction of the drive laser pulse and particle-wake dephasing. Diffraction of a focused ultra-short laser pulse can be overcome by using preformed plasma channels. The dephasing limit can be increased by operating at a lower plasma density, since this results in an increase in the laser group velocity. Here we present detailed results on the generation of GeV-class electron beams using an intense femtosecond laser beamand a 3.3 cm long preformed discharge-based plasma channel [W.P. Leemans et al., Nature Physics 2, 696-699 (2006)]. The use of a discharge-based waveguide permitted operation at an order ofmagnitude lower density and 15 times longer distance than in previous experiments that relied on laser preformed plasma channels. Laser pulses with peak power ranging from 10-50 TW were guided over more than 20 Rayleigh ranges and high-quality electron beams with energy up to 1 GeV were obtained by channelling a 40 TW peak power laser pulse. The dependence of the electron beam characteristics on capillary properties, plasma density, and laser parameters are discussed