mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-01-29 10:23:07 +00:00
add commente
This commit is contained in:
parent
07a1c5cb7b
commit
b3b3f0bdae
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user