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