Example #1
0
 def make_stream_hash():
     hashsum = get_lbry_hash_obj()
     hashsum.update(binascii.hexlify(self.name))
     hashsum.update(get_pub_key(self.secret_pass_phrase))
     hashsum.update(binascii.hexlify(self.key))
     self.stream_hash = hashsum.hexdigest()
     return self.stream_hash
Example #2
0
 def make_stream_hash():
     hashsum = get_lbry_hash_obj()
     hashsum.update(binascii.hexlify(self.name))
     hashsum.update(get_pub_key(self.secret_pass_phrase))
     hashsum.update(binascii.hexlify(self.key))
     self.stream_hash = hashsum.hexdigest()
     return self.stream_hash
Example #3
0
 def _save_stream(self):
     d = self.stream_info_manager.save_stream(
         self.stream_hash, get_pub_key(self.secret_pass_phrase),
         binascii.hexlify(self.name), binascii.hexlify(self.key), [])
     return d
Example #4
0
 def _save_stream(self):
     d = self.stream_info_manager.save_stream(self.stream_hash, get_pub_key(self.secret_pass_phrase),
                                              binascii.hexlify(self.name), binascii.hexlify(self.key),
                                              [])
     return d