Implemented resources

This commit is contained in:
Mark Qvist 2018-04-18 23:31:17 +02:00
parent 19d9b1a4a5
commit de8d9cf722
10 changed files with 1891 additions and 183 deletions

View file

@ -201,7 +201,7 @@ class Destination:
# Application specific data can be added to the announce.
def announce(self,app_data=None):
destination_hash = self.hash
random_hash = self.identity.getRandomHash()
random_hash = RNS.Identity.getRandomHash()
signed_data = self.hash+self.identity.getPublicKey()+random_hash
if app_data != None: