mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-16 13:28:11 -07:00
Optimised announces to 151 bytes
This commit is contained in:
+1
-4
@@ -156,10 +156,7 @@ class Destination:
|
||||
|
||||
signature = self.identity.sign(signed_data)
|
||||
|
||||
# TODO: Check if this could be optimised by only
|
||||
# carrying the hash in the destination field, not
|
||||
# also redundantly inside the signed blob as here
|
||||
announce_data = self.hash+self.identity.get_public_key()+random_hash+signature
|
||||
announce_data = self.identity.get_public_key()+random_hash+signature
|
||||
|
||||
if app_data != None:
|
||||
announce_data += app_data
|
||||
|
||||
Reference in New Issue
Block a user