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
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
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