Draft: Core: Preventing EventID Overflow Issues
When working with networks consisting of multiple nodes over longer simulation time the Event Counter can overflow, but there is no Code preventing this from happening. This causes the core concepts of the simulator to break, like detecting if an Event is expired or not, and EventIds which are usually reserved for internal purposes, i.e. IDs 0-4, being assigned to new events.
Therefore this merge request implements two things: Firstly an ASSERT Statement which prevents missbehaviour casued by the EventId Overflow. Secondly changing the EventId from uint32_t to uint64_t to allow for longer simulations in networks with more active Nodes.
Edited by Torben Petersen