Transient phenomena in the distant solar wind and in the heliosheath