From 9e6a5d5d910e5f6c2d1eec1d3ea9bf0de345b8b8 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Mon, 23 May 2022 00:28:06 +0200 Subject: [PATCH] Fix announce rate targets on I2PInterface peers --- RNS/Interfaces/I2PInterface.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/RNS/Interfaces/I2PInterface.py b/RNS/Interfaces/I2PInterface.py index 85da77d..eaf382a 100644 --- a/RNS/Interfaces/I2PInterface.py +++ b/RNS/Interfaces/I2PInterface.py @@ -212,6 +212,10 @@ class I2PInterfacePeer(Interface): self.mode = RNS.Interfaces.Interface.Interface.MODE_FULL self.bitrate = I2PInterface.BITRATE_GUESS + self.announce_rate_target = None + self.announce_rate_grace = None + self.announce_rate_penalty = None + if max_reconnect_tries == None: self.max_reconnect_tries = I2PInterfacePeer.RECONNECT_MAX_TRIES else: