mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-10 10:25:38 -04:00
Optimised resource transfer implementation
This commit is contained in:
parent
bf49eb2475
commit
c595fdd54b
6 changed files with 227 additions and 111 deletions
|
@ -306,6 +306,8 @@ class Transport:
|
|||
return True
|
||||
if packet.context == RNS.Packet.RESOURCE_PRF:
|
||||
return True
|
||||
if packet.context == RNS.Packet.RESOURCE:
|
||||
return True
|
||||
if not packet.packet_hash in Transport.packet_hashlist:
|
||||
return True
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue