mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-10 10:38:11 -07:00
Added recovery to local shared interfaces if master RNS instance is restarted
This commit is contained in:
@@ -324,10 +324,6 @@ class Resource:
|
||||
self.request_next()
|
||||
|
||||
def get_map_hash(self, data):
|
||||
# TODO: This will break if running unencrypted,
|
||||
# uncompressed transfers on streams with long blocks
|
||||
# of identical bytes. Doing so would be very silly
|
||||
# anyways but maybe it should be handled gracefully.
|
||||
return RNS.Identity.full_hash(data+self.random_hash)[:Resource.MAPHASH_LEN]
|
||||
|
||||
def advertise(self):
|
||||
|
||||
Reference in New Issue
Block a user