mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-02 14:46:05 -04:00
Optimised announces to 151 bytes
This commit is contained in:
parent
9c995b33dd
commit
db527b6759
4 changed files with 10 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue