Compare commits

...

8 Commits

Author SHA1 Message Date
Mark Qvist
e699eb6d25 Updated changelog 2023-09-19 11:27:06 +02:00
Mark Qvist
3864549752 Updated changelog 2023-09-19 11:22:58 +02:00
Mark Qvist
0b934cd0f6 Updated manual 2023-09-19 11:13:30 +02:00
Mark Qvist
5bac38a752 Updated rncp output 2023-09-19 10:14:02 +02:00
Mark Qvist
72c8d4d3dd Updated docs 2023-09-19 10:13:45 +02:00
Mark Qvist
b8c6ea015e Fixed missing attribute check 2023-09-19 10:13:27 +02:00
Mark Qvist
ffe1beb7ae Updated log statement 2023-09-19 10:13:04 +02:00
Mark Qvist
21c6dbfce0 Added check for destination direction on annonuce 2023-09-19 10:11:45 +02:00
8 changed files with 33 additions and 5 deletions

View File

@ -1,3 +1,29 @@
### 2023-09-19: RNS β 0.5.9
This release brings major efficiency improvements to `Channel` and `Buffer` classes, adds a range of usability improvements to the included utilities and fixes a number of bugs.
**Changes**
- Improved `Channel` sequencing, retries and transfer efficiency
- Added adaptive compression to `Buffer` class
- Added `rnid` examples and documentation to manual
- Added silent mode to `rncp`
- Added remote fetch mode to `rncp`
- Added allowed_identities file support to `rncp`
- Added Transport Instance uptime to `rnstatus` output
- Added channel CSMA parameter stats to RNode Interface `rnstatus` output
**Bugfixes**
- Fixed inadverdent AutoInterface multi-IF deque hit for resource transfer retries
- Fixed invalid path for firmware hash generation while using extracted firmware to autoinstall in `rnodeconf`
- Fixed various minor missing error checks
- Fixed `rnid` status output bug
**Release Hashes**
```
670bf8aec55a424001aa9ffc97648edf3db80c85b545aa372ab221fc3db26f1f rns-0.5.9-py3-none-any.whl
7a9ef70b3843dff886bd8d8dcbc7ba4a34f4278d789ceef0b704397d6b6af1f6 rnspure-0.5.9-py3-none-any.whl
```
### 2023-09-14: RNS β 0.5.8
This maintenance release contains a number of usability improvements to Reticulum and related tools.

View File

@ -530,7 +530,7 @@ class Channel(contextlib.AbstractContextManager):
def _update_packet_timeouts(self):
for envelope in self._tx_ring:
updated_timeout = self._get_packet_timeout_time(envelope.tries)
if envelope.packet and envelope.packet.receipt and envelope.packet.receipt.timeout:
if envelope.packet and hasattr(envelope.packet, "receipt") and envelope.packet.receipt and envelope.packet.receipt.timeout:
if updated_timeout > envelope.packet.receipt.timeout:
envelope.packet.receipt.set_timeout(updated_timeout)

View File

@ -181,6 +181,9 @@ class Destination:
"""
if self.type != Destination.SINGLE:
raise TypeError("Only SINGLE destination types can be announced")
if self.direction != Destination.IN:
raise TypeError("Only IN destination types can be announced")
now = time.time()
stale_responses = []

View File

@ -1806,8 +1806,7 @@ class Transport:
file.close()
except Exception as e:
RNS.log("Error writing packet to cache", RNS.LOG_ERROR)
RNS.log("The contained exception was: "+str(e))
RNS.log("Error writing packet to cache. The contained exception was: "+str(e), RNS.LOG_ERROR)
@staticmethod
def get_cached_packet(packet_hash):

View File

@ -58,7 +58,7 @@ def listen(configdir, verbosity = 0, quietness = 0, allowed = [], display_identi
if display_identity:
print("Identity : "+str(identity))
print("Receiving on : "+RNS.prettyhexrep(destination.hash))
print("Listening on : "+RNS.prettyhexrep(destination.hash))
exit(0)
if disable_auth:

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long