mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-26 15:30:18 +00:00
Compare commits
5 Commits
fc0cf17c4d
...
c972ef90c8
Author | SHA1 | Date | |
---|---|---|---|
|
c972ef90c8 | ||
|
19a74e3130 | ||
|
5ba789f782 | ||
|
58b5501e17 | ||
|
b584832b8f |
16
Changelog.md
16
Changelog.md
@ -1,3 +1,19 @@
|
|||||||
|
### 2023-11-06: RNS β 0.6.7
|
||||||
|
|
||||||
|
This maintenance release improves tranport performance and fixes a logging bug.
|
||||||
|
|
||||||
|
**Changes**
|
||||||
|
- Improved local and remote transport performance by approximately 6x on faster links
|
||||||
|
|
||||||
|
**Bugfixes**
|
||||||
|
- Fixed logging an error message when local clients connect while shared instance is still starting up
|
||||||
|
|
||||||
|
**Release Hashes**
|
||||||
|
```
|
||||||
|
c37dd1f59e037841f69ec518deecdae6719f978947de2473f04e7d95247805ac rns-0.6.7-py3-none-any.whl
|
||||||
|
1e2dcb44ec7271a4d26180db138fc54dce6d0d3cf3f816432d4d6a4b1cf83868 rnspure-0.6.7-py3-none-any.whl
|
||||||
|
```
|
||||||
|
|
||||||
### 2023-11-04: RNS β 0.6.6
|
### 2023-11-04: RNS β 0.6.6
|
||||||
|
|
||||||
This maintenance release improves transfers over unreliable links and fixes a bug in requests.
|
This maintenance release improves transfers over unreliable links and fixes a bug in requests.
|
||||||
|
@ -272,7 +272,8 @@ class LocalClientInterface(Interface):
|
|||||||
RNS.Transport.local_client_interfaces.remove(self)
|
RNS.Transport.local_client_interfaces.remove(self)
|
||||||
if hasattr(self, "parent_interface") and self.parent_interface != None:
|
if hasattr(self, "parent_interface") and self.parent_interface != None:
|
||||||
self.parent_interface.clients -= 1
|
self.parent_interface.clients -= 1
|
||||||
RNS.Transport.owner._should_persist_data()
|
if hasattr(RNS.Transport, "owner") and RNS.Transport.owner != None:
|
||||||
|
RNS.Transport.owner._should_persist_data()
|
||||||
|
|
||||||
if nowarning == False:
|
if nowarning == False:
|
||||||
RNS.log("The interface "+str(self)+" experienced an unrecoverable error and is being torn down. Restart Reticulum to attempt to open this interface again.", RNS.LOG_ERROR)
|
RNS.log("The interface "+str(self)+" experienced an unrecoverable error and is being torn down. Restart Reticulum to attempt to open this interface again.", RNS.LOG_ERROR)
|
||||||
|
@ -168,10 +168,7 @@ class Resource:
|
|||||||
resource.hashmap = [None] * resource.total_parts
|
resource.hashmap = [None] * resource.total_parts
|
||||||
resource.hashmap_height = 0
|
resource.hashmap_height = 0
|
||||||
resource.waiting_for_hmu = False
|
resource.waiting_for_hmu = False
|
||||||
|
|
||||||
resource.receiving_part = False
|
resource.receiving_part = False
|
||||||
|
|
||||||
# TODO: Recheck
|
|
||||||
resource.consecutive_completed_height = -1
|
resource.consecutive_completed_height = -1
|
||||||
|
|
||||||
if not resource.link.has_incoming_resource(resource):
|
if not resource.link.has_incoming_resource(resource):
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -140,7 +140,7 @@ class TestLink(unittest.TestCase):
|
|||||||
pstart = time.time()
|
pstart = time.time()
|
||||||
print("Sending "+str(num_packets)+" link packets of "+str(packet_size)+" bytes...")
|
print("Sending "+str(num_packets)+" link packets of "+str(packet_size)+" bytes...")
|
||||||
for i in range(0, num_packets):
|
for i in range(0, num_packets):
|
||||||
time.sleep(0.001)
|
time.sleep(0.003)
|
||||||
b += packet_size
|
b += packet_size
|
||||||
data = os.urandom(packet_size)
|
data = os.urandom(packet_size)
|
||||||
start = time.time()
|
start = time.time()
|
||||||
|
Loading…
Reference in New Issue
Block a user