Fix bug of generating next event

NOTE: Only peer-join event can generatge next
      peer-join event for another peers.
Modify config file for testing more peers