This commit is contained in:
Youngjoon Lee 2024-05-16 16:05:32 +09:00
parent 3cb7ba1c18
commit e1ef269636
No known key found for this signature in database
GPG Key ID: 09B750B5BD6F08A2
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@ class P2p:
self.env = env
self.config = config
self.nodes = []
# The followings are for an adversary.
# TODO: Move these to a separate class `Adversary`.
self.message_sizes = []
self.senders_around_interval = defaultdict(int)