protocol simulator: moving path append into gossipfuncs