add commente

This commit is contained in:
Youngjoon Lee 2024-05-13 13:34:34 +09:00
parent 07a1c5cb7b
commit b3b3f0bdae
No known key found for this signature in database
GPG Key ID: 09B750B5BD6F08A2

View File

@ -28,6 +28,7 @@ class Node:
"""
while True:
msg = self.create_message()
# TODO: Use cover traffic emission rate
yield self.env.timeout(2)
print("Sending a message at time %d" % self.env.now)
self.env.process(self.p2p.broadcast(msg))