Refactored traffic accounting

This commit is contained in:
Mark Qvist 2026-11-13 20:18:51 +01:00
parent d5f1e014db
commit 01e7ed8443
No known key found for this signature in database
14 changed files with 14 additions and 35 deletions

View file

@ -663,8 +663,6 @@ class AutoInterfacePeer(Interface):
self.owner.refresh_peer(self.addr)
self.owner.mif_deque.append(data_hash)
self.owner.mif_deque_times.append([data_hash, time.time()])
self.rxb += len(data)
self.owner.rxb += len(data)
self.owner.owner.inbound(data, self)
def process_outgoing(self, data):