Particle acceleration in the heliosphere