mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-22 13:40:19 +00:00
Cleanup
This commit is contained in:
parent
9bc957e442
commit
7f2154110c
@ -901,6 +901,11 @@ class Link:
|
|||||||
resource.req_hashlist.append(packet.packet_hash)
|
resource.req_hashlist.append(packet.packet_hash)
|
||||||
resource.request(plaintext)
|
resource.request(plaintext)
|
||||||
|
|
||||||
|
# TODO: Test and possibly enable this at some point
|
||||||
|
# def request_job():
|
||||||
|
# resource.request(plaintext)
|
||||||
|
# threading.Thread(target=request_job, daemon=True).start()
|
||||||
|
|
||||||
elif packet.context == RNS.Packet.RESOURCE_HMU:
|
elif packet.context == RNS.Packet.RESOURCE_HMU:
|
||||||
plaintext = self.decrypt(packet.data)
|
plaintext = self.decrypt(packet.data)
|
||||||
if plaintext != None:
|
if plaintext != None:
|
||||||
|
@ -1343,8 +1343,10 @@ class Transport:
|
|||||||
new_raw += packet.raw[2:]
|
new_raw += packet.raw[2:]
|
||||||
Transport.transmit(outbound_interface, new_raw)
|
Transport.transmit(outbound_interface, new_raw)
|
||||||
Transport.link_table[packet.destination_hash][0] = time.time()
|
Transport.link_table[packet.destination_hash][0] = time.time()
|
||||||
else:
|
|
||||||
pass
|
# TODO: Test and possibly enable this at some point
|
||||||
|
# Transport.jobs_locked = False
|
||||||
|
# return
|
||||||
|
|
||||||
|
|
||||||
# Announce handling. Handles logic related to incoming
|
# Announce handling. Handles logic related to incoming
|
||||||
|
Loading…
Reference in New Issue
Block a user