add wrapper for getnamesintrie
-used for verifying db state against lbrycrd
This commit is contained in:
parent
b7df277a5c
commit
04bb7b4919
1 changed files with 5 additions and 0 deletions
|
@ -364,6 +364,11 @@ class LBCDaemon(Daemon):
|
|||
'''Given a name, returns the winning claim value.'''
|
||||
return await self._send_single('getvalueforname', (name,))
|
||||
|
||||
@handles_errors
|
||||
async def getnamesintrie(self):
|
||||
'''Given a name, returns the winning claim value.'''
|
||||
return await self._send_single('getnamesintrie')
|
||||
|
||||
@handles_errors
|
||||
async def claimname(self, name, hexvalue, amount):
|
||||
'''Claim a name, used for functional tests only.'''
|
||||
|
|
Loading…
Reference in a new issue