forked from LBRYCommunity/lbry-sdk
docstring and todo
This commit is contained in:
parent
1e1d036590
commit
cf8592ba12
1 changed files with 3 additions and 1 deletions
|
@ -1889,7 +1889,7 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
||||||
|
|
||||||
def jsonrpc_search_nametrie(self, p):
|
def jsonrpc_search_nametrie(self, p):
|
||||||
"""
|
"""
|
||||||
Search the nametrie for claims beginning with search (yes, this is a dumb search, it'll be made better)
|
Search the nametrie for claims
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
'search': search query, string
|
'search': search query, string
|
||||||
|
@ -1897,6 +1897,8 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
||||||
List of search results
|
List of search results
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
# TODO: change this function to "search", and use cached stream size info from the search server
|
||||||
|
|
||||||
if 'search' in p.keys():
|
if 'search' in p.keys():
|
||||||
search = p['search']
|
search = p['search']
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue